The object of the CENPyOlpSystemAttribCreator class may be used to initialize new system attributes.
[Example 1]
def PostTechInitAttributes(TechAttribInitOperator):
attribCreator = TechAttribInitOperator.GetAttribCreator()
sysAttribCreator = attribCreator.GetSystemAttribCreator()
[Example]
translation_x = sysAttribCreator.AddTranslationX(0.84, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
translation_y = sysAttribCreator.AddTranslationY(-0.84, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
translation_z = sysAttribCreator.AddTranslationZ(0.16, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
rotation_rx = sysAttribCreator.AddRotationRx(180, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
rotation_ry = sysAttribCreator.AddRotationRy(90, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
rotation_rz = sysAttribCreator.AddRotationRz(15, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
cutterCompensation = sysAttribCreator.AddCutterCompensation(0.15, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
offset_x = sysAttribCreator.AddOffsetX(0.5, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
offset_y = sysAttribCreator.AddOffsetY(0.5, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
offset_z = sysAttribCreator.AddOffsetZ(0.5, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
sheetOffset = sysAttribCreator.AddSheetOffset(0.99, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
offset_rx = sysAttribCreator.AddOffsetRx(1.55, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
offset_ry = sysAttribCreator.AddOffsetRy(2.3, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
offset_rz = sysAttribCreator.AddOffsetRz(0.32, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
alignment_rx = sysAttribCreator.AddAlignmentRx(0.05, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
alignment_rz = sysAttribCreator.AddAlignmentRz(15, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
approxim_type = sysAttribCreator.AddApproximType(CONTOURAPPROX_LIN, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
max_sag = sysAttribCreator.AddMaxSag(5.5, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
max_dist = sysAttribCreator.AddMaxDist(15, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
min_radius = sysAttribCreator.AddMinRadius(0.01, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
max_radius = sysAttribCreator.AddMaxRadius(9.9, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
startPoint_perc = sysAttribCreator.AddStartPoint(0.1, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
endPoint_perc = sysAttribCreator.AddEndPoint(0.15, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
approach_direction = sysAttribCreator.AddApproachDirection(True, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
[Example]
attribute = sysAttribCreator.AddAutoCreateTangentAbsolute(False, USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE | OPERATION_ATTRIBUTE)
|