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_01.ifc
US:_f_IfcWall_01.ifc
nopaneltrue
Column

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

 

...

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. To run this sample, you need to have the EDMquerySchema IFC_Query_Samples_01 installed the EDMmodelServer. You also need to import the sample population IfcWall_01.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_IfcEDMqueryMethod01
US:_xc_IfcEDMqueryMethod01
nopaneltrue

 

...

Sample 2: EDMqueryMethod with XML file I/O 

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.

...

Section
Column
width30px

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

Column
 
Insert excerpt
US:_xc_IfcEDMqueryMethod02
US:_xc_IfcEDMqueryMethod02
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 the calling clients local fils system.

...

Section
Column
width30px

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

Column
 
Insert excerpt
US:_xc_IfcEDMqueryMethod03
US:_xc_IfcEDMqueryMethod03
nopaneltrue

 

...

Sample 4: EDMqueryMethods with Expression Logging  

This sample executes an EDMqueryMethod. Input arguments to the Query are provided through 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 the calling clients local file system.

...

Section
Column
width30px

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

Column
 
Insert excerpt
US:_xc_IfcEDMqueryMethod04
US:_xc_IfcEDMqueryMethod04
nopaneltrue

 

...

Sample 5: EDMqueryMethods with SimpleType Output  

This sample shows how to pick up a SimpleType return value from an EDMmethod. Typical SimpleType values are STRING, INTEGER, REAL, BOOLEAN, LOGICAL ...

...