| WR1
|
:
|
'IFCREPRESENTATIONRESOURCE.IFCGEOMETRICREPRESENTATIONCONTEXT'
IN TYPEOF(SELF\IfcRepresentation.ContextOfItems);
|
| WR2
|
:
|
EXISTS(SELF\IfcRepresentation.RepresentationType);
|
| WR3
|
:
|
(RepresentationType <> 'GeometricSet') OR
((RepresentationType = 'GeometricSet') AND (HIINDEX(SELF\IfcRepresentation.Items) = 1)
AND ('IFCGEOMETRICMODELRESOURCE.IFCGEOMETRICSET' IN TYPEOF(SELF\IfcRepresentation.Items[1])))
;
|
| WR4
|
:
|
(RepresentationType <> 'SurfaceModel') OR
((RepresentationType = 'SurfaceModel') AND
(('IFCGEOMETRICMODELRESOURCE.IFCSHELLBASEDSURFACEMODEL' IN TYPEOF(SELF\IfcRepresentation.Items[1])) OR
('IFCGEOMETRICMODELRESOURCE.IFCSHELLBASEDSURFACEMODEL' IN TYPEOF(SELF\IfcRepresentation.Items[1])))
AND (HIINDEX(SELF\IfcRepresentation.Items) = 1));
|
| WR5
|
:
|
(NOT(RepresentationType IN ['SolidModel', 'SweptSolid', 'CSG', 'Brep'])) OR
((RepresentationType IN ['SolidModel', 'SweptSolid', 'CSG', 'Brep'])
AND (SIZEOF(QUERY(temp <* SELF\IfcRepresentation.Items |
'IFCGEOMETRICMODELRESOURCE.IFCSOLIDMODEL' IN TYPEOF(temp)))
= SIZEOF(SELF\IfcRepresentation.Items)));
|
| WR6
|
:
|
(RepresentationType <> 'SweptSolid') OR
((RepresentationType = 'SweptSolid') AND
(SIZEOF(QUERY(temp <* SELF\IfcRepresentation.Items |
'IFCGEOMETRICMODELRESOURCE.IFCSWEPTAREASOLID' IN TYPEOF(temp)))
>= 1));
|
| WR7
|
:
|
(RepresentationType <> 'CSG') OR
((RepresentationType = 'CSG') AND
(SIZEOF(QUERY(temp <* SELF\IfcRepresentation.Items |
'IFCGEOMETRICMODELRESOURCE.IFCBOOLEANRESULT' IN TYPEOF(temp)))
>= 1));
|
| WR8
|
:
|
(RepresentationType <> 'Brep') OR
((RepresentationType = 'Brep') AND
(SIZEOF(QUERY(temp <* SELF\IfcRepresentation.Items |
'IFCGEOMETRICMODELRESOURCE.IFCMANIFOLDSOLIDBREP' IN TYPEOF(temp)))
>= 1));
|
| WR9
|
:
|
(RepresentationType <> 'BoundingBox') OR
((RepresentationType = 'BoundingBox') AND (HIINDEX(SELF\IfcRepresentation.Items) = 1)
AND ('IFCGEOMETRYRESOURCE.IFCBOUNDINGBOX' IN TYPEOF(SELF\IfcRepresentation.Items[1])));
|
| WR10
|
:
|
(RepresentationType <> 'SectionedSpine') OR
((RepresentationType = 'SectionedSpine') AND
(SIZEOF(QUERY(temp <* SELF\IfcRepresentation.Items |
'IFCGEOMETRICMODELRESOURCE.IFCSECTIONEDSPINE' IN TYPEOF(temp)))
>= 1));
|
| WR11
|
:
|
(RepresentationType <> 'MappedRepresentation') OR
((RepresentationType = 'MappedRepresentation') AND (HIINDEX(SELF\IfcRepresentation.Items) = 1)
AND ('IFCGEOMETRYRESOURCE.IFCMAPPEDITEM' IN TYPEOF(SELF\IfcRepresentation.Items[1])));
|