ZeBoxx2
@zeboxx2
New Member
Joined: Feb 14, 2024
Topics: 7 / Replies: 1402
Reply
RE: Close dialog windows from maxscript

hmmm sure… basically just another print if the file did load, but dialogs -were- detected. global batch_file global f_error fn handleBox = …

17 years ago
Forum
Reply
RE: Close dialog windows from maxscript

hmm. hold on… what ‘two errors’ are you getting, exactly? Presumably if the max file won’t load, then that’s the only error you should be getting for …

17 years ago
Forum
Reply
RE: Close dialog windows from maxscript

oh… try moving the line… f_error = stringStream “” From the handleBox function to just before the loadMaxFile line. The second error will ‘er…

17 years ago
Forum
Reply
RE: Close dialog windows from maxscript

no prob As for specific buttons, you can use ‘.pressButtonByName “OK”’, for example, to press the button labeled “OK”.

17 years ago
Forum
Reply
RE: Close dialog windows from maxscript

Here’s just a quick adjustment… Things to keep in mind are… you have to make sure you close that batch text file when done (otherwise a handle remai…

17 years ago
Forum
Reply
RE: Close dialog windows from maxscript

silly me… As I said, the function used by DialogMonitorOps -must- return true/false. You changed the code around so that if the hwnd -isn’t- zero, i…

17 years ago
Forum
Reply
RE: Close dialog windows from maxscript

Haven’t run the code yet, but seems like that should be exactly what it’s doing in its current form?

17 years ago
Forum
Reply
RE: Close dialog windows from maxscript

You could try something like this… dialogMonitorOps.unRegisterNotification id:#test fn checkDialog = ( local hwnd = dialogMonitorOps.getWindo…

17 years ago
Forum
Reply
RE: Close dialog windows from maxscript

if you still get a dialog despite using silent:true, have a look at DialogMonitorOps and UIAccessor ; combine the two and you can easily close any dia…

17 years ago
Forum
Reply
RE: Accessing Bitmap Values of IFLs?

not sure what you’re asking – but if you just want to treat it as a regular bitmap, then openBitmap will do the trick just fine. You can use the .fra…

17 years ago
Forum
Reply
RE: DockDialogBar #cui_dock_top issues

You could set the ‘#cui_max_sized’ style; that will stick it in its own toolbar line (and indeed it is odd that 3ds Max doesn’t do that even when drop…

17 years ago
Forum
Reply
RE: Insert vertex

a-ha Your explanation is the reason I ask – the script becomes a lot easier when the parameters are narrowed down. for o in (getCurrentSelection(…

17 years ago
Forum
Reply
RE: Insert vertex

dare I ask why you don’t wish to enter that mode? Although the code behind inserting the vertex is nicely abstracted (macro recorder reports it), a l…

17 years ago
Forum
Reply
RE: Get the named track of a wire param

no way to automatically refresh it? ( if that’s the only problem, at least )

17 years ago
Forum
Reply
RE: Get the named track of a wire param

would it be something like this? myWire = $.radius.controller Controller:Float_Wire myTrack = (myWire.getWireParent 1)[myWire.getWireSubnum 1] SubAn…

17 years ago
Forum
Page 61 / 94