Skip to Content

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:

NameTypeDescription
transXfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
transYfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
transZfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
rotXfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
rotYfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
rotZfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
cutCompfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
offsetfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
offsetfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
offsetfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
offsetfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
offsetfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
offsetfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
offsetfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
alignXfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
alignYfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
alignZfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
approxTypeintNew value to set.
overrideModeintOverride 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:

NameTypeDescription
maxSagfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
maxDistfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
minRadfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
maxRadfloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
valuefloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
valuefloatNew value to set.
overrideModeintOverride 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:

NameTypeDescription
dirboolNew value to set.
overrideModeintOverride 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:

NameTypeDescription
dirboolNew value to set.
overrideModeintOverride 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:

NameTypeDescription
posXfloatX position of the cutting plane, relative to the workpiece’s root frame.
overrideModeintIf 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:

NameTypeDescription
posYfloatY position of the cutting plane, relative to the workpiece’s root frame.
overrideModeintIf 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:

NameTypeDescription
posZfloatZ position of the cutting plane, relative to the workpiece’s root frame.
overrideModeintIf 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:

NameTypeDescription
rotXfloatX rotation of the cutting plane, relative to the workpiece’s root frame.
propertyChangedboolTrue if property changed event should be called, otherwise False.
avoidRecomputeboolTemporarily set ComputeEnterState to None to avoid a recompute when setting the attribute.
overrideModeintIf 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:

NameTypeDescription
rotYfloatY rotation of the cutting plane, relative to the workpiece’s root frame.
propertyChangedboolTrue if property changed event should be called, otherwise False.
avoidRecomputeboolTemporarily set ComputeEnterState to None to avoid a recompute when setting the attribute.
overrideModeintIf 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:

NameTypeDescription
rotZfloatZ rotation of the cutting plane, relative to the workpiece’s root frame.
propertyChangedboolTrue if property changed event should be called, otherwise False.
avoidRecomputeboolTemporarily set ComputeEnterState to None to avoid a recompute when setting the attribute.
overrideModeintIf 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:

NameTypeDescription
axisLiteralValuestrValues representing the names of the world axes.
propertyChangedboolTrue if property changed event should be called, otherwise False.
avoidRecomputeboolTemporarily set ComputeEnterState to None to avoid a recompute when setting the attribute.
Was this page helpful?