Jump to content

How can I make a menu item out an encrypted max script (quadchamfer)?


Coolhand78
 Share

Recommended Posts

Hi guys,

 

I'm wanting to create a menu item (under a custom file menu) for the quad chamfer script

but as its an encrypted maxscript i cant seem to do it...?

 

it also doesn't seem to appear in the actions box under Customize User Interface...?

 

any help would be much appreciated.

Link to comment
Share on other sites

You have to create a Macro for this:

 

macroScript QuadChamfer category:"Coolhand78's Macros"
(
 local encryptedScript= GetDir #userscripts  + "/quadchamfer.mse"
 filein encryptedScript
)

Of course your script path / and or script names might differ

 

Simple copy/paste into maxscript editor and evaluate ( Ctrl-E ), or save as .mcr and into your usermacros folder and restart Max

You'll find the category from the first line in you User Interface configuration then

Link to comment
Share on other sites

You have to generate the same macroscript code structure for each of the encrypted scripts seperately. You can put them all in one .mcr file, which you then put into your usermacros folder. This prevents cluttering of your macroscripts folder. But each should use the same macroscript ToolXXX ( ..... ) block like the above example.

 

Of course have to give them different names ( after the macroscript tag )

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...