mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
parse_ifcxml now handled by swig config
This commit is contained in:
@@ -523,16 +523,6 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
|
||||
%newobject read;
|
||||
%newobject parse_ifcxml;
|
||||
|
||||
%inline %{
|
||||
IfcParse::IfcFile* parse_ifcxml(const std::string& fn) {
|
||||
#ifdef WITH_IFCXML
|
||||
return IfcParse::parse_ifcxml(fn);
|
||||
#else
|
||||
throw std::runtime_error("No IfcXML support enabled");
|
||||
#endif
|
||||
}
|
||||
%}
|
||||
|
||||
%inline %{
|
||||
IfcParse::IfcFile* open(const std::string& fn) {
|
||||
IfcParse::IfcFile* f = new IfcParse::IfcFile(fn);
|
||||
|
||||
Reference in New Issue
Block a user