isn't enough, because loadedTypes is initialized with {} and then the call with includeAllSubTypes = true doesn't load all of the subtypes.
I've encountered this issue while calling getAllOfType("IfcProduct", true, function () { /* ...*/}) on the attached IFC file, using a Model object preloaded with the ifc2x3tc1 preload query.
In some cases the test
isn't enough, because
loadedTypes
is initialized with{}
and then the call withincludeAllSubTypes = true
doesn't load all of the subtypes.I've encountered this issue while calling
getAllOfType("IfcProduct", true, function () { /* ...*/})
on the attached IFC file, using aModel
object preloaded with theifc2x3tc1
preload query.quattromura_rev_2.ifc.zip
Also this pull request loads the objects in the proper
loadedTypes
dictionary.