IFC Import User Guide

IFCImporterObj
Template functions called userPreImpProcess.pmlfnc and userPostImpProcess.pmlfnc are supplied. The supplied default templates are called automatically from the graphical user interface postprocess function. If the PML importer object is used, it is possible to provide the same additional functionality as required but they must be called manually when using the importer object.
Alternatively, you may provide your own functions and inject them into the import process. This is achieved by providing a function or even a series of similar functions, <userFunction>.pmlfnc, for example, IFCPostProcessing.pmlfnc, in the PML search path and then plugging it or them into the system using the command line. These functions take one argument and must handle all PML errors internally. The functions return a string result value containing whatever message is to be transmitted to the running PML application. The template PML functions provide an example of how to structure the function.
UserPreProcessor = |userPreImpProcess|
UserPostProcessor = |userPostImpProcess|
define function !!userPostImpProcess( !importer is IFCIMPORTEROBJ ) is STRING
define function !!userPreImpProcess( !importer is IFCIMPORTEROBJ ) is STRING

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo