.NET

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

AutoCAD MEP: How to set a property definition display order

163 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
*Expert Elite*
Keith.Brown
Posts: 947
Registered: ‎03-13-2008
Message 2 of 2 (153 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

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
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

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

Ask the Community