Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Attach an object in python

#3
有办法吗add an instruction to attach a specific RoboDK item (3D object) by name to the event attach dictionary?

For example:
Code:
tube_1 = RDK.Item('Tube_1', ITEM_TYPE_OBJECT)

ins_event_attach = {'Type': INS_TYPE_EVENT, 'Behavior': EVENT_ATTACH, 'ToolPtr': str(tool.item),
“对象”:tube_1}


My current issue is that I need to attach several 3D objects to the robot tool but only the closest object will attach.

Thank you.


Messages In This Thread
Attach an object in python - byartik00- 03-08-2022, 11:10 PM
RE: Attach an object in python - byAlbert- 03-09-2022, 07:50 AM
RE: Attach an object in python - bySamuelEStreamline- 01-31-2023, 04:32 PM
RE: Attach an object in python - byAlbert- 02-01-2023, 09:03 PM



Users browsing this thread:
1 Guest(s)