When editing the Custom UI property of an MCG graph, you can use special tags. When the graph is evaluated, the tags are replaced by the appropriate MAXScript code.
Tags are delimited by double angle brackets. Some tags are specific to particular plug-in types.
Some of the useful tags include:
-
<<UIName>>
- The name of the graph.
-
<<MAXScriptName>>
- A version of the graph name that has been sanitized to be MAXScript-safe.
-
<<XMLFile>>
- The full path and file name of the MCG graph's .maxtool file.
-
<<XmlFiles>>
- A MAXScript array of the graph's compound dependencies.
-
<<ClassIdHigh>>
- The first part of the plug-in's classID number.
-
<<ClassIdLow>>
- The second part of the plug-in's classID number.
-
<<ArgsArray>>
- Maxscript array of the graph input arguments.
-
<<ParamDefs>>
- All parameter block value definitions.
-
<<ParamUIDefs>>
- All UI elements with their handlers that appear in the generated rollout, excluding rollout-specific handlers.
-
<<RolloutParamsHandlers>>
- Rollout-specific handlers like
on params open that may be required by certain parameters, like lists (IArray).
-
<<DeclareLocals>>
- The plug-in's local variable declaration, for example, if it has INode parameters.
-
<<InitializeLocals>>
- The local variable initializations that appear at the end of the
initialize function.
-
<<ParamsRolloutName>>
- Name of the rollout.
-
<<SimRollout>>
- The rollout that is added to simulation graphs.