pycatia.dnb_sim_activity_interfaces.grab_act

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_sim_activity_interfaces.grab_act.GrabAct(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
GrabAct

Interface representing a Grab activity.

Role: This interface is used to retrieve/assign the value of attributes for the
Grab activity.
The following code snippet can be used to obtain a GrabAct from a selected
Activity

Dim oSelectAct As Activity
set oSelectAct = CATIA.ActiveDocument.Selection.FindObject(“CATIAActivity”)
Dim objGrabAct As GrabAct
set objGrabAct = oSelectAct.GetTechnologicalObject(“GrabAct”)
get_grabbed_objects(o_grabbed_objects: tuple) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetGrabbedObjects(CATSafeArrayVariant oGrabbedObjects)

Sets and retrieves the grabbed objects

Returns:
oGrabbedObjects The grabbed object.
Parameters:

iGrabbedObjects
The specified grabbed objects
Parameters:

o_grabbed_objects (tuple) –

Return type:

None

property grabbing_object: Product

Note

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

Sets and retrieves the grabbing object

Returns:
oGrabbingObject The grabbing object.
Parameters:

iGrabbingObject
The specified grabbing object
Return type:

Product

put_grabbed_objects(i_grabbed_objects: tuple) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub PutGrabbedObjects(CATSafeArrayVariant iGrabbedObjects)
Parameters:

i_grabbed_objects (tuple) –

Return type:

None