BIMConnectors.CreateConduitConnectorDefinition Method
Parent Object: BIMConnectorsDescription
Method that creates a new conduit connector definition. The created definition object defines the inputs to create a conduit connector and is used as input to the Add method of the BIMConnectors object to create a new conduit connector.
Remarks
The created definition defaults to a circular shape and the diameter is defined by the input geometry. You can change any of these settings by using the methods and properties on the returned BIMConduitConnectorDefinition.Syntax
BIMConnectors.CreateConduitConnectorDefinition( Geometry As ObjectCollection, ConnectorShape As BIMConnectorShapeEnum ) As BIMConduitConnectorDefinitionParameters
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. ![]() a planar face that has a slot shape, or four edges that define a slot or oval shape, 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 conduit connector: kCircularShapeConnector or kUndefinedShapeConnector |