-
1
- #1
LucasC
Automotive
- Feb 18, 2019
- 157
I cant find any information or mention of the balloon command in the drafting workbench documentation.
For the search I'm using:
Set Selection1 = DrawingDocument1.Selection
Selection1.Search "CATDrwSearch.DrwBalloon,all"
works fine for my purposes.
The part I need help with is how to remove the leader from them. The documentation gives the example below but it doesn't work as shown or if I alter it to include my initial search. Are the balloon leaders a different method? Any ideas on how to accomplish this?
"Removes a drawing leader from the DrawingLeaders collection."
Dim MyView As DrawingView
Set MyView = MySheet.Views.ActiveView
MyView.DrawingLeaders.Remove(3)
For the search I'm using:
Set Selection1 = DrawingDocument1.Selection
Selection1.Search "CATDrwSearch.DrwBalloon,all"
works fine for my purposes.
The part I need help with is how to remove the leader from them. The documentation gives the example below but it doesn't work as shown or if I alter it to include my initial search. Are the balloon leaders a different method? Any ideas on how to accomplish this?
"Removes a drawing leader from the DrawingLeaders collection."
Dim MyView As DrawingView
Set MyView = MySheet.Views.ActiveView
MyView.DrawingLeaders.Remove(3)