3ds Max C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Script Source Types

Defines the possible sources of the scripts executed by 3ds Max through the MAXScript engine.

Defines the possible sources of the scripts executed by 3ds Max through the MAXScript engine.

Different execution rights apply to scripts depending on their source. Execution rights could be defined by 3ds Max's security settings or could be hard coded. The Script Source type is specified when compiling MAXScript code and specifies whether the source of the MAXScript code was a scene file (i.e., a scene file embedded script); a script file, manually evaluated script, or hardcoded script executed via c++; or a script executed via c++ where the script includes portions that are not hard coded (for example file names, scene nodes names, scripts read from configuration files). The Script Source type is used when executing the MAXScript code to determine the security rights of the code. For example, based on security settings a scene file embedded script may not be able to create most dotnet classes.

See also
class ISceneScriptSecurityManager