System Attrib Setter — Mutation Methods
Back to System Attrib Setter.
SetTranslationX
def SetTranslationX(transX: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
transX | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetTranslationY
def SetTranslationY(transY: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
transY | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetTranslationZ
def SetTranslationZ(transZ: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
transZ | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetRotationRx
def SetRotationRx(rotX: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
rotX | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetRotationRy
def SetRotationRy(rotY: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
rotY | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetRotationRz
def SetRotationRz(rotZ: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
rotZ | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetCutterCompensation
def SetCutterCompensation(cutComp: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
cutComp | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetOffsetX
def SetOffsetX(offset: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
offset | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetOffsetY
def SetOffsetY(offset: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
offset | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetOffsetZ
def SetOffsetZ(offset: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
offset | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetSheetOffset
def SetSheetOffset(offset: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
offset | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetOffsetRx
def SetOffsetRx(offset: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
offset | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetOffsetRy
def SetOffsetRy(offset: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
offset | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetOffsetRz
def SetOffsetRz(offset: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
offset | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetAlignmentRx
def SetAlignmentRx(alignX: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
alignX | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetAlignmentRy
def SetAlignmentRy(alignY: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
alignY | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetAlignmentRz
def SetAlignmentRz(alignZ: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
alignZ | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetApproximType
def SetApproximType(approxType: int, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
approxType | int | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetMaxSag
def SetMaxSag(maxSag: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
maxSag | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetMaxDist
def SetMaxDist(maxDist: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
maxDist | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetMinRadius
def SetMinRadius(minRad: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
minRad | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetMaxRadius
def SetMaxRadius(maxRad: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
maxRad | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetStartPointValue
def SetStartPointValue(value: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
value | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetEndPointValue
def SetEndPointValue(value: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
value | float | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetApproachDirection
def SetApproachDirection(dir: bool, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
dir | bool | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetProcessFlowDirection
def SetProcessFlowDirection(dir: bool, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set a new value for the standard system attribute if it exists.
Parameters:
| Name | Type | Description |
|---|---|---|
dir | bool | New value to set. |
overrideMode | int | Override mode. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetCuttingPlaneXpos
def SetCuttingPlaneXpos(posX: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set the olp attribute for the X position of the cutting plane from the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
posX | float | X position of the cutting plane, relative to the workpiece’s root frame. |
overrideMode | int | If OperationLevel, find the attribute in the group or program and override it in the operation. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetCuttingPlaneYpos
def SetCuttingPlaneYpos(posY: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set the olp attribute for the Y position of the cutting plane from the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
posY | float | Y position of the cutting plane, relative to the workpiece’s root frame. |
overrideMode | int | If OperationLevel, find the attribute in the group or program and override it in the operation. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetCuttingPlaneZpos
def SetCuttingPlaneZpos(posZ: float, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set the olp attribute for the Z position of the cutting plane from the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
posZ | float | Z position of the cutting plane, relative to the workpiece’s root frame. |
overrideMode | int | If OperationLevel, find the attribute in the group or program and override it in the operation. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetCuttingPlaneXrot
def SetCuttingPlaneXrot(rotX: float, propertyChanged: bool, avoidRecompute: bool, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set the olp attribute for the rotation around X axis of the cutting plane (manipulator’s Rx field) from the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
rotX | float | X rotation of the cutting plane, relative to the workpiece’s root frame. |
propertyChanged | bool | True if property changed event should be called, otherwise False. |
avoidRecompute | bool | Temporarily set ComputeEnterState to None to avoid a recompute when setting the attribute. |
overrideMode | int | If OperationLevel, find the attribute in the group or program and override it in the operation. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetCuttingPlaneYrot
def SetCuttingPlaneYrot(rotY: float, propertyChanged: bool, avoidRecompute: bool, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set the olp attribute for the rotation around Y axis of the cutting plane (manipulator’s Ry field) from the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
rotY | float | Y rotation of the cutting plane, relative to the workpiece’s root frame. |
propertyChanged | bool | True if property changed event should be called, otherwise False. |
avoidRecompute | bool | Temporarily set ComputeEnterState to None to avoid a recompute when setting the attribute. |
overrideMode | int | If OperationLevel, find the attribute in the group or program and override it in the operation. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetCuttingPlaneZrot
def SetCuttingPlaneZrot(rotZ: float, propertyChanged: bool, avoidRecompute: bool, overrideMode: int=ATTRIBOVERRIDEMODE_DEFAULT)Set the olp attribute for the rotation around Z axis of the cutting plane (manipulator’s Rz field) from the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
rotZ | float | Z rotation of the cutting plane, relative to the workpiece’s root frame. |
propertyChanged | bool | True if property changed event should be called, otherwise False. |
avoidRecompute | bool | Temporarily set ComputeEnterState to None to avoid a recompute when setting the attribute. |
overrideMode | int | If OperationLevel, find the attribute in the group or program and override it in the operation. (default: ATTRIBOVERRIDEMODE_DEFAULT) |
SetGuidedCurveAxis
def SetGuidedCurveAxis(axisLiteralValue: str, propertyChanged: bool, avoidRecompute: bool)Set the olp attribute for aligning the cutting plane’s normal (blue Z axis) to a world axis.
Parameters:
| Name | Type | Description |
|---|---|---|
axisLiteralValue | str | Values representing the names of the world axes. |
propertyChanged | bool | True if property changed event should be called, otherwise False. |
avoidRecompute | bool | Temporarily set ComputeEnterState to None to avoid a recompute when setting the attribute. |