A command context is defined as a location in the project where a command executes. This location is referred to as a project "path" and is analogous to a file structure containing the project components as leaves of a tree.
/project
/project/geometry
/project/models/spark_ignition
/project/models/spray
/project/run_settings
Every command must execute within a context. The context is specified as an attribute-value pair, where the attribute name is path:
command_name path="/project/models/spark_ignition"
Some commands are valid within any context. Other commands are valid only in a specific project context. For example, the command set_attribute
is available within any context, but the command add_spark
is only available within the /project/models/spark_ignition
context.