Role: This interface is used to retieve/assign the value of motion targets/attrs for the move activity.
The following code snippet can be used to obtain a MoveJointActivity from a selected Activity
Dim oSelectAct As Activity
set oSelectAct = CATIA.ActiveDocument.Selection.FindObject("CATIAActivity")
Dim objUnmountAct As UnmountActivity
set objUnmountAct = oSelectAct.GetTechnologicalObject("UnmountActivity")
Properties
- Property Tool() As
-
This property returns and sets the tool to Unmount.
- Returns:
- oTool The tool to Unmount. dd>
- Parameters:
-
- iTool
- The tool to Unmount. dd>
- Example:
-
Dim objUnmountAct As UnmountActivity ...... Dim objTool As Product set objTool=objUnmountAct.Tool .. objUnmountAct.Tool=objTool
- Property ToolProfile() As
-
Sets and Retreives Tool Profile to use after Unmounting
- Returns:
- oToolProfile Name of the tool profile available in the Generic Robot Controller set. dd>
- Parameters:
-
- iToolProfile
- Name of the tool profile available in the Generic Robot Controller to set. dd>
- Example:
-
Dim objUnmountAct As UnmountActivity ...... Dim ToolPrName As String set ToolPrName=objUnmountAct.ToolProfile ToolPrName = "Tool.1" objUnmountAct.ToolProfile=ToolPrName