Marking Menu sample, Swig object unknown

Marking Menu sample, Swig object unknown

Anonymous
Not applicable
392 Views
0 Replies
Message 1 of 1

Marking Menu sample, Swig object unknown

Anonymous
Not applicable

Hello, I'd like to add a command to the right-click menu of CAM operations (Setups, Folders, Operations). I have the Marking Menu Sample found here: http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-c90ce6a2-c282-11e6-a365-3417ebc87622

 

When I right-click and "print entities" for a CAM operation I get <Swig object of type 'unknown' at ...>. I have tried to "cast" it to a CAM Operation, for example, with camOp = adsk.cam.Operation.cast(e) but the result is None.

 

How can I get a handle on the selected Setup/Folder/Operation from a marking menu?

 

Thanks.

 

/Daryl

0 Likes
393 Views
0 Replies
Replies (0)