how to delete an operation

how to delete an operation

TRIALCAD2014
Enthusiast Enthusiast
700 Views
3 Replies
Message 1 of 4

how to delete an operation

TRIALCAD2014
Enthusiast
Enthusiast

I'm surprised how crude the CAM API seems to be...

 

One can create a new cam operation but How can one do the opposite which is delete a cam operation?

How can one create a new setup? The examples show how to get an existing setup

How can we select bodies in an operation? Little point in creating an operation without being able to select bodies 🙂

 

Thank you or an light in this obscure area 🙂

0 Likes
701 Views
3 Replies
Replies (3)
Message 2 of 4

kandennti
Mentor
Mentor

Hi @TRIALCAD2014 .

 

Since there is no deleteMe method like the model ring object, it seems that deletion is not possible.

Why not set the isSuppressed property to False instead?

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-DA4DC56E-6E75-4568-8773-F070C83A5650 

 

Perhaps Autodesk knows that many users would like a more powerful CAM API.
I expect that they are working hard on this for the long term.

Message 3 of 4

TRIALCAD2014
Enthusiast
Enthusiast
Hi Kandennti,

Thank you for the suggestion.

Any idea what isSuppressed supposed to mean? The description offers no
explanation.


Cheers,
Adrian


Description

Gets and sets the "Suppressed" property value of the operation.
Gets/sets true if the operation is suppressed.

Defined in namespace "adsk.cam" and the header file is
"adsk/cam//Operation.h"

0 Likes
Message 4 of 4

kandennti
Mentor
Mentor
0 Likes