Hello,
I'm looking how to notch a FG part with another part, wich can be a not-FG part.
I can know if a part is or not a FG part, using ThisApplication.ActiveDocument.DocumentInterests. For example, I use "DocumentInterests.item("FrameMemberDoc")" to work only on FG member in an assembly.
I tried to add FG document interest on a standard part, with :
ClientId = "{AC211AE0-A7A5-4589-916D-81C529DA6D17}"
Name = "FrameMemberDoc"
ThisApplication.ActiveDocument.DocumentInterests.Add ClientId, Name, kInterested
The part has now FG as DocumentInterests item, but I can't use it to notch a FG member.
Has anyone ever tried ? Any idea welcome !
Solved! Go to Solution.
Solved by xiaodong_liang. Go to Solution.
I think it's not enough to declare it as a FG component.In order to participate in frame generator notches it needs to be Authored as a Structural Shape.
You don't need to have it as an ipart or published to CC but needs authored and the base extrusion profle of the part declared in the process (notch seems optional because you might want to use and offset sketch as your notch for clearance and assembly).
Here is an image. to authorgo go Manage/Author/Structural Shape drop down list.
I tried only authoring the part as Structural Shape, as it did not work I tried to declare it as a FG part too (with DocumentInterest).
The aim is to be able to select the part to create the notch, using a part manually inserted : green part is FG, red part is not FG, it can be placed anywhere along the green one. But I need to use it to noth the green part.
I understand what you're trying to do now. I have authored a plate trying to get it to work with frame generator and failed as well....
will keep trying.
Hi,
If I understand correctly, you explicitly add a kind of FG DocumentInterest to a standard part, in order to make the part to be a FG part?
If yes, I do not think this is feasible by simply adding the interest. The mechanism of DocumentInterests was provided to allow clients to specify that the document contains data that was added by them, so that such documents can be identified in an easy and lightweight manner. While a FG part would contain some more configuration (such as the companion file: Frame Reference Model).
The choice might be publishing the standard part to Content Center>>FG.
Surely there must be an easier way. the mechanism is there, when notching other frame components so why not making it available for any part? I totally sympathize with this request and I can see it's merit.
Publishing all sort of parts in CC is not an option.
Even if the part is published as FG part, if it is not inserted with FG command it is not recognized to notch. The aim when I add Documentinterest was to be able to select the part in the Notch command.
Ok, pity it is impossible to do... We often use parts in FG which are not inserted by FG (for example on the picture above), this could be very useful. Thanks to log a wish !
Best regards,
Hi,
The wish I logged is:
#TFS-48161: API Wish - Notch a FG part with a not-FG part (Convert standard part to FG part)
Thanks.