Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mirrored RectangularPatternFeature has no faces

1 REPLY 1
SOLVED
Reply
Message 1 of 2
DKonzelmann
98 Views, 1 Reply

Mirrored RectangularPatternFeature has no faces

I have a part with the following features:

- several holes

- holes that have been created with a (rectangular) pattern feature

- mirror feature of the entire body

 

I need to access the faces of the holes in the API. This works perfectly for parts that have no MirrorFeature. But a customer needs to create parts left-handed and right-handed and thus mirrors the whole body along a plane. The mirrored holes still have faces, but the holes which were created with a (rectangular) pattern feature have no faces in the API even though you can see them in the part itself.

 

The API documentation says under RectangularPatternFeature.Faces:

The Faces collection object will return the faces that still currently exist in the part. For example, if a face has been consumed by additional modeling operations it will not be returned.

 

So, is there any way to access these missing faces? Or is there a way to create them temporarily (I could calculate the properties and geometry myself, like creating a point in TransientGeometry)?

 

1 REPLY 1
Message 2 of 2
DKonzelmann
in reply to: DKonzelmann

If anyone is interested: I've found the solution after a tip from a colleague from our support team.

The face of the hole / pattern element appears in the faces of the MirrorFeature of the body, i. e. consumed by this feature (that's obviously what the API description meant). So all I have to do to access them is search there.

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report