Skip to content

Tree widget: Customize model tree to add child nodes of specific elements #1446

@gedkek

Description

@gedkek

Is it possible currently to customize Models Tree hierarchy to add related nodes from different schema than the parent?

By default they go to a separate parent node even though a relationship exists between these created items and their parent.

For example: if slicing one element (of class BisCore.GeometricElement3d) into 2 parts, in the tree the sliced element should get 2 children as 2 elements get created (created elements are of class Construction.ConstructionDetailingElement).
Instead they go to separate folder at the top of the tree that contains all construction only nodes.

Would like to effectively merge the construction data into models tree using relationships.

From what i found, can group nodes in pre and post processors for specific node, but only if they represent instance of same class, but since they both are of different classes, i assume pre-processor can't find the ConstructionDetailingElement or is only handling nodes that would exist in that specific tree?

Is it possible to somehow add nodes to models tree based on relationships?

Metadata

Metadata

Assignees

Labels

tree widgetTree widget or its components related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions