Skip to main content

openbim_ifc_v0_1_entity_get_value

Function openbim_ifc_v0_1_entity_get_value 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_entity_get_value( model: OpenbimIfcModel, id: u64, path: *const u8, path_len: usize, nodes: *mut OpenbimIfcValueNode, node_capacity: usize, out_nodes_required: *mut usize, strings: *mut u8, string_capacity: usize, out_strings_required: *mut usize, ) -> OpenbimIfcStatus
Expand description

The value path (UTF-8, e.g. type.Name, Pset_WallCommon.FireRating) reads from entity id, as a value tape: a scalar or reference as its node, several values as a LIST, a property set as a LIST of two-item LISTs, each the member’s name (TEXT) and value.

InvalidSelector for a path that does not parse, MissingEntity, and as for openbim_ifc_v0_1_model_select.

§Safety

path valid for path_len reads; otherwise as for openbim_ifc_v0_1_entity_attribute.