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!
Solved! Go to Solution.
Solved by jeremy_tammik. Go to Solution.
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:
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.