Distribute python script to users

Distribute python script to users

Anonymous
Not applicable
969 Views
2 Replies
Message 1 of 3

Distribute python script to users

Anonymous
Not applicable

Hey Guys,

 

I've created a python script with some supporting files and placed it in my Max Directory/scripts/Python folder. 

 

Now I want to distribute it to people to use. How should I go about it? I would ideally like a button in the menu from which users can run this script.

 

I couldn't find any documentation on distributing a python script as a plugin. 

 

Any thoughts on how I should go about this?

 

Thanks.

0 Likes
970 Views
2 Replies
Replies (2)
Message 2 of 3

MartinBeh
Advisor
Advisor

You should be able to use the normal .mzp installation feature designed for MAXScript to place your Python files in the right folders.

So your user would only get a single .mzp file to drag and drop onto a 3ds Max session.

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 3 of 3

Anonymous
Not applicable
I have had the same need.
You have some different ways.
1. Put your script in a shared folder, better if this is a shared folder on a nas and the structure of this folder are the same of "localappdata" folder of 3dsmax. Create a file ".Bat" with all the instruction, for example a simple "robocopy" that copy that folder from a Nas to each user in "localappdata" folder of 3dsmax. Put this bat file on the desktop of all user. Every time you need sincronize a script put it in the shared folder and say at your user "Hay bro! There is a new stuff! click on bat file and restart 3dsmax 🍻"

2. If you have more computer connected to a windows server and some group policy... you can use Group Policy Manager of Windows Server to execute the same bat file automatically at logon of every single user.

Scuse me for my English 😜
0 Likes