Python scripting - Common operators

CENPyOlpSystemAttribGetter

Previous  Chapter  Next

 

The object of the CENPyOlpSystemAttribGetter class may be used to obtain values of system attributes

 

[Example 1]

 

def PostTechInitAttributes(TechAttribInitOperator):  

   attribGetter = TechAttribInitOperator.GetAttribGetter()

   sysAttribGetter = attribGetter.GetSystemAttribGetter()

 

 

Methods

 

GetTranslationX(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   translation_x = sysAttribGetter.GetTranslationX()

 


 

GetTranslationY(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   translation_y = sysAttribGetter.GetTranslationY()

 


 

GetTranslationZ(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   translation_z = sysAttribGetter.GetTranslationZ()

 


 

GetRotationRx(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   rotation_rx = sysAttribGetter.GetRotationRx()

 


 

GetRotationRy(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   rotation_ry = sysAttribGetter.GetRotationRy()

 


 

GetRotationRz(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   rotation_rz = sysAttribGetter.GetRotationRz()

 


 

GetCutterCompensation(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   cutterCompensation = sysAttribGetter.GetCutterCompensation()

 


 

GetOffsetX(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   offset_x = sysAttribGetter.GetOffsetX()

 


 

GetOffsetY(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   offset_y = sysAttribGetter.GetOffsetY()

 


 

GetOffsetZ(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   offset_z = sysAttribGetter.GetOffsetZ()

 


 

GetSheetOffset(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   sheetOffset = sysAttribGetter.GetSheetOffset()

 


 

GetOffsetRx(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   offset_rx = sysAttribGetter.GetOffsetRx()

 


 

GetOffsetRy(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   offset_ry = sysAttribGetter.GetOffsetRy()

 


 

GetOffsetRz(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   offset_rz = sysAttribGetter.GetOffsetRz()

 


 

GetAlignmentRx(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   alignment_rx = sysAttribGetter.GetAlignmentRx()

 


 

GetAlignmentRz(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   alignment_rz = sysAttribGetter.GetAlignmentRz()

 


 

GetApproximType(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeEnum class

 

[Example]

   approxim_type = sysAttribGetter.GetApproximType()

 


 

GetMaxSag(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   max_sag = sysAttribGetter.GetMaxSag()

 


 

GetMaxDist(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   max_dist = sysAttribGetter.GetMaxDist()

 


 

GetMinRadius(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   min_radius = sysAttribGetter.GetMinRadius()

 


 

GetMaxRadius(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   max_radius = sysAttribGetter.GetMaxRadius()

 


 

GetStartPointValue(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   startPointValue = sysAttribGetter.GetStartPointValue()

 


 

GetEndPointValue(): CENPyOlpAttributeDouble

 

o

return

Object of CENPyOlpAttributeDouble class

 

[Example]

   endPointValue= sysAttribGetter.GetEndPointValue()

 


 

GetApproachDirection(): CENPyOlpAttributeBool

 

o

return

Object of CENPyOlpAttributeBool class

 

[Example]

   approach_direction = sysAttribGetter.GetApproachDirection()

 


 

GetAutoCreateTangentAbsolute(): CENPyOlpAttributeBool

 

o

return

Object of CENPyOlpAttributeBool class

 

[Example]

   attribute = sysAttribGetter.GetAutoCreateTangentAbsolute()

 


 


Previous
Previous page
Chapter
Chapter page
Next
Next page