2020 Members
Changes 7
M

RebarFreeFormAccessor

Name Return Type Description Inherited From
M AddUpdatingSharedParameter(ElementId) None Add existing shared parameter as a dependency for the calculation of the rebar curves.
M CanBeHookNormal(Int32, Int32, XYZ) bool A vector can be hook normal if for a bar specified by index, the bar direction is not parallel with the vector.
M DisconnectFromServer() None Sets the GUID of the API server to invalid value and removes all the server related data from the Rebar (ex. the current constraints and the handle tags are removed). Calling this method will result in a Rebar that will not react to host changes anymore, however it will still have all the properties that it used to have.
M Dispose() None Releases all resources used by the RebarFreeFormAccessor
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object
M GetCouplerIdAtIndex(Int32, Int32) ElementId Gets the id of the Rebar Coupler that is applied to the bar with index barPositionIndex at the specified end.
M GetCustomDistributionPath() IList<Curve> Gets the custom distribution path for free form rebar set.
M GetEndTreatmentTypeIdAtIndex(Int32, Int32) ElementId Gets the id of the EndTreatmentType that is applied to the bar with index barPositionIndex at the specified end.
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object
M GetHookOrientationAngle(Int32) double Get the hook orientation angle at end.
M GetHookOrientationAngleAtIndex(Int32, Int32) double Gets the hook orientation angle that is applied to this Rebar at the bar with index barPositionIndex at the specified end.
M GetHookOrientationAtIndex(Int32, Int32) RebarHookOrientation Gets the hook orientation that is applied to this Rebar at the bar with index barPositionIndex at the specified end.
M GetHookPlaneNormalForBarIdx(Int32, Int32) XYZ Returns the normal of plane in which the hook at end of bar with index barPositionIndex will stay.
M GetHookTypeIdAtIndex(Int32, Int32) ElementId Gets the id of the RebarHookType that is applied to this Rebar at the bar with index barPositionIndex at the specified end.
M GetServerGUID() Guid Returns the GUID of the API server.
M GetShapeIdAtIndex(Int32) ElementId Gets the Rebar Shape id for the bar with index barPositionIndex.
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object
M GetUpdatingSharedParameters() IList<ElementId> Get the shared parameters listed as dependencies in the calculation of the rebar curves
M HasValidServer() bool Returns true if the current rebar contains a valid server GUID, false otherwise.
M IsBarMatchedWithShapeInReverseOrder(Int32) bool Checks if the bar at index barPositionIndex it's matched in reversed order with its shape.
M IsUnconstrained() bool Returns true if the current rebar doesn't contains a valid server GUID, or contains a valid server GUID and no valid constraints.
M RemoveUpdatingSharedParameter(ElementId) None Remove existing shared parameter as a dependency for the calculation of the rebar curves.
M SetCurves(IList.IList.Curve.) RebarFreeFormValidationResult Set the curves into a free form Rebar. Will throw exception if the rebar has valid constraints.
M SetCurves(IList.CurveLoop.) RebarFreeFormValidationResult Set the curves into a free form Rebar. Will throw exception if the rebar has valid constraints.
M SetHookOrientationAngle(Int32, Double) None Set the hook orientation angle at end. Will throw exception if the rebar has valid constraints.
M SetHookPlaneNormalForBarIdx(Int32, Int32, XYZ) None Set the normal of plane in which the hook at end of bar with index barPositionIndex will stay. Will throw exception if the rebar has valid constraints.
M SetLayoutAsFixedNumber(Int32) None Sets the Layout Rule property of rebar set to Fixed Number.
M SetLayoutAsMaximumSpacing(Double) None Sets the Layout Rule property of rebar set to Maximum Spacing.
M SetLayoutAsMinimumClearSpacing(Double) None Sets the Layout Rule property of rebar set to Minimum Clear Spacing.
M SetLayoutAsNumberWithSpacing(Int32, Double) None Sets the Layout Rule property of rebar set to Number With Spacing.
M SetLayoutAsSingle() None Sets the Layout Rule property of rebar set to Single.
M ToString None Returns a string that represents the current object. (Inherited from Object .) Object
Name Return Type Description Inherited From
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P WorkshopInstructions RebarWorkInstructions Identifies the workshop instructions of the current Rebar element.