pub fn create_port_with_owner_history(
tx: &mut Transaction,
model: &Model,
global_id: &str,
name: Option<&str>,
flow_direction: Option<&str>,
owner_history: EntityId,
) -> SystemAuthoringResult<EntityId>Expand description
create_port in model’s declared release, with
a caller-supplied IfcOwnerHistory.
IFC2X3 declares eight attributes for IfcDistributionPort, IFC4 and
IFC4X3 ten; FlowDirection is the eighth in all three.
§Errors
Those of create_port, the release and
owner-history refusals of create_system_with_owner_history, and
AuthoringValueType
for a token the release’s IfcFlowDirectionEnum does not declare.