Application module: Layer assignment | ISO/TS 10303-1008:2014-02(E) © ISO |
(*
ISO TC184/SC4/WG12 N5414 - ISO/TS 10303-1008 Layer assignment - EXPRESS MIM
Supersedes
ISO TC184/SC4/WG12 N4751
*)
SCHEMA Layer_assignment_mim;
USE FROM
Foundation_representation_mim;
-- ISO/TS 10303-1006
USE FROM
Group_mim;
-- ISO/TS 10303-1113
USE FROM
presentation_organization_schema -- ISO 10303-46
(presentation_layer_assignment);
USE FROM
geometry_schema -- ISO 10303-42
(geometric_representation_item);
USE FROM
topology_schema -- ISO 10303-42
(topological_representation_item);
ENTITY rep_item_group
SUBTYPE OF (group, representation_item);
WHERE
WR1: SIZEOF(USEDIN(SELF,'PRESENTATION_ORGANIZATION_SCHEMA.' + 'PRESENTATION_LAYER_ASSIGNMENT.' + 'ASSIGNED_ITEMS')) > 0;
WR2: SIZEOF(QUERY(r <* USEDIN(SELF,'REPRESENTATION_SCHEMA.' + 'REPRESENTATION.' + 'ITEMS') | r.name = 'group representation'))
> 0;
WR3: SIZEOF(QUERY(ga <* USEDIN(SELF,'MANAGEMENT_RESOURCES_SCHEMA.' + 'GROUP_ASSIGNMENT.' + 'ASSIGNED_GROUP') | ga.role.name
<> 'group membership')) = 0;
WR4: SIZEOF(['GEOMETRY_SCHEMA.' + 'GEOMETRIC_REPRESENTATION_ITEM',
'TOPOLOGY_SCHEMA.' + 'TOPOLOGICAL_REPRESENTATION_ITEM',
'REPRESENTATION_SCHEMA.' + 'MAPPED_ITEM',
'PRESENTATION_APPEARANCE_SCHEMA.' + 'STYLED_ITEM'] * TYPEOF(SELF)) = 1;
END_ENTITY;
END_SCHEMA; -- Layer_assignment_mim
© ISO 2014 — All rights reserved