pub struct MaterialAssignment {Show 14 fields
pub relationship: u64,
pub global_id: Option<String>,
pub source: String,
pub type_object: Option<u64>,
pub target: u64,
pub type_name: String,
pub kind: String,
pub set: Option<u64>,
pub name: Option<String>,
pub materials: Vec<MaterialRef>,
pub layers: Vec<MaterialLayer>,
pub profiles: Vec<MaterialProfile>,
pub constituents: Vec<MaterialConstituent>,
pub usage: Option<MaterialUsage>,
}Expand description
The material association that applies to an object.
Fields§
§relationship: u64The IfcRelAssociatesMaterial.
global_id: Option<String>The relationship’s GlobalId.
source: Stringoccurrence: associated with the queried object; type: inherited
from its type object.
type_object: Option<u64>For type, the type object’s id.
target: u64The RelatingMaterial.
type_name: StringThe target’s entity type, upper-case.
kind: Stringmaterial, list, layer, layer-set, layer-set-usage,
profile, profile-set, profile-set-usage, constituent or
constituent-set.
set: Option<u64>For a set or a usage, the set’s id (a usage’s ForLayerSet or
ForProfileSet).
name: Option<String>The set’s LayerSetName or Name.
materials: Vec<MaterialRef>material: the material; list: its materials, in file order.
layers: Vec<MaterialLayer>layer, layer-set, layer-set-usage: the layers, in file order.
profiles: Vec<MaterialProfile>profile, profile-set, profile-set-usage: the profiles.
constituents: Vec<MaterialConstituent>constituent, constituent-set: the constituents.
usage: Option<MaterialUsage>layer-set-usage and profile-set-usage: how the set is placed.
Trait Implementations§
Source§impl Clone for MaterialAssignment
impl Clone for MaterialAssignment
Source§fn clone(&self) -> MaterialAssignment
fn clone(&self) -> MaterialAssignment
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more