Share

BarTerminationsData Properties

The BarTerminationsData type exposes the following members.

Properties

 NameDescription
Public propertyCrankTypeIdAtEnd Identifies the crank type at the end of bar. Setting this property to a valid value, will set the HookTypeIdAtEnd and EndTreatmentTypeIdAtEnd to ElementId.InvalidElementId.
Public propertyCrankTypeIdAtStart Identifies the crank type at the start of bar. Setting this property to a valid value, will set the HookTypeIdAtStart and EndTreatmentTypeIdAtStart to ElementId.InvalidElementId.
Public propertyEndTreatmentTypeIdAtEnd Identifies the end treatment type at the end of bar. Setting this property to a valid value, will set the CrankTypeIdAtEnd and HookTypeIdAtEnd to ElementId.InvalidElementId.
Public propertyEndTreatmentTypeIdAtStart Identifies the end treatment type at the start of bar. Setting this property to a valid value, will set the CrankTypeIdAtStart and HookTypeIdAtStart to ElementId.InvalidElementId.
Public propertyHookTypeIdAtEnd Identifies the hook type at the end of bar. Setting this property to a valid value, will set the CrankTypeIdAtEnd and EndTreatmentTypeIdAtEnd to ElementId.InvalidElementId.
Public propertyHookTypeIdAtStart Identifies the hook type at the start of bar. Setting this property to a valid value, will set the CrankTypeIdAtStart and EndTreatmentTypeIdAtStart to ElementId.InvalidElementId
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyTerminationOrientationAtEnd

Identifies the orientation of the termination's (e.g. hook, crank) plane at the end of the bar with respect to the orientation of the last curve and the plane normal.

Only two values are permitted:

Value = Right: The termination is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."

Value = Left: The termination is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."

The default value is Left.

Public propertyTerminationOrientationAtStart

Identifies the orientation of the termination's (e.g. hook, crank) plane at the start of the bar with respect to the orientation of the first curve and the plane normal.

Only two values are permitted:

Value = Right: The termination is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."

Value = Left: The termination is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."

The default value is Left.

Public propertyTerminationRotationAngleAtEnd

Identifies the termination's (e.g. hook, crank) out of plane rotation angle (in radians) at the end of bar.

The default value is 0.

Public propertyTerminationRotationAngleAtStart

Identifies the termination's (e.g. hook, crank) out of plane rotation angle (in radians) at the start of bar.

The default value is 0.

See Also

Reference

Was this information helpful?