Hi
My problem is when you press the button in my script and if a spline shape is selected i want it to go to subobjectLevel = 1
if its a polygon object or a mesh object or any other object other then a spline shape i want it to say messageBox "You must select a shape "
this is what i tried no luck
On ON3 pressed do
(
objs = getCurrentSelection();
(
if (classOf objs == SplineShape ) then
subobjectLevel = 1
else
messageBox "You must select a shape..."
)
)
Thanks in advance!!!!
Anubis · 2010-05-25