pycatia.dnb_igp_setup_interfaces.mount_activity

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_igp_setup_interfaces.mount_activity.MountActivity(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
DMAPSInterfaces.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 tool: AnyObject

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Tool() As AnyObject

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
Return type:

AnyObject

property tool_profile: str

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
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
Return type:

str