pycatia.dnb_sim_activity_interfaces.delay_act¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.dnb_sim_activity_interfaces.delay_act.DelayAct(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDMAPSInterfaces.ActivityDelayActInterface representing a DelayAct.Role: This interface is used to retrieve/assign the value of motiontargets/attrs for the move home activity.The following code snippet can be used to obtain a MoveHomeAct from a selectedActivityDim oSelectAct As ActivitySet oSelectAct = CATIA.ActiveDocument.Selection.FindObject(“CATIAActivity”)Dim objMoveAct As DelayActSet objMoveAct = oSelectAct.GetTechnologicalObject(“DelayAct”)- property delay: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Delay() As doubleThis property returns and sets the delay value of theactivity.Example:Dim objDelayAct As DelayAct…….Dim delay as Doubledelay=objDelayAct.Delaydelay = 30objDelayAct.Delay=delay
- Return type:
float