Message 1 of 3
Property is read-only,how to change it using any method?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
As shown in the screenshot, the bottom elevation property of a vertical conduit. Now I want to change it, but this property is read-only, and I know that its value can be conduit.get_Parameter by method (BuiltInParameter.RBS_CTC_BOTTOM_ELEVATION). AsDouble(). Can anyone tell me how this read-only property can be re-assigned and set using the reflection method? thanks.
Conduit conduit = conduits.Last();
Parameter parameter = conduit.get_Parameter(BuiltInParameter.RBS_CTC_BOTTOM_ELEVATION);
double bottom_elevation= parameter.AsDouble();