engine_web-ifc icon indicating copy to clipboard operation
engine_web-ifc copied to clipboard

[Feat]: Allowing recursive depth control

Open JonathannJacobs opened this issue 1 year ago • 0 comments

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.

JonathannJacobs avatar Dec 14 '24 12:12 JonathannJacobs