All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

MountActivity (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---Activity
            |
            +---MountActivity
 


Interface representing a Mount Activity.

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")
 

Property Index

Tool
This property returns and sets the tool to mount.
ToolProfile
Sets and Retreives Tool Profile to use after mounting

Properties


o Property Tool() As CATIABase
This property returns and sets the tool to mount.
Returns:
oTool The tool to mount.
Parameters:
iTool
The tool to mount.
Example:
   Dim objMountAct As MountActivity
          ......
   Dim  objTool As Product
   set objTool=objMountAct.Tool
   ..
   objMountAct.Tool=objTool
   
o Property ToolProfile() As CATBSTR
Sets and Retreives Tool Profile to use after mounting
Returns:
oToolProfile Name of the tool profile available in the Generic Robot Controller set.
Parameters:
iToolProfile
Name of the tool profile available in the Generic Robot Controller to set.
Example:
   Dim objMountAct As MountActivity
          ......
   Dim  ToolPrName As String
   set ToolPrName=objMountAct.ToolProfile
   ToolPrName  = "Tool.1"
   objMountAct.ToolProfile=ToolPrName
   

Copyright © 2003, Dassault Systèmes. All rights reserved.