Macroscript icons, alternative directories?


When declaring a macro the assigned icons (icon: #(“myicon”,1)) normally go in the apps installation directory (C:\Program Files\Autodesk\3ds Max 2016\UI…), but the problem with this is when installing scripts in Program Files it’s required that users be running as admin in order to add/delete/modify anything.

Is there another directory they will load from? usericons in AppData\Local\Autodesk\3dsMax doesn’t seem to work (whats it even for?)


you can put your icons in #usericons directory

getDir #usericons


can i put my icon on a folder inside usericons with something like this ?

Icon:#((getDir #usericons as string + “\folder\iconname”),1)

for some reason this line of code makes the whole macro goes missing


You can try:
iconName:“Your icon name and format”
for example: iconName:“Amtlogo_32i.png”
Put the icon file in the “ui_ln” folder

I’m a beginner, just some advice That’s how I solve my problem.