Hey Bobo thanks a lot! I had missed to include the radiobuttons among the parameters, only had them in the rollout. I also realised that those global …
Hey schwett, here is one way to do it. I’m sure there are other ways too. [color=wheat]facenormal = polyop.getFaceNormal $.baseobject ((polyop.getFa…
Nevermind, I found the solution myself. It would be something like this for getting the screencoordinates for a vert: gw.setTransform(Matrix3 1) ve…
Hi Bobo, the thing is I have a script that is creating polygons in vertex subobjectlevel (or subobjectlevel 0), so I need the function to work whateve…
Another way to do it would be to use the new Question functions in max7. Here is the syntax: polyop.questionObject $ “How far is it to the surface be…
Hey here’s loosely what you could try: Get the pivot of the object with… $.pivot or something like that. then loop through the polygons of the surface…
Hey for the checking if it’s a spline object or not you could use this on the extrude part of the script: [size=2][color=white]if [/color]superclasso…
Hi, here some code that would do what you need: addmod extrude ; $.modifiers[#extrude].amount = 72 addmod Uvwmap ; $.modifiers[#UVW_Mapping].maptyp…
Hey if you absolutely need to run the script from outside you could maybe use something like this: on myButton pressed do ( try( fileIn “script.ms” )…
Perhaps you can create a Dialog window instead of a rollout floater, and use the “on rollout close do”. Just define a rollout “Myrollout” and use Crea…
Aha ok, but it only works on edges that are crossing a quad, like so: I have edited the script now so it doesn’t remove edges if you choose different…