SetPresenceOfSegments Method


Simultaneously set the presence of all 3D segments.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public void SetPresenceOfSegments(
	bool isDuplicateShapePresent,
	bool isStartConnectorPresent,
	bool isEndConnectorPresent
)
Visual Basic
Public Sub SetPresenceOfSegments ( _
	isDuplicateShapePresent As Boolean, _
	isStartConnectorPresent As Boolean, _
	isEndConnectorPresent As Boolean _
)
Visual C++
public:
void SetPresenceOfSegments(
	bool isDuplicateShapePresent, 
	bool isStartConnectorPresent, 
	bool isEndConnectorPresent
)

Parameters

isDuplicateShapePresent
Type: System Boolean
isStartConnectorPresent
Type: System Boolean
isEndConnectorPresent
Type: System Boolean

Exceptions

Exception Condition
Autodesk.Revit.Exceptions 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