Hey everyone,
I'm trying to use option boxes for the user to make a selection in my macro, but I keep getting "Run-time Error '424': Object Required".
I have attached the API. I think the problem is in:
If Yes1 = True Then
Prop = CurrentDoc.AddCustomInfo3("", PropName(9), swCustomInfoText, "Yes")
Else
Prop = CurrentDoc.AddCustomInfo3("", PropName(9), swCustomInfoText, "No")
End If
I want it to Insert Yes or No into the custom property "IsFastener" and to default to No if the selection is not made.. It worked when I had the user select Yes or No from a drop down menu, but I think optionboxes are a better choice for this.
Does anyone know where to point me for API help using option boxes? I couldn't find existing APIs and the help function in VB is useless.
Thanks,
Tara
SolidworksApi macros