Accessing Duct Fitting Dimension Properties

Accessing Duct Fitting Dimension Properties

mhillis
Advocate Advocate
788 Views
1 Reply
Message 1 of 2

Accessing Duct Fitting Dimension Properties

mhillis
Advocate
Advocate

Hello all,

 

Basic question here: Can I access the "Dimensions" portion of the Properties Palette on a Duct Fitting via the .NET API?  If so, what class is that information stored in?

 

I've scoured around the Entity/Duct Fitting classes with no real avail finding anything.

 

Thanks!

 

 

0 Likes
Accepted solutions (1)
789 Views
1 Reply
Reply (1)
Message 2 of 2

mhillis
Advocate
Advocate
Accepted solution

I  believe I've got this figured out now.

 

Since this object is an MvPart, I can access the information I need via the DataRecord of the object by using the PartManager.GetPartData routines and going through the DataFields there.

 

I was able to dig this up while doing research and stumbling upon @Keith.Brown 's posts in this thread - http://forums.autodesk.com/t5/autocad-mep-forum/property-set-definition/td-p/538171

 

A small snippet for anyone who might be reading -

 

Dim partData as DataRecord = PartManager.GetPartData(member)

Dim field as DataField = partData.FindByName(nameOfField, False)

Dim value as Double = field.ValueDouble
0 Likes