ricozone
@ricozone
New Member
Joined: Feb 15, 2024
Topics: 8 / Replies: 50
Reply
RE: Can welding be automated?

and for meshes : meshop.weldVertsByThreshold $ #all 0.001

10 years ago
Forum
Reply
RE: Aligning pivot to rotated poly and reset xform

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…

10 years ago
Forum
Reply
RE: Automatic Material by Layer

@ Dave & Denis Thanks gentlemen, I’ve learned something new !

10 years ago
Forum
Reply
RE: Automatic Material by Layer

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. …

10 years ago
Forum
Reply
RE: Automatic Material by Layer

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 …

10 years ago
Forum
Reply
RE: Automatic Material by Layer

My method would be : for m = 0 to layerManager.count-1 do — loop on each layer (include layer “0” default) ( lmLayer = layerManager.getLayer m …

10 years ago
Forum
Reply
RE: Automatic Material by Layer

maybe this could help you ?

10 years ago
Forum
Reply
RE: how to reload a bitmap

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….

10 years ago
Forum
Reply
RE: what am i doing wrong?

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…

10 years ago
Forum
Reply
RE: write a text file after render each frame

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…

10 years ago
Forum
Reply
RE: MXS coding standards: UI

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…

10 years ago
Forum
Reply
RE: callbacks change viewport

does this help you ? ( clearListener() global checkVpChange local curr_VP = viewport.getType() print (“Current VP: ” + curr_VP as string) fn…

10 years ago
Forum
Reply
RE: Get Cameras in an unloaded scene

as a workaround: ( maxFile = @”D:\path o\my\file.max” arr = getMAXFileObjectNames maxFile quiet:true cams = for str in arr where (ma…

10 years ago
Forum
Reply
RE: Get Cameras in an unloaded scene

you have this : getMAXFileObjectNames <max_filename_string> [quiet:<bool>] It only returns an array of strings, so you can’t check if cl…

10 years ago
Forum
Reply
RE: Get Cameras in an unloaded scene

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…

10 years ago
Forum
Page 2 / 4