Skip to content

Commit

Permalink
Merge pull request #280 from buildingSMART/IVS-59-CLS000-Classificati…
Browse files Browse the repository at this point in the history
…on-Association

IVS-64 - CLS000 - Classification Association
  • Loading branch information
civilx64 authored Sep 15, 2024
2 parents 0e16e60 + af63674 commit 84a140c
Show file tree
Hide file tree
Showing 4 changed files with 5,043 additions and 0 deletions.
21 changes: 21 additions & 0 deletions features/CLS000_Classification-association.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@implementer-agreement
@CLS
@version1
@E00020

Feature: CLS000 - Classification Association
The rule verifies the presence of IFC entities used to classify elements, materials, and systems according to various classification systems,
such as the UNIFORMAT or Omniclass classification systems.
https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/concepts/Object_Association/Classification_Association/content.html


Scenario: Check for activation of Classification Association

Given an IfcObjectDefinition
Given its attribute HasAssociations
Given its entity type is 'IfcRelAssociatesClassification'
Given its attribute RelatingClassification
Given its entity type is 'IfcClassificationReference'

Then The IFC model contains information on the selected functional part

29 changes: 29 additions & 0 deletions test/files/cls000/na-cls000-blank_file.ifc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1');
FILE_NAME('','2024-09-13T15:02:41',(''),(''),'IfcOpenShell-0.7.11-d51fa2c5f','IfcOpenShell-0.7.11-d51fa2c5f','');
FILE_SCHEMA(('IFC4X3_ADD2'));
ENDSEC;
DATA;
#1=IFCPERSON($,$,'',$,$,$,$,$);
#2=IFCORGANIZATION($,'',$,$,$);
#3=IFCPERSONANDORGANIZATION(#1,#2,$);
#4=IFCAPPLICATION(#2,'0.7.11-d51fa2c5f','IfcOpenShell-0.7.11-d51fa2c5f','');
#5=IFCOWNERHISTORY(#3,#4,$,.NOTDEFINED.,$,#3,#4,1726239761);
#6=IFCDIRECTION((1.,0.,0.));
#7=IFCDIRECTION((0.,0.,1.));
#8=IFCCARTESIANPOINT((0.,0.,0.));
#9=IFCAXIS2PLACEMENT3D(#8,#7,#6);
#10=IFCDIRECTION((0.,1.));
#11=IFCGEOMETRICREPRESENTATIONCONTEXT($,'Model',3,1.E-05,#9,#10);
#12=IFCDIMENSIONALEXPONENTS(0,0,0,0,0,0,0);
#13=IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);
#14=IFCSIUNIT(*,.AREAUNIT.,$,.SQUARE_METRE.);
#15=IFCSIUNIT(*,.VOLUMEUNIT.,$,.CUBIC_METRE.);
#16=IFCSIUNIT(*,.PLANEANGLEUNIT.,$,.RADIAN.);
#17=IFCMEASUREWITHUNIT(IFCPLANEANGLEMEASURE(0.017453292519943295),#16);
#18=IFCCONVERSIONBASEDUNIT(#12,.PLANEANGLEUNIT.,'DEGREE',#17);
#19=IFCUNITASSIGNMENT((#13,#14,#15,#18));
#20=IFCPROJECT('3opSESl0HDJRR3Fl8nh$HW',#5,'',$,$,$,$,(#11),#19);
ENDSEC;
END-ISO-10303-21;
Loading

0 comments on commit 84a140c

Please sign in to comment.