.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AutoCAD MEP: How to set a property definition display order

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Keith.Brown
748 Views, 2 Replies

AutoCAD MEP: How to set a property definition display order

I am programmatically creating several property defintions inside of a property set definition.  I would like to be able to set the display order of the property definitions but the property is read only.  Has someone been able to accomplish this using the API?

2 REPLIES 2
Message 2 of 3
Keith.Brown
in reply to: Keith.Brown

I figured out how to do it.

 

After creating the property defintion you can set the order using something like this.

 

propertySetDefinition.SetDisplayOrder(formulaPropertyDefinition, 3);

 

i was trying to set the order using the property definition instead of the property set definition.

Message 3 of 3
timshepherd
in reply to: Keith.Brown

Keith,

 

Many thanks!

I too was looking for the solution in the PropertyDefinition object.

 

Spot on.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost