Groups > Design > 3dsmax MAXScript > Scripting Section Spline




Scripting Section Spline

Scripting Section Spline
Wed, 19 Sep 2007 17:45:35 +000
I am trying to take sections through several objects using section
spline(create>>spline>>section)using scripting. I am able to place
the section and rotate it, but I am not able to create the same code as if I
pushed the 'Create Shape' button on the create panel. So far I have

section length:0.379974 width:9.87936 pos:[8.06751,-20.8471,0] isSelected:on
$.POS = [9.33343,-21.0218,18.9204]
rot_obj = eulerangles 90 0 0
ROTATE $ ROT_OBJ
convertToSplineShape XYZ

The 'convertosplineshape' creates the spline from the section not create a
seperate shape.

Any ideas?

Post Reply
about | contact