pub fn create_port(
tx: &mut Transaction,
global_id: &str,
name: Option<&str>,
flow_direction: Option<&str>,
) -> SystemAuthoringResult<EntityId>Expand description
Stage an IfcDistributionPort.
flow_direction is an IfcFlowDirectionEnum token: SOURCE, SINK
or SOURCEANDSINK. It is what the flow reader follows, so a port
without one is invisible to downstream/upstream queries.
Writes the IFC4/IFC4X3 ten-attribute layout with OwnerHistory $,
so the record is IFC4/IFC4X3 only; use
create_port_with_owner_history for IFC2X3, which declares eight.
ยงErrors
Refuses a malformed GlobalId.