System Attrib Creator — Mutation Methods
Back to System Attrib Creator.
AddTranslationX
def AddTranslationX(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddTranslationY
def AddTranslationY(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddTranslationZ
def AddTranslationZ(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddRotationRx
def AddRotationRx(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddRotationRy
def AddRotationRy(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddRotationRz
def AddRotationRz(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddCutterCompensation
def AddCutterCompensation(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddOffsetX
def AddOffsetX(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddOffsetY
def AddOffsetY(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddOffsetZ
def AddOffsetZ(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddSheetOffset
def AddSheetOffset(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddOffsetRx
def AddOffsetRx(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddOffsetRy
def AddOffsetRy(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddOffsetRz
def AddOffsetRz(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddAlignmentRx
def AddAlignmentRx(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddAlignmentRy
def AddAlignmentRy(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddAlignmentRz
def AddAlignmentRz(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddApproximType
def AddApproximType(approxType: int, olpAttribType: int) -> CENPyOlpAttributeEnumCreate a standard system attribute with a defined approximation and attribute types.
Parameters:
| Name | Type | Description |
|---|---|---|
approxType | int | Contour approximation type. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeEnum — Created attribute object.
AddMaxSag
def AddMaxSag(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddMaxDist
def AddMaxDist(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddMinRadius
def AddMinRadius(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddMaxRadius
def AddMaxRadius(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddStartPoint
def AddStartPoint(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddEndPoint
def AddEndPoint(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddApproachDirection
def AddApproachDirection(positive: bool, olpAttribType: int) -> CENPyOlpAttributeBoolCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
positive | bool | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeBool — Created attribute object.
AddProcessFlowDirection
def AddProcessFlowDirection(positive: bool, olpAttribType: int) -> CENPyOlpAttributeBoolCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
positive | bool | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeBool — Created attribute object.
AddSwapUpperLowerGuideCurve
def AddSwapUpperLowerGuideCurve(swap: bool, olpAttribType: int) -> CENPyOlpAttributeBoolCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
swap | bool | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeBool — Created attribute object.
AddAutoCreateTangentAbsolute
def AddAutoCreateTangentAbsolute(autoCreate: bool, olpAttribType: int) -> CENPyOlpAttributeBoolCreate a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.
Parameters:
| Name | Type | Description |
|---|---|---|
autoCreate | bool | Value to set. |
olpAttribType | int | Attribute type. |
Returns: CENPyOlpAttributeBool — Created attribute object.
AddCuttingPlaneXpos
def AddCuttingPlaneXpos(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate an attribute for the X position of the cutting plane and stores it inside the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | X position of the cutting plane, relative to the workpiece’s root frame. |
olpAttribType | int | Mask used for determining the domain of visibility of the attribute, |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddCuttingPlaneYpos
def AddCuttingPlaneYpos(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreate an attribute for the Y position of the cutting plane and stores it inside the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Y position of the cutting plane, relative to the workpiece’s root frame. |
olpAttribType | int | Mask used for determining the domain of visibility of the attribute, |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddCuttingPlaneZpos
def AddCuttingPlaneZpos(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreates an attribute for the Z position of the cutting plane and stores it inside the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Z position of the cutting plane, relative to the workpiece’s root frame. |
olpAttribType | int | Mask used for determining the domain of visibility of the attribute, |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddCuttingPlaneXrot
def AddCuttingPlaneXrot(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreates an attribute for the rotation around X axis of the cutting plane (manipulator’s Rx field) and stores it inside the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | X rotation of the cutting plane, relative to the workpiece’s root frame. |
olpAttribType | int | Mask used for determining the domain of visibility of the attribute, |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddCuttingPlaneYrot
def AddCuttingPlaneYrot(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreates an attribute for the rotation around Y axis of the cutting plane (manipulator’s Ry field) and stores it inside the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Y rotation of the cutting plane, relative to the workpiece’s root frame. |
olpAttribType | int | Mask used for determining the domain of visibility of the attribute, |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddCuttingPlaneZrot
def AddCuttingPlaneZrot(val: float, olpAttribType: int) -> CENPyOlpAttributeDoubleCreates an attribute for the rotation around Z axis of the cutting plane (manipulator’s Rz field) and stores it inside the attribute container of the underlying attribute object.
Parameters:
| Name | Type | Description |
|---|---|---|
val | float | Z rotation of the cutting plane, relative to the workpiece’s root frame. |
olpAttribType | int | Mask used for determining the domain of visibility of the attribute, |
Returns: CENPyOlpAttributeDouble — Created attribute object.
AddGuidedCurveAxis
def AddGuidedCurveAxis(literalValues: list, olpAttribType: int) -> CENPyOlpAttributeEnumCreates an attribute for aligning the cutting plane’s normal (blue Z axis) to a world axis.
Parameters:
| Name | Type | Description |
|---|---|---|
literalValues | list | literal values representing the names of the axes. |
olpAttribType | int | Mask used for determining the domain of visibility of the attribute, |
Returns: CENPyOlpAttributeEnum — Created attribute object.