.NET

Reply
*Expert Elite*
Keith.Brown
Posts: 1,074
Registered: ‎03-13-2008
Message 1 of 2 (229 Views)
Accepted Solution

AutoCAD MEP: How to set a property definition display order

229 Views, 1 Replies
11-13-2013 10:10 AM

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?


Keith Brown AutoCAD MEP BLOG | RSS Feed
AutoCAD MEP 2014 | Revit 2014 | EastCoast CAD/CAM V6.1 | Visual Studio 2013
────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate. Thank you!
*Expert Elite*
Keith.Brown
Posts: 1,074
Registered: ‎03-13-2008
Message 2 of 2 (219 Views)

Re: AutoCAD MEP: How to set a property definition display order

11-13-2013 11:30 AM 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.


Keith Brown AutoCAD MEP BLOG | RSS Feed
AutoCAD MEP 2014 | Revit 2014 | EastCoast CAD/CAM V6.1 | Visual Studio 2013
────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate. Thank you!

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community