Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Set UserModifiable

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
melanie.ernst
359 Views, 2 Replies

Set UserModifiable

Hello all!

 

I am creating a plugin for Revit via the Revit API where I am creating parameters. Type as well as instance parameters.

Now I want to set the UserModifiable property of those parameters to false, however, I did not manage to do this.

 

Is it even possible to change this property?  If so, how?

 

Thanks in advance!

2 REPLIES 2
Message 2 of 3

Akaik, this property can only be defined when creating the new parameter binding, via the ExternalDefinitionCreationOptions UserModifiable property:

  

https://www.revitapidocs.com/2023/a4063402-872a-294c-184c-f445c195b91d.htm

   

Search for further information on it in these articles:

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 3
RvdScheur
in reply to: jeremy_tammik

@jeremy_tammik @melanie.ernst 

 

I'm running into an issue on project parameter level where re-adding a parameter with a different UserModifiable value, doesn't get a correct result in Revit.

 

For anyone looking for a similar issue like mine:
https://forums.autodesk.com/t5/revit-api-forum/bug-familymanager-replaceparameter-usermodifiable-not...

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

Post to forums  

Forma Design Contest


Rail Community