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.
The Industry Foundation Classes (IFC) data model to describe building and construction industry data
Defines the EDMmapMethod CheckPropertySet().
You will also need to import the following data set into the EDMmodel named IFC_WALL_04 in the DataRepositoy
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.
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.
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.