BIMConnectors.CreatePipeConnectorDefinition Method
Parent Object: BIMConnectorsDescription
Method that creates a new pipe connector definition. The created definition object defines the inputs to create a pipe connector and is used as input to the Add method of the BIMConnectors object to create a new connector.
Syntax
BIMConnectors.CreatePipeConnectorDefinition( Geometry As ObjectCollection, ConnectorShape As BIMConnectorShapeEnum ) As BIMPipeConnectorDefinitionParameters
Name | Type | Description |
Geometry | ObjectCollection | Input object collection that contains the geometry that defines the shape of the connector. When the specified shape is circular, valid input includes a single circular face or a circular edge (it can be an arc). When the specified shape is undefined, valid input includes the input described above for a rectangular shape but also allows a rectangular planar face, four edges that define a rectangle as illustrated below: ![]() ![]() |
ConnectorShape | BIMConnectorShapeEnum | Input value that specifies the shape of the connector. This setting affects how the geometry is evaluated to determine the shape of the connector. The following inputs are valid for a pipe connector: kCircularShapeConnector or kUndefinedShapeConnector. |