Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Marking Menu sample, Swig object unknown

0 REPLIES 0
Reply
Message 1 of 1
kungfumachinist
230 Views, 0 Replies

Marking Menu sample, Swig object unknown

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 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report