API for User Defined Custom Properties of 2D Line

I have a sketched line in draft. I can right click on this and click Properties. On the Element Properties window there is a tab called User, which is a chart of Name and Value where I can enter user-defined data.

 

Does anyone know how to read values from there via the API?

 

Thank you.

Carl Breving

S&C Electric Company

 

Posted by: Carl Breving
Post date: 3/21/2012 2:14:59 PM

1 REPLY

Re: API for User Defined Custom Properties of 2D Line

Carl,

 

you may access those name/value pairs via the AttributeSets collection of the Line2d object.

 

Posted by: Wolfgang Kunert
Post date: 3/21/2012 2:34:59 PM