2021 Members
Changes 4
M

RebarShapeDefinitionBySegments

Name Return Type Description Inherited From
M AddBendDefaultRadius(Int32, RebarShapeVertexTurn, RebarShapeBendAngle) None Specify a default-radius bend.
M AddBendVariableRadius(Int32, RebarShapeVertexTurn, RebarShapeBendAngle, ElementId, Boolean) None Specify a variable-radius bend.
M AddConstraintParallelToSegment(Int32, ElementId, Boolean, Boolean) None Constrain the length of a segment by parameterizing its length.
M AddConstraintToSegment(Int32, ElementId, Double, Double, Int32, Boolean, Boolean) None Add a constraint that helps determine the length of a segment.
M AddFormulaParameter(ElementId, String) None Add a formula-driven parameter to the shape definition. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M AddListeningDimensionBendToBend(ElementId, Double, Double, Int32, Int32, Int32, Int32) None Specify a dimension between two bends, measured by a read-only parameter.
M AddListeningDimensionSegmentToBend(ElementId, Double, Double, Int32, Int32, Int32) None Specify a dimension perpendicular to one fixed-direction segment, referring to that segment and some other bend in the shape, measured by a read-only parameter.
M AddListeningDimensionSegmentToSegment(ElementId, Double, Double, Int32, Int32) None Specify a dimension perpendicular to two fixed-direction segments, measured by a read-only parameter.
M AddParameter(ElementId, Double) None Add a parameter to the shape definition. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M CheckDefaultParameterValues(Double, Double) bool Check that the shape can be solved with the default parameter values. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M Dispose() None (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M Equals None (Inherited from Object .) Object .
M GetHashCode None (Inherited from Object .) Object .
M GetParameterDefaultValue(ElementId) The parameter value. Return the parameter's default value as stored in the definition. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M GetParameterFormula(ElementId) string Return the parameter's formula, if one is associated with it. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M GetParameters() IList<ElementId> Return the Ids of the shared parameters in the Definition. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M GetSegment(Int32) The requested segment. Return a reference to one of the segments in the definition.
M GetType None (Inherited from Object .) Object .
M GetVertex(Int32) The requested vertex. Return a reference to one of the vertices in the definition.
M HasParameter(ElementId) bool Whether the definition stores the parameter. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M RemoveParameter(ElementId) None Remove the parameter from the definition. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M RemoveParameterFromSegment(Int32, ElementId) None Remove constraints from a segment.
M SetParameterDefaultValue(ElementId, Double) None Change the parameter's value as stored in the definition. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M SetParameterFormula(ElementId, String) None Associate a formula with the parameter. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
M SetSegmentAs180DegreeBend(Int32) None Indicates that a segment is a "virtual" segment introduced to describe a 180-degree bend. The radius of the bend will be taken from the Bar Type.
M SetSegmentAs180DegreeBend(Int32, ElementId, Boolean) None Indicate that a segment is a "virtual" segment introduced to describe a 180-degree bend. The radius of the bend will be driven by radiusParam.
M SetSegmentFixedDirection(Int32, Double, Double) None Fix the direction of a segment.
M SetSegmentVariableDirection(Int32) None Remove the fixed direction from a segment.
M ToString None (Inherited from Object .) Object .
Name Return Type Description Inherited From
P Complete bool Report whether the shape definition is fully constrained. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
P IsPlanar bool Reports whether the shape definition lies within a plane: false if a spiral, true in all other cases. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. (Inherited from RebarShapeDefinition .) RebarShapeDefinition
P MajorSegmentIndex int Index of a segment that can be considered the most important. Revit attempts to preserve the orientation of this segment when a Rebar instance changes its RebarShape to one with a different number of segments.
P NumberOfSegments int The number of straight segments in this shape.
P NumberOfVertices int The number of vertices in this shape, always equal to NumberOfSegments + 1.