hmmm sure… basically just another print if the file did load, but dialogs -were- detected. global batch_file global f_error fn handleBox = …
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 …
oh… try moving the line… f_error = stringStream “” From the handleBox function to just before the loadMaxFile line. The second error will ‘er…
no prob As for specific buttons, you can use ‘.pressButtonByName “OK”’, for example, to press the button labeled “OK”.
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…
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…
Haven’t run the code yet, but seems like that should be exactly what it’s doing in its current form?
You could try something like this… dialogMonitorOps.unRegisterNotification id:#test fn checkDialog = ( local hwnd = dialogMonitorOps.getWindo…
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…
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…
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…
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(…
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…
no way to automatically refresh it? ( if that’s the only problem, at least )
would it be something like this? myWire = $.radius.controller Controller:Float_Wire myTrack = (myWire.getWireParent 1)[myWire.getWireSubnum 1] SubAn…