Property | Type | Description | |
---|---|---|---|
m_constraints | List |
||
m_parameters | List |
||
m_rebarshapeDefinition | RebarShapeDefinition |
Method | Description | |
---|---|---|
AddConstraint ( |
Add a constraint to RebarShapeDefinition.
|
|
AddParameter ( |
Add a parameter to RebarShapeDefinition.
|
|
AllParameterTypes ( ) : List |
Return all the parameter types supported by RebarShape definition.
|
|
AllowedConstraintTypes ( ) : List |
Return all the constraint types supported by RebarShapeDefinition.
|
|
Commit ( System.Windows.Forms.Document rvtDoc, DefinitionGroup defGroup ) : void |
Submit RebarShapeDefinition. All the parameters and constraints will be added to RebarShape. The RebarShape will be added to Revit document after successfully submitted.
|
|
RebarShapeDef ( RebarShapeDefinition shapeDef ) : System |
Constructor, initialize the fields.
|
public AddConstraint ( |
||
constraintType | Type of constraint /// (the class must be subclass of ConstraintOnRebarShape). | |
return |
public AddParameter ( |
||
parameterType | Parameter type: /// (type of RebarShapeParameterDouble or type of RebarShapeParameterFormula) | |
name | object | Parameter name |
value | object | Parameter value (double value or formula string) |
return |
public Commit ( System.Windows.Forms.Document rvtDoc, DefinitionGroup defGroup ) : void | ||
rvtDoc | System.Windows.Forms.Document | |
defGroup | DefinitionGroup | Parameter definition group |
return | void |
public RebarShapeDef ( RebarShapeDefinition shapeDef ) : System | ||
shapeDef | RebarShapeDefinition | RebarShapeDefinition object to be wrapped |
return | System |