Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / Suppressing Clone Options dialog
  RSS 2.0 ATOM  

Suppressing Clone Options dialog
Rate this thread
 
41640
 
Permlink of this thread  
avatar
  • Pix10
  • Posted: 07 April 2010 11:58 PM
  • Total Posts: 101
  • Joined: 29 October 2009 03:54 PM

Is there a Quiet Mode equivalent or method for suppressing the Clone Options dialog box?

i.e. when cloning objects with…

maxOps.cloneNodes cloneType:#copy newNodes:&nnl


3DS Max 2010/12/13 | Maya 8.5 | MotionBuilder 7.5
Windows 7 64bit | 12GB | i7 980X 3.33 ~4.0 (Overclocked)
nVidia FX 3800 270.51 [8.17.12.7051]
Cintiq 21UX 2010
[3DS since DOS R1]

Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

What version of Max? This can often be a vital piece of information, so please put it, and your brief system specs, in your sig - that way we don’t have to keep asking.

Just tried this in 2011 and supplied all the parameters and did not see the clone options dialog.

actualNodes #()
newNodeList #()

maxOps.CloneNodes &selection offset:[20,20,20] expandHierarchy:false cloneType:#instance actualNodeList:actualNodes newNodes:newNodeList


Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 1
/img/forum/dark/default_avatar.png

This is in Max 2010, 2011 will have to wait till I have some respite.

Your sample did the trick, thanks. I take it this is because you’ve defined the nodelist beforehand, rather than the inclusion of all parameters? (I’ve not handled MaxScript for nearly a decade, so I’m a bit rusty...)

Author: Pix10

Replied: 08 April 2010 02:09 AM  
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

Probably the 2nd nodelist. In your original you didn’t give it anywhere to store the results which may have been the cause - I didn’t test further than the above. You’ll have to play to see which params you can leave off and still not get the dialog.

You could also try using the Copy/Instance/Reference functions instead - may be a bit more work, but would probably give you greater flexibility.



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 0