RebarShapeDefinitionBySegments.RemoveParameterFromSegment
Description:
Remove constraints from a segment.
Remove constraints from a segment.
Remarks:
This reverses the effect of any AddConstraint and SetSegmentAs180DegreeBend operations involving the specified segment and parameter.
This reverses the effect of any AddConstraint and SetSegmentAs180DegreeBend operations involving the specified segment and parameter.
public void RemoveParameterFromSegment(
int iSegment,
ElementId paramId
)
-
Int32iSegmentIndex of the segment (0 to NumberOfSegments - 1).
-
paramIdId of a parameter driving one or more constraints.
-
iSegment is not between 0 and NumberOfSegments. -or- paramId is not the id of a shared parameter in the current document, or its unit type is not Reinforcement_Length, Angle or Number.
-
A non-optional argument was null