Skip to main content

property

Function property 

Source
pub fn property(model: &Model, id: EntityId) -> Option<Property>
Expand description

Read one property by id.

Returns None when id is not in the file. IfcComplexProperty may nest, and a malformed file can make one reach itself; such a member, one nested deeper than the reader follows, and one naming an absent entity are left out of the resolved PropertyValue::Complex. This function does not say which members were cut: use property_checked, which returns the same value together with the PropertyAnomaly for each.