I know this is a real noob question, but let's say i wanted to create a box and then convert it to EPoly at the press of 1 button...what would be the code for the button do()?

Thanks

-Gerd

erilaz

09-26-2005, 10:49 PM

This is fairly straightforward with a little reference browsing, but here's one way to do it:

on btn1 pressed do
(
boxObj = box()
convertto boxObj editable_poly
)

This give you the default box converted to editPoly. There are other ways to convert to editPoly as well.

omega3d

09-27-2005, 01:37 AM

For the most part, if you just open the maxscript listener (F11) & enable it with the right settings, then do your action, it should show up... You can then just copy and paste that code into your maxscript file.

CGTalk Moderation

09-27-2005, 01:37 AM

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us on TheArtSociety.com