SetPresenceOfSegments Method


Rebar Shape Multiplanar Definition Set Presence Of Segments Method

Simultaneously set the presence of all 3D segments.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetPresenceOfSegments(
	bool isDuplicateShapePresent,
	bool isStartConnectorPresent,
	bool isEndConnectorPresent
)

Parameters

isDuplicateShapePresent Boolean
isStartConnectorPresent Boolean
isEndConnectorPresent Boolean
Exceptions
Exception Condition
ArgumentsInconsistentException The shape is disconnected or forms a complete loop: If the duplicate shape is present, exactly one of the connectors must be present.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →