Working with EDMmapMethods

This page contains EDMInterface API sample code to show how to exploit EDMmapMethods. To run these samples, you need to create an EDMdatabase and compile the following schemas.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_EXP(30px)'.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_f_IFC2x3.exp'.

The Industry Foundation Classes (IFC) data model to describe building and construction industry data

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_XPX(30px)'.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_f_Ifc_CheckPropertySet.xpx'.

Defines the EDMmapMethod CheckPropertySet().

 

You will also need to import the following data set into the EDMmodel named IFC_WALL_04 in the DataRepositoy

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_STP(30px)'.

 
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_f_IfcWall_04.ifc'.

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

 


Sample 1: EDMmapMethod with result as User Defined Status

This sample executes an EDMmapMethod with no input parameters. It counts the number of property sets in the source model and returns the result as a user defined status. To run this sample, you need the EDMmapSchema CheckPropertySet. You also need to import the sample population IfcWall_04.ifc.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_C(30px)'.

 
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_xc_IfcEDMmapMethod01'.

 


Sample 2: EDMmapMethod with Parameters and File Mapping 

This sample executes an EDMmapMethod with input parameters and file mapping between the logical file name 'result' and a file on the EDMthinClient local file system. To run this sample, you need the EDMmapSchema CheckPropertySet. You also need to import the sample population IfcWall_04.ifc.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_C(30px)'.

 
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_xc_IfcEDMmapMethod02'.

 


Sample 3: EDMmapMethods with Expression Logging 

This sample executes an EDMmapMethod with EDMvirtualMachine expression logging. To run this sample, you need the EDMmapSchema CheckPropertySet. You also need to import the sample population IfcWall_04.ifc.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_C(30px)'.

 
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_xc_IfcEDMmapMethod03'.

Related pages