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: 

Mirror across plane from another component

1 REPLY 1
SOLVED
Reply
Message 1 of 2
brad.bylls
142 Views, 1 Reply

Mirror across plane from another component

I am trying to mirror a feature in the xComp component across a plane that was created in the axComp component.

Features created in the xComp mirrored just fine using the construction planes.


    # Mirror pry slot across YZ plane
    prySlotYZplane = axComp.constructionPlanes[0]
    mirrorEntites.add(prySlotExt)
    mirrorPrySlots = xComp.features.mirrorFeatures
    mirrorInput = mirrorPrySlots.createInput(mirrorEntitesprySlotYZplane)
    mirrorPrySlot = mirrorPrySlots.add(mirrorInput<<< Line 578
 
In debugging I checked the axComp.constructionPlanes and it verified that two planes were created in the axComp compomponent.
bradbylls_0-1625320188353.png

 

But I am getting an error message I don't understand.

bradbylls_1-1625320282113.png

 

Brad Bylls
1 REPLY 1
Message 2 of 2
brad.bylls
in reply to: brad.bylls

Figured it out.

I just create construction planes in each component.

Brad Bylls

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