Notifications
Clear all
[Closed] Convert To EPoly?
Sep 26, 2005 11:18 pm
Hey,
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
2 Replies
Sep 26, 2005 11:18 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.
Sep 26, 2005 11:18 pm
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.