and for meshes : meshop.weldVertsByThreshold $ #all 0.001
I suggest to use a null point/dummy placed and oriented on the object’s face where the aligned pivot would be. Parent the object to this null. Move/ro…
@ Dave & Denis Thanks gentlemen, I’ve learned something new !
Code: for n in (refs.dependents layer) where superClassof n!=ReferenceTarget if you use it to find nodes in a layer this is not a right method. …
Yesss denisT, I was just waiting for that ! Happy 7000 !! :applause: Thanks for sharing your thoughts since 2009. I’m here since 2002, and … I’ll …
My method would be : for m = 0 to layerManager.count-1 do — loop on each layer (include layer “0” default) ( lmLayer = layerManager.getLayer m …
maybe this could help you ?
You don’t have to “freescenebitmaps()” to close the old bitmap. Just make a “close yourBitmap” or “free yourBitmap”. But all of this is not necessary….
It is simpler : just make a copy of your grab bitmap in a smaller bitmap and it’s done ! ( viewgrab = gw.getViewportDib() half_viewgrab = bitmap…
Maxscript has tools to execute scripts before or after render (each frame or whole sequence). Launched via callbacks it can do what you want fn crea…
My thoughts: About Tiny vs Big : I used to make tiny UI buttons because I felt them cute and I didn’t want to take a lot of space in max interface. B…
does this help you ? ( clearListener() global checkVpChange local curr_VP = viewport.getType() print (“Current VP: ” + curr_VP as string) fn…
as a workaround: ( maxFile = @”D:\path o\my\file.max” arr = getMAXFileObjectNames maxFile quiet:true cams = for str in arr where (ma…
you have this : getMAXFileObjectNames <max_filename_string> [quiet:<bool>] It only returns an array of strings, so you can’t check if cl…
You can use “mergeMaxFile” with “#prompt” argument to filter/select/cancel what you want in the target max file : mergeMAXFile @”D:\path o\max\file.m…