protected memebers of parameter class

protected memebers of parameter class

OR_AND_NO
Advocate Advocate
452 Views
3 Replies
Message 1 of 4

protected memebers of parameter class

OR_AND_NO
Advocate
Advocate

Dear Sir,

 

Could You please tell me does exist the safe way to change for example IsReadOnly property of START_EXTENSION (parameter.Id = -1152357) builtin parameter of an beam element using RevitAPI and IL code.

0 Likes
453 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk

Dear Or and no,

 

No, I am not aware of any such possibility.

 

There is a reason why it is read-only.

 

Presumably it is rendering a specific aspect of the 'view' of the parametric BIM model and driven by other factors.

 

Therefore it cannot be changed.

 

Attempting to change it would be in conflict with the other paramerters that really are driving the model.

 

I hope this clarifies.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 4

OR_AND_NO
Advocate
Advocate

Thanks!

0 Likes
Message 4 of 4

OR_AND_NO
Advocate
Advocate

When i did try revit 2015 i found that IsReadOnly property in START_EXTENSION parameter of a beam shows existing or not a constructional link between this beam start and another beam body.

It is possible to change IsReadOnly property on view by mouse, therefore i assume that it is a safe operation in UI mode, also i assume that possibility to make same operation in API mode is safe too.   

0 Likes