Returns the name of the operation group.
[Example]
opGroups = program.GetOperationGroups()
for olpOperationGroup in opGroups:
opGroupName = olpOperationGroup.GetName()
Sets the new name of the operation group.
[Example]
program = Operator.GetActiveProgram()
opGroups = program.GetOperationGroups()
for opGroupCounter, opGroup in enumerate(opGroups, 1):
opGroup.SetName("NewName")
•
|
GetParentProgramName(): string
|
Returns the parent program name of the operation group.
[Example]
logging = Operator.GetLoggerOperator()
program = Operator.GetActiveProgram()
opGroups = program.GetOperationGroups()
for opGroupCounter, opGroup in enumerate(opGroups, 1):
logging.LogInfo(f"Parent program name: {opGroup.GetParentProgramName()}")
•
|
OverrideAttribute(string: name)
|
|
|
Name of the attribute to override
|
Overrides an attribute with the given name.
[Example]
olpOperationGroup.OverrideAttribute("AttributeName")
Returns all operations of the operation group.
[Example]
operations = olpOperationGroup.GetOperations()
Returns all toolpath elements of the operation group.
[Example]
tpes = olpOperationGroup.GetTpElements()
•
|
GetTpElementsWithEvent(string: eventName): list
|
Returns all toolpath elements of the operation group with given event name.
[Example]
tpes = olpOperationGroup.GetTpElementsWithEvent("EventName")
|
|
The workmethod name which computes this operation
|
|
|
The process geometry
|
|
|
Object of CENPyOlpOperation class
|
Creates a new operation.
[Example]
opGroup.CreateOperation('CONTOUR_METHOD', pgOperator)
Returns the CENPyOlpAttribGetter operator.
[Example]
attribGetter = olpOperationGroup.GetAttribGetter()
Returns the CENPyOlpAttribSetter operator.
[Example]
attribSetter = olpOperationGroup.GetAttribSetter()
Get all toolpath tracks of the operation group.
[Example]
tracks = olpOperationGroup.GetTracks()
|