try this one: ForceForegroundWindow src = “using System;” src += “using System.Runtime.InteropServices;” src += “class User32” src += “{” src +…
ZenithII: in the message body it changes something post it inbetween [code] … [/code] tags
It was already there in 2014 and I used it in my another script. It was sphere creation that ate all the ram and hung the max. Your script actually wo…
denisT: I think the Display Filter solution is much cleaner and safer: that’s what I ended up with in 2014 изображение.png778x498 38.8 KB Bt…
cgexposure: Running this code will not do anything. Sure, it doesn’t work this way get sme window handle get sme toolbar window handle get mac…
cgexposure: like DropToSlate for example. I posted the code we used in d2s here
cgexposure: (n.pos + [ 200, 0 ] seems like you forgot closing parenthesis anyway, this code won’t work in older max versions ( in older ones the…
try moving view variable definition outside the loop for it to work
Probably that’s all you have to do: for n in (view = SME.GetView SME.ActiveView).GetSelectedNodes() where iskindof n.reference VrayBitmap do ( …
here’s up to date maxscript and sdk threads titles with post count and creation date. Unfortunately there’s no easy way to know the thread author CGTa…
forum now lacks 90% features it once had and the search is one of them for me it just shows empty page googling like this seems like the only option…
To keep it simple you can use timer and on each tick check whether windows.getChildHWND #max “Mouse Tool” returns anything meaningful. But of course i…
Where do you get that big array of filepaths from? Maybe you could just use .net .GetFiles with a mask instead? or mxs built-in getFiles <wild_card…
most likely printTime gets garbage collected before the first tick event
You need to get the handle of toolbar to add your custom macro buttons. It is much harder to add custom menu items Toolbar ICustBut…