pub struct Product {Show 13 fields
pub kind: Option<ProductKind>,
pub state: Option<ProductState>,
pub transform: Option<Transform>,
pub material_categories: Option<HashMap<String, String>>,
pub categories: Option<Vec<String>>,
pub structure: Option<Vec<Component>>,
pub top_view: Option<TopView>,
pub preview: Option<Preview>,
pub points: Option<Vec<AttachPoint>>,
pub commercial: Option<Commercial>,
pub status: Option<Status>,
pub master_data: Option<MasterData>,
pub measurements: Option<Vec<MeasurementLine>>,
}
Expand description
An initial or incremental product representation.
Fields§
§kind: Option<ProductKind>
§state: Option<ProductState>
Optional state information for a product. Even if the state object exists, not all attributes may be set. The state information always entirely updates an existing state information.
transform: Option<Transform>
Optional world transform of the product representation. If the transform is not null, it entirely replaces the existing transform.
material_categories: Option<HashMap<String, String>>
The mandatory attribute maps material categories to materials. Both, material categories and materials should be compatible with a three-level technical namespace. Implicit material categories consist of prefix ‘@’ and a material, and should be included too, even if this is kind of redundant.
IGXC Compatibility: In IGXC this attribute was named Categories.
categories: Option<Vec<String>>
Product categories for the client-side implementation of planning behavior. If Categories is not null, it entirely replaces the existing categories.
IGXC Compatibility: In IGXC, categories were considered from the structure’s root entry. Now they can be updated, even if the structure does not change.
structure: Option<Vec<Component>>
The tree structure that describes the product in 3D. If the structure is not null, it entirely replaces the existing structure.
top_view: Option<TopView>
An optional product representation from top-view perspective. Version: OC 1.2
preview: Option<Preview>
An optional product preview image. Version: OC 1.2
points: Option<Vec<AttachPoint>>
Attachment points for the client-side creation of neighbor and parent-child relationships. If Points is not null, it entirely replaces the existing points.
IGXC Compatibility: In IGXC, points were considered from the structure’s root entry. Now they can be updated, even if the structure does not change.
commercial: Option<Commercial>
Commercial data related to this product
status: Option<Status>
Contains product related status information.
master_data: Option<MasterData>
Master data related to this product Version: OC 1.3
measurements: Option<Vec<MeasurementLine>>
Additional measurements for this product Version: OC 1.7