Good day! I try to change my familyinstance level in model by
myFam.get_Parameter(BuiltInParameter.FAMILY_LEVEL_PARAM).Set(level)
But have error "The parameter is read-only". The family made of "Generic Model line based.rft" template. I don't see any other appropriate built-in parameter. Is there way to change level on element?
Solved! Go to Solution.
Good day! I try to change my familyinstance level in model by
myFam.get_Parameter(BuiltInParameter.FAMILY_LEVEL_PARAM).Set(level)
But have error "The parameter is read-only". The family made of "Generic Model line based.rft" template. I don't see any other appropriate built-in parameter. Is there way to change level on element?
Solved! Go to Solution.
Solved by jeremy_tammik. Go to Solution.
No, mostly not. In many situations, the element level can only be set when the element is being created. In that case, the API does not provide any method to change it afterwards:
Sorry about that.
No, mostly not. In many situations, the element level can only be set when the element is being created. In that case, the API does not provide any method to change it afterwards:
Sorry about that.
Thanks for clarifying. It is a pity that there is no way to change the level.
Thanks for clarifying. It is a pity that there is no way to change the level.
Can't find what you're looking for? Ask the community or share your knowledge.