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 objMountAct As MountActivity
set objMountAct = oSelectAct.GetTechnologicalObject("MountActivity")
Properties
- Property Tool() As
-
This property returns and sets the tool to mount.
- Returns:
- oTool The tool to mount. dd>
- Parameters:
-
- iTool
- The tool to mount. dd>
- Example:
-
Dim objMountAct As MountActivity ...... Dim objTool As Product set objTool=objMountAct.Tool .. objMountAct.Tool=objTool
- Property ToolProfile() As
-
Sets and Retreives Tool Profile to use after mounting
- 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 objMountAct As MountActivity ...... Dim ToolPrName As String set ToolPrName=objMountAct.ToolProfile ToolPrName = "Tool.1" objMountAct.ToolProfile=ToolPrName