How to avoid duplicate nodes when loading SCS files with loadSubtreeFromScsXmlBuffer?

When I load SCS files using Model.loadSubtreeFromScsXmlBuffer , I get duplicate nodes in the tree. How can I fix this?


Any insights or suggestions would be appreciated!

Hello @18234083588,

It looks like you are following a shattered workflow. In which case, the hierarchy will include separate nodes representing instances (such as NodeType.PartInstance and NodeType.BodyInstance). This is normal in shattered workflow.

If you want to have a flatter tree hierarchy, a monolithic workflow would probably work better.

Thanks,
Tino

Thank you for your response!