Skip to Content
FASTSUITE E2API ReferenzPython APIRückrufeIOlpEventIOlpEvent

IOlpEvent

Kernel-Klassen-CallbackOperatorklasseRückgabe-WerttypStandard-RückgabewertPython-Skript-Dateiname
PostInitAttributesCENPyOlpEvent_AttribInitOperator%EventName%.py
PostProcessAttributesCENPyOlpEvent_PEOperator
PostComputeCENPyOlpEvent_EventComputeOperator
PostProcessAttributesUploadCENPyOlpEvent_PEOperatorUpload
PostOnAttribChangedCENPyOlpEvent_AttribChangedOperator
GetEventNameString""
GetEventUuIdString""
GetIconNameString""
GetGroupNameString”OlpEvent”
GetMultipleCreationIsPossibleBoolFalse
GetEventTypeOlpEventTypeOLPEVENT_OLP
GetCycleExplodeBehaviorCycleExplodeBehaviorCYCLE_EXPLODEFORBIDDEN
GetCycleRotationFlagCycleRotationCYCLEROTATION_ROTPATH
GetCycleTranslationFlagCycleTranslationCYCLETRANSLATION_TRANSYES
GetCycleRotationAutoFlagCycleRotationCYCLEROTATION_ROTPATH
GetCycleRotationManualFlagCycleRotationRuf intern GetCycleRotationAutoFlag()
GetCycleTranslationAutoFlagCycleTranslationCYCLETRANSLATION_TRANSYES
GetCycleTranslationManualFlagCycleTranslationRuf intern GetCycleTranslationAutoFlag()
GetCycleReferenceBehaviorCycleReferenceBehaviorCYCLEREFBEHAVIOR_HIDDEN
IsMachiningCycleBoolFalse
isEnabledBoolWahr

Veraltet, aber weiterhin unterstützt.

from centypes import * LASER_TYPE = "LaserType" LASER_TYPE_LIST = ["Off", "OnPierce", "OnContour"] LASER_OFFSET = "LaserOffset" def GetEventName(): return "LaserEvent" def GetEventUuId(): return "69B94E6B-03D7-48FF-A62A-BE9CE3C11234" def GetIconName(): return "LaserCutting" def GetExplodeCycle(): return 0 def GetMultipleCreationIsPossible(): return 1 def GetEventType(): return OLPEVENT_OLP def PostInitAttributes(EventAttribInitOperator): attribCreator = EventAttribInitOperator.GetAttribCreator() # Laser type attribCreator.AddEnum(LASER_TYPE, LASER_TYPE_LIST, LASER_TYPE_LIST[0], USER_ATTRIBUTE | PROCESS_ATTRIBUTE, LASER_TYPE) # Laser offset attribCreator.AddDouble(LASER_OFFSET, 0.0,0.0,1000.0,1.0, USER_ATTRIBUTE | PROCESS_ATTRIBUTE, ATTRIB_LENGTH, LASER_OFFSET) def PostProcessAttributes(CENPyOlpEvent_PEOperator): pass def GetCycleExplodeBehavior(): return CYCLE_EXPLODEALLOWED def PostCompute(eco): pass
·isEnabled(): bool
  • Ereignis sollte im Ereignis-Panel angezeigt werden. Standard-True.

Legt fest, ob das Event im Ereignispanel gezeigt werden soll.

def IsEnabled(): return False
Was this page helpful?