I'm trying to use the following code to eliminate the leader added by SW:
Private Sub cmdXXXX_Click()
Part.InsertCustomSymbol "I:\Solid Works Lib\ATI-SW Data\Mark.sldsym"
Set AView = Part.ActiveView
Set MarkX = AView.GetFirstCustomSymbol
Set XXXXAnn = MarkX.GetAnnotation
junk = XXXXAnn.SetLeader2(0, 0, 0, 0, 0, 0)
Part.ClearSelection
End Sub
I get the following error at line:
Set MarkX=AView.GetFirstCustomSymbol
"Object doesn't support this property or method"
and I don't understand why?
Andrew