Skip to Content

System Attrib Creator — Mutation Methods

Back to System Attrib Creator.

AddTranslationX

def AddTranslationX(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddTranslationY

def AddTranslationY(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddTranslationZ

def AddTranslationZ(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddRotationRx

def AddRotationRx(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddRotationRy

def AddRotationRy(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddRotationRz

def AddRotationRz(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddCutterCompensation

def AddCutterCompensation(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddOffsetX

def AddOffsetX(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddOffsetY

def AddOffsetY(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddOffsetZ

def AddOffsetZ(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddSheetOffset

def AddSheetOffset(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddOffsetRx

def AddOffsetRx(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddOffsetRy

def AddOffsetRy(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddOffsetRz

def AddOffsetRz(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddAlignmentRx

def AddAlignmentRx(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddAlignmentRy

def AddAlignmentRy(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddAlignmentRz

def AddAlignmentRz(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddApproximType

def AddApproximType(approxType: int, olpAttribType: int) -> CENPyOlpAttributeEnum

Create a standard system attribute with a defined approximation and attribute types.

Parameters:

NameTypeDescription
approxTypeintContour approximation type.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeEnum — Created attribute object.

AddMaxSag

def AddMaxSag(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddMaxDist

def AddMaxDist(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddMinRadius

def AddMinRadius(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddMaxRadius

def AddMaxRadius(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddStartPoint

def AddStartPoint(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddEndPoint

def AddEndPoint(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
valfloatValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddApproachDirection

def AddApproachDirection(positive: bool, olpAttribType: int) -> CENPyOlpAttributeBool

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
positiveboolValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeBool — Created attribute object.

AddProcessFlowDirection

def AddProcessFlowDirection(positive: bool, olpAttribType: int) -> CENPyOlpAttributeBool

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
positiveboolValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeBool — Created attribute object.

AddSwapUpperLowerGuideCurve

def AddSwapUpperLowerGuideCurve(swap: bool, olpAttribType: int) -> CENPyOlpAttributeBool

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
swapboolValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeBool — Created attribute object.

AddAutoCreateTangentAbsolute

def AddAutoCreateTangentAbsolute(autoCreate: bool, olpAttribType: int) -> CENPyOlpAttributeBool

Create a standard system attribute with a defined value and attribute type. Overrides the attribute parameters if it already exists.

Parameters:

NameTypeDescription
autoCreateboolValue to set.
olpAttribTypeintAttribute type.

Returns: CENPyOlpAttributeBool — Created attribute object.

AddCuttingPlaneXpos

def AddCuttingPlaneXpos(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create an attribute for the X position of the cutting plane and stores it inside the attribute container of the underlying attribute object.

Parameters:

NameTypeDescription
valfloatX position of the cutting plane, relative to the workpiece’s root frame.
olpAttribTypeintMask used for determining the domain of visibility of the attribute,

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddCuttingPlaneYpos

def AddCuttingPlaneYpos(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Create an attribute for the Y position of the cutting plane and stores it inside the attribute container of the underlying attribute object.

Parameters:

NameTypeDescription
valfloatY position of the cutting plane, relative to the workpiece’s root frame.
olpAttribTypeintMask used for determining the domain of visibility of the attribute,

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddCuttingPlaneZpos

def AddCuttingPlaneZpos(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Creates an attribute for the Z position of the cutting plane and stores it inside the attribute container of the underlying attribute object.

Parameters:

NameTypeDescription
valfloatZ position of the cutting plane, relative to the workpiece’s root frame.
olpAttribTypeintMask used for determining the domain of visibility of the attribute,

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddCuttingPlaneXrot

def AddCuttingPlaneXrot(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Creates 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:

NameTypeDescription
valfloatX rotation of the cutting plane, relative to the workpiece’s root frame.
olpAttribTypeintMask used for determining the domain of visibility of the attribute,

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddCuttingPlaneYrot

def AddCuttingPlaneYrot(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Creates 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:

NameTypeDescription
valfloatY rotation of the cutting plane, relative to the workpiece’s root frame.
olpAttribTypeintMask used for determining the domain of visibility of the attribute,

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddCuttingPlaneZrot

def AddCuttingPlaneZrot(val: float, olpAttribType: int) -> CENPyOlpAttributeDouble

Creates 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:

NameTypeDescription
valfloatZ rotation of the cutting plane, relative to the workpiece’s root frame.
olpAttribTypeintMask used for determining the domain of visibility of the attribute,

Returns: CENPyOlpAttributeDouble — Created attribute object.

AddGuidedCurveAxis

def AddGuidedCurveAxis(literalValues: list, olpAttribType: int) -> CENPyOlpAttributeEnum

Creates an attribute for aligning the cutting plane’s normal (blue Z axis) to a world axis.

Parameters:

NameTypeDescription
literalValueslistliteral values representing the names of the axes.
olpAttribTypeintMask used for determining the domain of visibility of the attribute,

Returns: CENPyOlpAttributeEnum — Created attribute object.

Was this page helpful?