Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
i'm writing some code to auto add balloons to my assambly.
the balloon snipped needs a entitie to attach to. entities can only be made in parts as far as i know.
the problem is that this component is present in a subassambly. and using the balloon snipped inventor cant find it.
Dim Sheet_1 = ThisDrawing.Sheets.ItemByName("Sheet:1") Dim VIEW1 = Sheet_1.DrawingViews.ItemByName("VIEW1") Dim ptCyl = VIEW1.SheetPoint(-0.1, 0.1) Dim balloon1 = Sheet_1.Balloons.Add("ComponentA:1 balloon", {ptCyl }, VIEW1.GetIntent((MakePath("leidingwerk pp:1", "pijp150 d63 pp:2")), "balloon"))
and if i use a makepath then I get an error.
any suggestions?
Solved! Go to Solution.