Message 1 of 4
Type Mismatch when creating a selectionset

Not applicable
01-17-2002
06:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to create an empty selection set to use when exporting a dxf file. on the Set junk = line, I get the following error:
Run Time Error'13':
Type Mismatch
Here is the code.
Dim junk As AcadSelectionSet
Set junk = ThisDrawing.SelectionSets.Add("empty_set")
ThisDrawing.Export name_no_ext, "dxf", DXF
Run Time Error'13':
Type Mismatch
Here is the code.
Dim junk As AcadSelectionSet
Set junk = ThisDrawing.SelectionSets.Add("empty_set")
ThisDrawing.Export name_no_ext, "dxf", DXF