Notifications
Clear all

[Closed] What are name values in maxscript?

What are the “things” with # before the name, I’ve used them but I dont know how to create my owns, or when to use them.
This is what the official documentation says, but I just dont get it, some examples would be good.

MAXScript also allows you to work directly with names as values at runtime, as you can with numbers and strings. To write a name value in MAXScript, you preface the name with a “#”:

1 Reply

no need to create a name , unless you need calculate strings as name
mostly , name can be replace as string or class , you can understand it as another way to use for string , such as
$.modifiers["bend"] equal to $.modifiers[#bend]