bim:ifc-importfile
(bim:ifc-importfile filename [
options ])
This function imports the specified IFC file
into the current drawing.
Arguments
|
filename (string) the name of the IFC file to be
imported
options (integer) import options flags (combination of bit
values); if omitted or 0, default IFC import options (see Settings)
are used
1 import Bim Data
2 import IFC Space
4 import Parametric
Components
8 import Project Structure as
Xrefs
16 import Brep Geometry as
Meshes
32 import using SubDMesh
entities
64 import Profiles geometrically
64
// these flags specify how the geographic
origin is mapped into BricsCAD, exclusively, only 1 of these values
can be used :
128 import to global origin (BricsCAD =
WCS matches IFC Global Coordinate system
256 import to origin of the project =
BricsCAD WCS matches IFC Project Location
512 import to origin of the site =
BricsCAD WCS matches IFC Site Location
|
Return
|
T, if the IFC file is
successfully created, or NILotherwise
|
Example
|
(bim:ifc-exportFile
"D:/Test.ifc" (+ 1 2 4 16)) creates IFC2x3 file,
including entities on frozen + off layers
(bim:ifc-exportFile "D:/Test.ifc" (+ 1 4 32))
creates IC4 file, excludes
entities on frozen + off layers
|
Remarks
|
|