Mirror across plane from another component

Mirror across plane from another component

brad.bylls
Collaborator Collaborator
402 Views
1 Reply
Message 1 of 2

Mirror across plane from another component

brad.bylls
Collaborator
Collaborator

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
0 Likes
Accepted solutions (1)
403 Views
1 Reply
Reply (1)
Message 2 of 2

brad.bylls
Collaborator
Collaborator
Accepted solution

Figured it out.

I just create construction planes in each component.

Brad Bylls
0 Likes