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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →