treeisgreat
04-12-2005, 12:20 AM
I recieve an error everytime I try to run any script in Max.
-- Type error: Call needs function or class, got: undefined
I don't know where the error is but here is the simple script:
-- SolarSystem.ms
rollout ssRoll "Solar System"
(
spinner spn_sunRadius "Sun Radius"
button but_creatSun "Create Sun"
spinner spn_numPlants "Number of Planets"
group "Plants"
(
pickbutton pbt_pickPlant "Pick Plant"
spinner spn_planetRadius "Plant Radius"
spinner spn_orbitRadius "Orbit Radius"
)
)
createDialog ssRoll 200 200
Any help with this would be appreciated
-- Type error: Call needs function or class, got: undefined
I don't know where the error is but here is the simple script:
-- SolarSystem.ms
rollout ssRoll "Solar System"
(
spinner spn_sunRadius "Sun Radius"
button but_creatSun "Create Sun"
spinner spn_numPlants "Number of Planets"
group "Plants"
(
pickbutton pbt_pickPlant "Pick Plant"
spinner spn_planetRadius "Plant Radius"
spinner spn_orbitRadius "Orbit Radius"
)
)
createDialog ssRoll 200 200
Any help with this would be appreciated