DelayAct (Object)

Interface representing a DelayAct.

Role: This interface is used to retrieve/assign the value of motion targets/attrs for the move home activity.
The following code snippet can be used to obtain a MoveHomeAct from a selected Activity
   Dim oSelectAct As Activity
   Set oSelectAct = CATIA.ActiveDocument.Selection.FindObject("CATIAActivity")
   Dim objMoveAct As DelayAct
   Set objMoveAct = oSelectAct.GetTechnologicalObject("DelayAct")
 

Properties


Property Delay() As
This property returns and sets the delay value of the activity.
Example:
   
   Dim objDelayAct As DelayAct
   .......
   Dim  delay as Double
   delay=objDelayAct.Delay
   delay  = 30
   objDelayAct.Delay=delay