Enables you to define in which part of the specification tree the object
will be created. The context keyword may be of use in 4 different cases:
|
- It can be used together with the Input keyword. In this case, you
are prompted to enter your inputs.
|
|
context Input: FilePath
Part isa Part
{
BBB isa BodyFeature
{
Mycylinder isa Cylinder { }
}
} |
|
|
|
- It can indicate a document to be used. In this case, the "..."
are used.
|
|
context "Mypart.CATPart"
MyPart isa Part { } |
|
|
|
- It can reference an object contained in the document. In this
case the path needs to be specified (between `...`).
|
|
context `My.CATPart\MyPart\PartBody`
CC isa Cylinder { } |
|
|
|
- It can be used as an argument when the script is generated with a
knowledge Expert rule.
|
|
`$context$` |