How can we get list of "scripted Modifiers" filenames which are used in a max file?! ( isMSPlugin true )

How can we get list of "scripted Modifiers" filenames which are used in a max file?! ( isMSPlugin true )

majid.adab
Participant Participant
445 Views
3 Replies
Message 1 of 4

How can we get list of "scripted Modifiers" filenames which are used in a max file?! ( isMSPlugin true )

majid.adab
Participant
Participant

Hello Everyone,

I want the list of "scripted Modifiers" ( not plugins ) used in a .max file as modifiers, controllers, or everywhere.
I mean the list of script filenames (.ms , .mse ) in use in the file.

 

how can I get this list with maxscript?
I can collect scripted modifiers and custom attributes with "isMSPlugin" and "isMSPluginClass", but how can I get their related filenames and paths? 

 

Regards

0 Likes
446 Views
3 Replies
Replies (3)
Message 2 of 4

denisT.MaxDoctor
Advisor
Advisor

There are a few questions:
1. what do you mean by "the max file uses a scripting plugin"? Does it mean that there are instances of scripted plugins in the scene?
2. why do you think every scripted plugin must have a source file?

0 Likes
Message 3 of 4

majid.adab
Participant
Participant

yes, instances of scripted plugins in the scene
simply I just want the list of .ms and .mse scripts that I added to my 3dsmax. but not all of them just the ones which is used in my .max file.

I want to move my file to another system and it gives me error because those scripts are not present in the new system.
I force to write down the name of those "scripts" and then copy them from my original system and install them in my new system.

 

I want to know if there is any way I can find the list of those additional script files and copy them beside my file to move it to the new system. that is it.

 

because in the file properties:
we just see the list of used-plugins and it does not give me installed .ms and .mse filenames.
so for plugins, it is ok.
for MCG also it is ok because they are in the asset browser.

my problem is only added scripts in the startup folder of my 3dsmax. but I have installed hundreds of scripts and I did not want to install all of them in the new system

 

 

0 Likes
Message 4 of 4

denisT.MaxDoctor
Advisor
Advisor

No need to make anything up, just let it happen naturally. Load the files into the new version (or system), if you get an error message about missing plugins, find the source files by name match manually and copy them.

 

This will ensure that you only use what you need.

 

 

0 Likes