
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I've perused these forums for almost a day's worth of time trying to find the solution to what I'm looking for.
We are trying to generated 1,000+ files using Inventor's iPart feature. The catch is that we would like all these newly derived parts to have their links broken from the original iPart file upon generation.
I was able to find a small line of code which partially worked:
Dim oParent As iPartFactory oParent = ThisDoc.Document.ComponentDefinition.iPartFactory Dim oRow As iPartTableRow For Each oRow In oParent.TableRows oParent.CreateMember(oRow).BreakLinkToFactory Next
This would generate the parts, though the link would only show itself as broken, if I immediately opened the new files all at once (no good with a batch of 1,000+ parts), with the original iPart file open as well.
Does anyone know of a code which could be written that will break these links for good upon generating the files?
Regards,
Solved! Go to Solution.