Friday, March 4, 2011

[MaxScript] Toggle Wire Per Object

 
[3dsmax Script] Toggle Wire Per Object
---------------------------------------------
The following script was to avoid a simple hassle while modeling with blueprints.The default X-ray mode in 3dsmax works well but it still shows shading and doesn't really show the background image clearly.So the following simple code allows us to just turn off the visibility of the selected objects to see just the wire-frame of the object and the blueprint.
macroScript Toggle_Wire 
 category:"PB_Tools"
 toolTip:"Toggle Wire Per Object"
 
-- updated: 21-11-2008 : works now on multiple selections

(
 for i = 1 to $selection.count do
  (
   if $selection[i].visibility == off 
    
  then 
   
   $selection[i].visibility = on

  else 
   $selection[i].visibility = off 
)


)


No comments:

Post a Comment

Thank you for visiting my blog.Post your comments here.:)

Creative Commons License
This work by Priyabrata Biswal is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.