Copy custom button + maxscript to another computer

Copy custom button + maxscript to another computer

Anonymous
Not applicable
973 Views
7 Replies
Message 1 of 8

Copy custom button + maxscript to another computer

Anonymous
Not applicable

Hello,

 

I have a Maxscript which executes a python script. I created a custom toolbar, and added the maxscript to it.

Is there a way I can copy the button, icon, maxscript, and python script as one package that I can distribute to another user?

 

- Jed

0 Likes
974 Views
7 Replies
Replies (7)
Message 2 of 8

Alfred.DeFlaminis
Alumni
Alumni

Hello @Anonymous,

 

There isn't a way to do it as one package that I am aware of by default.  You could use the Save Custom UI Scheme and Load Custom UI Scheme to save the button and toolbar, but you'd have to manually place the scripts in the appropriate folder.  

 

Otherwise what you can do is make an MZP file which will install things in the correct locations by dragging the mzp into a Max viewport.  It should get you most of the way there but it is a bit technical.  Since you are writing python and maxscript it should be no problem for you, but it's my best suggestion in this case.  I have some links below to get you on the right path.  Some are from 3rd party sites.  Although some of the below links aren’t part of Autodesk, this post may have information that could help you.  Please use best practices to safeguard your systems if you decide to adopt any of the suggestions on these sites.

 

Build an mzp maxscript in 3dsMax

Script Installation in 3ds max (Scroll to about half way down the page)

 

If one or more of these posts helped answer your question, please click "Accept as Solution" on the posts that helped you so others in the community can find them easily and thank you for doing so.

 

Best Regards,

 

Message 3 of 8

Anonymous
Not applicable

Can't wait to test this, thanks for answering both my questions today!!

Message 4 of 8

Alfred.DeFlaminis
Alumni
Alumni

Happy to help @Anonymous!  Smiley Very Happy

 

If it all works out, please mark any posts as a solution so the next person with this question can find their answer quickly.  Thank you so much for doing that!  Also, if you have any trouble please let me know and I'll do whatever I can to help you.

 

Best Regards,

0 Likes
Message 5 of 8

Anonymous
Not applicable

The github link certainly doesn't work out of the box yet, but I'll accept if I can get it to work. Thanks again

0 Likes
Message 6 of 8

Alfred.DeFlaminis
Alumni
Alumni

Hello @Anonymous,

 

I just wanted to follow up here, any progress on this issue?

Best Regards,

0 Likes
Message 7 of 8

Anonymous
Not applicable

No I haven't been able to get it working yet

0 Likes
Message 8 of 8

Alfred.DeFlaminis
Alumni
Alumni

Hello @Anonymous,

 

I see.  I wish I knew more about scripting and programming.  I'm going to move this thread to the programming forum to see if someone there has any ideas.  There are three expert elites I can think of that might have some ideas about it.   @lightcube,  @Swordslayer, or @spacefrog_ are my go to guys for stuff like this.  Thanks for your patience.

 

EDIT: Silly spelling mistake. 


Best Regards,

0 Likes