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

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

Anonymous
Not applicable
263 Views
0 Replies
Message 1 of 1

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

Anonymous
Not applicable

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;

0 Likes
264 Views
0 Replies
Replies (0)