Hi all
I created an .ms file wich selects a bunch of objects.
I would like to assign it to a button so I could select this bunch of objects with just 1 clic.
How to do that?
Where to save the .ms file?
How to create a button?
How to assign the macrscript to the button please?
Solved! Go to Solution.
Solved by miauuuu. Go to Solution.
Add this to your file:
macroscript myScriptName
category:"My Category"
tooltip:"Select bunch of objects"
buttonText:"Select"
(
-- your code goes here
)
Then, save it as .mcr and drag and drop it onto any 3ds Max viewport.
Go to "Customize - Customize User Interface", Pick Toolbars, and find the "My Category" category. Your script is there. Drag and drop it onto any toolbar and you will have your button. Then you can add an icon to it.
Can't find what you're looking for? Ask the community or share your knowledge.