IFC Import User Guide
Import Using the Command Line
Import Using the Command Line
The import process is performed using a PML object IFCImporterObj. The UI provides a front end to prepare and validate the data before initiating the import. It is recommended to use this functionality if a user wishes to import their framework.
IFC Import command line syntax
The command line syntax for importing an ifc file or folder is illustrated in the "railtrack" diagrams below.
As has been indicated in the UI, there are four steps to building up the command line:
•
Define the source
•
Define where the imported model will be built
•
Define log file options
•
Define facet data options.
When constructing the command line, there are more checks that have to be made in order to provide a valid command, these checks are made in the UI.
The full command is:
The individual components to this command are detailed below. As can be seen, certain parts can be bypassed. The implications of bypassing these parts are given.
The target element will be a SITE, under which a ZONE will be created for each ifc file to be imported. If this part of the syntax is not used, the current element is implied.
The ifc specific import options are as below, as can be seen from the diagrams above, these are optional components to the command line syntax.
Define the Reference Datum with the WRT/IN command component, the "gid" is a general PDMS element ID of a name or reference number.
The Group World that is to receive the GPSETs hierarchy is defined using the GPWL syntax component.
To rescale the imported model in a uniform scaling factor one uses the SCALE syntax command.
Logging is performed using the syntax below.
A log file will be produced by default, the log file can be turned off. To produce a log file, select one of the options and provide a valid file path. If this is an existing file, it will be overwritten.
When GENPRIs are displayed, the prevailing value of REPRE DARCTOL is used for the facet tolerance (that is by default 10mm in PDMS and 1mm in E3D). If a GENPRI is imported with an explicit CTOL value set ('Save Facet Data' set in the UI) then these facets will be cached inside the database.
The cached facets will only be reused for display if the desired REPRE DARCTOL is close enough (between a factor of 0.8 and 4.0 times CTOL); otherwise they will be ignored, the GENPRI's underlying data will be facetted again from scratch with the desired tolerance. These facets will be discarded after use: that is the cached facets in the database will not be overwritten.
To work with lighter geometric data, by slackening off the tolerance, they must change DARCTOL for everything; and if the facet data was saved with an unsuitable CTOL it will not be useful.
If the CTOL value is unset, a default value is taken depending on the arc tolerance settings at the time.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.