Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width30px

Insert excerpt
US:_icon_REX(30px)
US:_icon_REX(30px)
nopaneltrue

Column
width120px

Insert excerpt
US:_f_Ifc_Samples_01.rex
US:_f_Ifc_Samples_01.rex
nopaneltrue

Column
Defines the EDMruleMethod CheckModelCapacityUsedEDMruleSchema Ifc_Rule_Samples_01 with the EDMruleMethod CheckIfcRootObjectGlobalId(). Extends the IFC2x3 EXPRESS Schema

You will also need to import the following data set into the EDMmodel named IFC_WALL_0102 in the DataRepository

...

width30px

...

width120px

...

US:_f_IfcWall_01.ifc
nopaneltrue
Column

Sample population with one instance of IFCWALLSTANDARDCASE, identified by a GUID

Section
Column
width30px

Insert excerpt
US:_icon_STP(30px)
US:_icon_STP(30px)
nopaneltrue

Column
width120px
 
Insert excerpt
US:_f_IfcWall_02.ifc
US:_f_IfcWall_02.ifc
nopaneltrue
Column

Sample population with three instances of IFCWALLSTANDARDCASE, with duplicate GUIDs

Section Column
width30px
Insert excerptUS:_icon_STP(30px)US:_icon_STP(30px)nopaneltrue Column
width120px
  Insert excerptUS:_f_IfcWall_03.ifcUS:_f_IfcWall_03.ifcnopaneltrue
Column

Sample population with one instance of IFCWALLSTANDARDCASE, with simple geometry.

Section Column
width30px
Insert excerptUS:_icon_STP(30px)US:_icon_STP(30px)nopaneltrue Column
width120px
  Insert excerptUS:_f_IfcWall_04.ifcUS:_f_IfcWall_04.ifcnopaneltrue
Column

Sample population with one instance of IFCWALLSTANDARDCASE, with pSet_WallCommon property set.

Sample 1: EDMqueryMethod with output in QueryResult table

...

identified by duplicate GUIDs

Sample 1: EDMruleMethod with logical output

This sample executes an EDMruleMethod with no input parameters and returns a single logical validation result (TRUE/FALSE/UNKNOWN). To run this sample, you need to have the EDMquerySchema EDMruleSchema IFC_QueryRule_Samples_01 installed the EDMmodelServer. You also need to import the sample population IfcWall_0102.ifc. Note that the QueryResult table shows instances of the VIEW_ENTITY type defined in the EDMqueryShema.

Section
Column
width30px

Insert excerpt
US:_icon_C(30px)
US:_icon_C(30px)
nopaneltrue

Column
 
Insert excerpt
US:_xc_IfcEDMqueryMethod01IfcEDMruleMethod01
US:_xc_IfcEDMqueryMethod01IfcEDMruleMethod01
nopaneltrue

Sample 2:

...

 EDMruleMethods with Expression Logging 

This sample executes an EDMqueryMethod. Input arguments to the Query are provided through an XML file. The output is returned as a QueryTable written to the an XML file on the calling clients local file system.shows how to specify expression logging of the EDMvirtualMachine that executes an EDMruleMethod. To run this sample, you need to have the EDMquerySchema EDMruleSchema IFC_QueryRule_Samples_01 installed the EDMmodelServer. You also need to import the sample population IfcWall_0102.ifc.  

Section
Column
width30px

Insert excerpt
US:_icon_C(30px)
US:_icon_C(30px)
nopaneltrue

Column
 
Insert excerpt
US:_xc_IfcEDMqueryMethod02IfcEDMruleMethod02
US:_xc_IfcEDMqueryMethod02IfcEDMruleMethod02
nopaneltrue

Sample 3: EDMqueryMethods with XML String I/O  

This sample executes an EDMqueryMethod. Input arguments to the Query are provided through an XML strings. The output is returned as a QueryTable written to the an XML string allocated in the calling clients heap memory. This sample also use file mapping to have the EDMqueryMethod write a result file directly in EDMruleMethod with input parameters and file mapping between the logical file name 'result' and a file on the calling clients local fils file system.

To run this sample, you need to have the EDMquerySchema EDMruleSchema IFC_QueryRule_Samples_01 installed the EDMmodelServer. You also need to import the sample population IfcWall_0102.ifc. 

Section
Column
width30px

Insert excerpt
US:_icon_C(30px)
US:_icon_C(30px)
nopaneltrue

Column
 
Insert excerpt
US:_xc_IfcEDMqueryMethod03IfcEDMruleMethod03
US:_xc_IfcEDMqueryMethod03IfcEDMruleMethod03
nopaneltrue