omerit
12-02-2006, 10:46 PM
Hi All,
I'm very new to maxscript and am trying to produce a simple script.
I have a series of different sized rectangles which are editable splines
and I want to select all of them and extude each one in an amount that relates to its area.
since i don't know of a possibility in max to use a shape's area as a parameter (if anyone does please let me know), i am thinking of using the x and y length parameters.
For example a spline with an x length smaller than 10 and y length smaller than 5 will extrude at a different amount than a spline with bigger values.
please help with any ideas or directions i could follow.
Thxs!
I'm very new to maxscript and am trying to produce a simple script.
I have a series of different sized rectangles which are editable splines
and I want to select all of them and extude each one in an amount that relates to its area.
since i don't know of a possibility in max to use a shape's area as a parameter (if anyone does please let me know), i am thinking of using the x and y length parameters.
For example a spline with an x length smaller than 10 and y length smaller than 5 will extrude at a different amount than a spline with bigger values.
please help with any ideas or directions i could follow.
Thxs!
