> Is it possible to highlight facets like boxes do?

Yes, but the facet must not be drawn as wire. If #3 is facet, do
something like this:

bs=O.bodies[3].shape
shape['wire']=False
shape['highlight']=True

(translated straightforwardly to c++)

Note that if you define onBodySelected function in python, it is called
as callback when you select a body with shift+right mouse button:
scripts/simple-scene.py shows that. In that functions, you can do other
things; I used it to dump all interaction properties of that body to the
console etc, for debugging.

HTH, Vaclav

> ______________________________
> [ENG] Best Regards
> [GER] Mit freundlichen Grüßen
> [RUS] С наилучшими пожеланиями
> [UKR] З найкращими побажаннями
> 
> Anton Gladkyy
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
yade-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yade-dev

Reply via email to