Generate MAXScript code

Submitted by:Jhon Jhon

Date added:11 January, 2012

Category:Maxscript

You can create like following code by Visual MAXScript Editor

Tags: generate maxscript

Code Snippet:

    rollout PalisadeRollout "Palisade Generator" width:162 height:154
(
spinner spnNumberOfTrunks "Number of trunks : " pos:[22,11] width:126 height:16 enabled:true
range:[1,100,10] type:#integer controller:""
spinner spnRadius "Radius :" pos:[22,31] width:126 height:16
range:[1,20,2] type:#float controller:""
spinner spnHeight "Height : " pos:[22,51] width:126 height:16
range:[1,500,100] type:#float
colorPicker cpTrunkColor "Color :" pos:[22,71] width:126 height:24 title:"Choose a color"
button btnCreate "Create" pos:[99,129] width:50 height:20
button btnCancel "Cancel" pos:[43,129] width:50 height:20

on btnCreate pressed do
(

)

on btnCancel pressed do
(

)
)
 
 

Comments