Message 1 of 1
DepthParamId of multi planar rebar does not work (Revit 2016)

Not applicable
12-25-2015
08:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to create a multi-planar rebar from API, all other parameters are working fine, but the depth between the two rebar planes. No matter what value I set from code, the depth seems to be a fixed value. Is there anyting wrong? Thank you very much!
shapedef.AddParameter(MM, parameters[3]); // depth in foot
// Define multi-planar definition
RebarShapeMultiplanarDefinition multiPlanarDef = new RebarShapeMultiplanarDefinition(0.05);
multiPlanarDef.DepthParamId = MM;