bim:ifc-exportfile
(bim:ifc-exportfile filename [
options [ entities ]])
This function exports all or specified
entities as IFC file.
|
Arguments
|
filename (string) the name of the IFC file to be
created
options (integer) export options flags (combination of bit
values); if omitted or 0, default IFC export options (see Settings)
are used
1 export BaseQuantities
2 export entities on frozen & off
layers
4 explode external references
8 export MultiPlies as aggregated
objects
// these flags specify the target IFC version,
exclusively, only 1 of these values can be used :
16 IFC2x3
32 IFC4
48 IFC4x1
entities (list) optional, list of ENAMEs, specifies the
entities to be exported; if omitted or NIL, all entities are
exported
|
|
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
|
|