Is there a way of adding a part to an existin view?
Is there a way of adding a part to an existin view?
(OP)
If I have a view that was created from a large assy by selecting one of the sub-assy's within the top product at creation (only parts from that sub-prod were projected in the view), can I add a part or parts from one of the other sub-products later?





RE: Is there a way of adding a part to an existin view?
One thing to watch out for though, if there is any positioning information on your sub-products, then the new parts may not show up in the correct location.
RE: Is there a way of adding a part to an existin view?
RE: Is there a way of adding a part to an existin view?
Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
viewLinks.AddLink(MyPartDocument)
Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
Dim MyLinks As DrawingViewGenerativeLinks
viewLinks.CopyLinksTo(MyLinks)
Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
viewLinks.NexRemoveAllLinks()
Don't feel intimidated by writing your own Scripts. It's easy - believe me, the only formal Programming training that I ever had was Fortran77 (back when it was new). Start with the Macro Recorder, and look at existing scripts. When you are stumped, post your code to one of the forums and you'll usually get an answer pretty fast. All 3 forums that I use are pretty good in the programming area (COE, German CATIA forum, and this one).