Skip to main content

openbim_ifc_v0_1_entity_add

Function openbim_ifc_v0_1_entity_add 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_entity_add( model: OpenbimIfcModel, type_name: *const u8, type_len: usize, attribute_count: usize, nodes: *const OpenbimIfcValueNode, node_count: usize, strings: *const u8, string_len: usize, out_id: *mut u64, ) -> OpenbimIfcStatus
Expand description

Append an entity of type_name whose attribute_count attributes are on the tape back to back, and write its new id to out_id.

ยงSafety

As for openbim_ifc_v0_1_entity_set_attribute; type_name valid for type_len reads; out_id valid for one write.