It works for me. When I set the rendererr to MentalRay and there are only standard materials in the scene the script change the rendere to Scanline an…
( mats = for m in scenematerials collect m stopLoop = false for m in scenematerials while stopLoop== false do ( matStr = m as string if ((ma…
Try this: ( fn FindAndReplace str fnd rpl = ( addpos = findString str fnd if (addpos != undefined) do (replace str addpos fnd.count rpl) …
gtafan, this is directly copied from maxscript help file: The case expression is used to select an expression to be evaluated from a set of labeled …
Does anyone know how to edit a post posted few months ago?
From here you can download the produced scene saved in max 2018. It is saved for max 2015. The result is the same in Max 2019. I can check for 2016 an…
Klvnk: damper.ispb2based damper.ispb2based false In the maxscript editor the command is not colored in any special way(like objects, polyop, etc….
gtafan: b=box() convert to editable_mes b for i=1 to b.numfaces do format “%\n” getFaceMatID b i This code: ( b=box() converttoMesh b for i…
Does your code finish with: update meshObject
The size of the lines can’t be changed using maxscript. I don’t know if c++ will help also. To see the outlines in non active viewport – draw them usi…
Yes. Search the maxscript help file for Viewport Drawing Methods.
After the HitPos is found check if it is in positive X axis of the object. if (HitPos * Target.transform).x > 0 then “posotive X” else “negative x…
I want to report a bug with some of my first post in some of my old threads. The old formated post are not displayed properly. They looks like this: …
Check the count of the faces. For example: ( spl = $Shape001 splAsPolyObj = convertToPoly spl if splAsPolyObj.numfaces != 0 t…