engine_web-ifc
engine_web-ifc copied to clipboard
[Feat]: Allowing recursive depth control
What is your idea?
Salutations,
getItemProperties(modelID: number, id: number, recursive?: boolean, inverse?: boolean): Promise
All the functions having a recursive parameter as a boolean could be replaced by an integer instead, representing the allowed recursion depth. 0 -> no recursion -1 -> like current recursive true, no limits every other integer -> would serve as a depth limit
This would be usefull to explore contexts without loading galaxy of details. Allowing a more organised step by step exploration.