View Full Version : ...highlighting an Object in MXS ?
Polimeno 10-18-2008, 07:08 AM is it possible to highlight an Object using MaxScript ?
for example,
like when you link two objects, you have a very quick visual display in wireframe mode of the parent/child showing the connection.....
if yes,
how to do it and how to use the way you want to ??
thanks
|
|
ZeBoxx2
10-18-2008, 12:33 PM
What you're looking for is the flashNodes function;
-- highlight (without selecting), objects "GeoSphere02" and "GeoSphere03"
flashnodes #($GeoSphere02,$GeoSphere03)
-- remove the highlighting by redrawing the viewport
forceCompleteredraw()
The alternative dirty (because it flags the objects as having been selected which might invoke callbacks, etc.) method, but wouldn't require a complete redraw, would be to just temporary select them, then deselect them
select #($GeoSphere02,$GeoSphere03)
sleep 0.5
deselect #($GeoSphere02,$GeoSphere03)
Polimeno
10-19-2008, 01:28 AM
cool, thanks !
=)
CGTalk Moderation
10-19-2008, 01:28 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.