Returns the name of the operation.
[Example]
operations = program.GetOperations()
for olpOperation in operations:
operationName = olpOperation.GetName()
Sets the new name of the operation.
[Example]
program = Operator.GetActiveProgram()
opGroups = program.GetOperationGroups()
for opGroupCounter, opGroup in enumerate(opGroups, 1):
for opCounter, operation in enumerate(opGroup.GetOperations(), 1):
operation.SetName("NewName")
•
|
OverrideAttribute(string: name)
|
|
|
Name of the attribute to override
|
Overrides an attribute with the given name.
[Example]
olpOperation.OverrideAttribute("AttributeName")
•
|
GetProcessGeometryIdentifier(): string
|
Returns the UUID of the process geometry of the current operation.
[Example]
uuid = olpOperation.GetProcessGeometryIdentifier()
Returns all toolpath elements of the operation.
[Example]
tpes = olpOperation.GetTpElements()
•
|
GetTpElementsWithEvent(string: eventName): list
|
Returns all toolpath elements of the operation with given event name.
[Example]
tpes = olpOperation.GetTpElementsWithEvent("EventName")
Returns the CENPyOlpAttribGetter operator.
[Example]
attribGetter = olpOperation.GetAttribGetter()
Returns the CENPyOlpAttribSetter operator.
[Example]
attribSetter = olpOperation.GetAttribSetter()
Get all toolpath tracks of the operation.
[Example]
tracks = olpOperation.GetTracks()
|