IFCSPACE objects not included in scene.objects when using WebIFCLoaderPlugin
Sululu666 opened this issue · 1 comments
I'm using the WebIFCLoaderPlugin to load ifc file and trying to use "setObjectsCulled" in the "Scene.js" to control the "IFCSPACE" object. However "setObjectsCulled" is not work. I've been doing this for a while, and figured it was because the "IFCSPACE" objects are not included in the "viewer.scene.objects".
I console.log all mesh's type that streams in the "_parseGeometry" by "this._ifcAPI.StreamAllMeshes" and found that the "IFCSPACE" type objects is not included. (and i'm sure the ifc files i use contains ifcspace info)
"MetaScene.metaObjectsByType" contains "IfcSpace", but IFCSPACE objects not included in scene.objects. therefore "scene.setObjectsCulled" and "withObjects" in it return undefined result when finding "IfcSpace" objects from "MetaScene.metaObjectsByType".
Does this problem exists?or is there anything else I haven't noticed that controls this type?
thanksss!
by the way, I didn't use the "excludeTypes" or "includeTypes"