Break projection link API

Break projection link API

lorraine5RWGT
Enthusiast Enthusiast
813 Views
2 Replies
Message 1 of 3

Break projection link API

lorraine5RWGT
Enthusiast
Enthusiast

When doing a projection in the GUI, there is a 'Projection Link' checkbox.  In the API (I'm using Python), using the `sketch.project` method seems to turn on the linking automatically, but I would like the projection to not be linked.  Does anyone know where the option to break that link is in the API?  I can't seem to find it anywhere, including in Sketch, SketchPoints, SketchCurves, Component, Feature, etc., and it's not an argument in the `sketch.project` method.

0 Likes
Accepted solutions (1)
814 Views
2 Replies
Replies (2)
Message 2 of 3

kandennti
Mentor
Mentor
Accepted solution

Hi lorraine5RWGT.

 

Set the isReference property to False.

        skt = sketches.add(xyPlane)
        projLst = skt.project(entity)
        
        for proj in projLst:
            proj.isReference = False

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-798a7e89-8cc1-4ea4-9a78-09e647378a9a

Message 3 of 3

lorraine5RWGT
Enthusiast
Enthusiast

Oh I wondered about that isReference property!  Thank you very much.  

0 Likes