Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

intermediate maxscripter to basic mel artist questions(decent managment)

2 REPLIES 2
Reply
Message 1 of 3
lalamax3d
535 Views, 2 Replies

intermediate maxscripter to basic mel artist questions(decent managment)

hopefully, there must be way.

in 3dsmax, as scripts start getting huge / complicated, i learned from bobo / wahooney / neale / tim hormis >> how to break rollouts into separate peices and rather than writing so many global stuff, we can simply write one global structure and add so many functions to use any where.

my questions are:

1- if i have 10 procedures which i need to call them from some UI, then
- is it must to make each procedure global.??
- is there a way to make one global structure / library and put all of them in one file.

2- we can't have procedure inside procedure ? right?
3- is it possible / logical
- in a script, first define layout / controls
- then define all procedures ( local )
- then define all events >> controls binding to functions...
or totally wrong ??

hope to hear soon
thanks
haseeb
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: lalamax3d

http://www.djx.com.au/blog/category/tutorials/

is a link to more advanced approach of modules......the tutorial is half way down....Davvey World and Modules.....

you should also download the Davvey scripts from highend3d.....they are very complex.. And will give you a good foot print to follow.

so yes, you can organize scripts and libraries in many different ways. Another great UI script is Seth Green's Tippet Lighting Rig. It is very advanced and detects pre-existing rigs and modifys the UI to an edit mode accordingly.
Message 3 of 3
lalamax3d
in reply to: lalamax3d

thanks, it helps...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report