Custom attributes

Custom attributes

prakash.muthu
Advocate Advocate
437 Views
2 Replies
Message 1 of 3

Custom attributes

prakash.muthu
Advocate
Advocate

Hi,

 

Looking for an API in C# to add some custom text attributes or property to Revit document. This should have ability to add, modify and delete custom attribute using Revit API.

0 Likes
438 Views
2 Replies
Replies (2)
Message 2 of 3

Mohamed_Arshad
Advisor
Advisor

Hi @prakash.muthu 

 

    You can refer to the below link, which has a step-by-step implementation of Attributes Creation using Revit API.

 

URL: https://spiderinnet.typepad.com/blog/2011/05/parameter-of-revit-api-31-create-project-parameter.html 

 

Hope this will helps 🙂


Mohamed Arshad K
Software Developer (CAD & BIM)

Message 3 of 3

jeremy_tammik
Alumni
Alumni

You can achieve this using shared parameters. They can optionally be made visible and editable by the user in the UI as well. Another option is to implement extensible storage data. In that case, the user has no access or UI to see or edit, and only the add-in can access and modify data:

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open