- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I select a face of a part in an assembly context, what i actually select is not the original Face-Object, but a FaceProxy- Object instead, i.e. a surrogate of that Face on a particular Occurrence.
The "NativeObject"-property of that FaceProxy returns the original Face of the Part:
So far, so good.
--------------------------------------------------------------------------------
Now I have drilled a hole into my part inside the Assemblies context.
When I pick a Face on that edited Body, again, in fact I am picking a FaceProxy, am I?
Well, I'd say "no!":
In case of the cylinder face, that has been newly created by the hole-feature, the face does only exist on the local copy of the SurfaceBody from "Bauteil4".
So what I am picking is the actual Face, not a Proxy, as the Face does not exist inside the Part. The other Occurrence of "Bauteil4" does not have this Face. Anyway, Inventor tells different.
And what about the front face? Is this still a Proxy of the original Face-Object? Again, I'd say "no!"
What I am shown as "Bauteil4:1" in my graphics window is the edited local copy of the Body, not a Proxy (in contrast to "Bauteil4:2 "where I am actually seeing an uneditet Body-Proxy), so the Front-Face I pick on "Bauteil4:1" is unique too. At least, Inventor consequently insists on "What you have picked is a FaceProxy!"
I disagree, but I shrug my shoulders and accept the answer.
So I ask him: "Give me the NativeObject, please!"
When I then examine the FaceObject that Inventor has returned to me (no matter wether i have selected the front face or the cylinder), I realize, that the SurfaceBody that the returned Face belongs to, is in fact part of the Assembly Document, not of the PartDocument.
Despite the fact that in my opinion the Face and the FaceProxy in this case are the same thing, it makes sence, that the SurfaceBody is declared as part of the Assembly.
Now my actual Problem: I want to get hold of the original Face Object inside the PartDocument which has served as a source for my edited body-copy.
In case of the cylinder, I can't, because it does not exist. That makes sense.
But in case of the front face, it should be possible somehow, but I can't figure out how.
Solved! Go to Solution.