Notifications
Clear all
[Closed] set noWarning in CollapseNode
May 15, 2009 10:29 am
Hey Guys,
simple question that I just can’t figure out:
I want to set the noWarning to true, how do I do it?
Here’s the maxscript help:
<bool>maxOps.CollapseNode <node>node <boolean>noWarning
Collpases the complete modifier stack of the node.When noWarning is set to true,
no prompt will be issued. Returns true if successful and false otherwise.
Here’s my code:
maxOps.CollapseNode $ noWarning=true
which returns an error.
Thanks
3 Replies
May 15, 2009 10:29 am
Thanks but I already tried that and the warning still appears, here’s the warning I get:
However seeing as they are xrefs im going to use the following instead :
objXRefMgr.MergeXRefItemsIntoScene $
May 15, 2009 10:29 am
The xref code probably doesn’t check for the noWarning flag (as opposed to, say, the modifier stack warnings).
You’d either have to do what you’re doing, or use dialogMonitorOps+UIAccessor to automatically choose yes (or no) on that dialog.
Edit: oh, one more thing you could try, but not sure if prompt is hooked into it: setQuietMode true