I realized that IfcSpace is by default ignored in the IfcConvert. I am trying to rewrite the --ignore-type option to only ignore the IfcOpeningElement. However, the following ways do not work. Could you please help me? Thank you very much!
Thank you for posting the solution to your problem :)
The --ignore-types flag needs to be at the end of the command line because otherwise the boost program options library interprets xxx.ifc as a type to ignore.
Also note that the types to be ignored do not take into account child classes according to the IFC schema. For example, if you'd want to skip walls you would need to supply both IfcWall and IfcWallStandardCase, this is something that will be addressed in a subsequent release.
Kind regards,
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I realized that IfcSpace is by default ignored in the IfcConvert. I am trying to rewrite the --ignore-type option to only ignore the IfcOpeningElement. However, the following ways do not work. Could you please help me? Thank you very much!
IfcConvert.exe --ignore-types ifcopeningelement xxx.ifc xxx.dae
or
IfcConvert.exe --ignore-types ifcopeningelement xxx.ifc xxx.dae
I always got this error: IfcConvert.exe has stopped working
If I don't include any option, it can generate the DAE file without IfcSpace.
Last edit: Pine 2014-12-05
Wrote the option in a wrong way. This works now:
IfcConvert.exe ifcopeningelement xxx.ifc xxx.dae --ignore-types ifcopeningelement
Hi,
Thank you for posting the solution to your problem :)
The --ignore-types flag needs to be at the end of the command line because otherwise the boost program options library interprets xxx.ifc as a type to ignore.
Also note that the types to be ignored do not take into account child classes according to the IFC schema. For example, if you'd want to skip walls you would need to supply both IfcWall and IfcWallStandardCase, this is something that will be addressed in a subsequent release.
Kind regards,
Thomas