Skip to main content

select_shape_representation

Function select_shape_representation 

Source
pub fn select_shape_representation(
    model: &Model,
    product: EntityId,
) -> GeometryResult<Option<EntityId>>
Expand description

Pick the representation a viewer should draw for this product.

Preference order is SOLID_IDENTIFIERS, then any representation whose identifier is missing. A file whose only representation is an Axis returns None rather than a curve masquerading as a body.