Versions Compared

Key

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

...

Section
Column
width30px

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

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

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

Sample 1: EDMqueryMethod with output in QueryResult table

This sample shows how to execute an EDMqueryMethod and pick up the result in a QueryResult table allocated in the calling clients heap memory. In the sample, input arguments to the Query are provided as SELECT type parameters. Note that the QueryResult table shows instances of the VIEW_ENTITY type defined in the EDMqueryShema 'Ifc_Samples_01'.

Section
Column
width30px

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

Column
 
Insert excerpt
US:_xc_IfcEDMqueryMethod01
US:_xc_IfcEDMqueryMethod01
nopaneltrue

 

Sample 2: EDMqueryMethod with output in QueryResult table

  

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.

 

To run this sample, you need to have the EDMmethodSchema IFC_Query_Samples_01 installed the EDMmodelServer. You also need to import the sample population IfcWall_01.ifc. 

Section
Column
width30px

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

Column
 
Insert excerpt
US:_xc_IfcEDMqueryMethod02
US:_xc_IfcEDMqueryMethod02
nopaneltrue