This page contains EDMInterface API sample code to show how to exploit the powerful features of EDMqueryMethods. 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 EDMqueryMethods CheckModelCapacityUsed(), CheckEDMserverVersion() and GetMaxModelInstances(). Extends the IFC2x3 EXPRESS Schema
You also need to import the following data sets.
Defines the EDMqueryMethods CheckModelCapacityUsed(), CheckEDMserverVersion() and GetMaxModelInstances(). Extends the IFC2x3 EXPRESS Schema
EDMqueryMethod with output in QueryResult table
This sample shows how to executes an EDMqueryMethod. In the sample, input arguments to the Query are provided as SELECT type parameters, and the output data is returned as a QueryResult Table allocated in the calling clients heap memory.