For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Hilighting of related objects

Linden's picture


I want to group some TopoDS_Edges so that the complete group will be hilighted when I move the cursor over one of the objects in that group. Because I use a lot of edges (>700) I need to combine them into a TopoDS_Compound before displaying - otherwise panning and rotating is quite slow.

How would you recommend to archieve that? I tried to create my own filter and hilight the related edges from there - but that's quite ugly because I need to hold a copy of every object in memory. Is there a way to add an ID to objects and get objects by id from the context afterwards?

Is there a better way to archieve this?

Thanks in advance