Message 1 of 4
Selectionset Window Problem

Not applicable
01-10-2000
07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Chances are that the points you are specifying are off the screen. Try doing
a zoom extents prior to calling the Select method.
"Scott M Riddle" wrote in message
news:MPG.12e3bbea4061af75989691@adesknews.autodesk.com...
> I am trying to select some text on an AutoCAD drawing using the following
> method.
> sub test
>
> mode = acSelectionSetWindow
> point1(0) = 1833: point1(1) = 17: point1(2) = 0
> point2(0) = 1534: point2(1) = 30: point2(2) = 0
> corner1 = point1: corner2 = point2
> ssetObj.Select mode, corner1, corner2
>
> When I have a drawing in AutoCAD this method of selecting objects works
> wonderfully. However, when I try to pull up the drawing from the macro
> (as seen below) and then try this selection method 'ssetObj' remains
> empty. What is going on here? Thanks in advance for you help.
>
> (Autocad 14.01 Nt4.0)
>
> ThisDrawing.Open ("drawing.dwg")
> mode = acSelectionSetWindow
> point1(0) = 0: point1(1) = 0: point1(2) = 0
> point2(0) = 30: point2(1) = 15: point2(2) = 0
> corner1 = point1: corner2 = point2
> ssetObj.Select mode, corner1, corner2
a zoom extents prior to calling the Select method.
"Scott M Riddle"
news:MPG.12e3bbea4061af75989691@adesknews.autodesk.com...
> I am trying to select some text on an AutoCAD drawing using the following
> method.
> sub test
>
> mode = acSelectionSetWindow
> point1(0) = 1833: point1(1) = 17: point1(2) = 0
> point2(0) = 1534: point2(1) = 30: point2(2) = 0
> corner1 = point1: corner2 = point2
> ssetObj.Select mode, corner1, corner2
>
> When I have a drawing in AutoCAD this method of selecting objects works
> wonderfully. However, when I try to pull up the drawing from the macro
> (as seen below) and then try this selection method 'ssetObj' remains
> empty. What is going on here? Thanks in advance for you help.
>
> (Autocad 14.01 Nt4.0)
>
> ThisDrawing.Open ("drawing.dwg")
> mode = acSelectionSetWindow
> point1(0) = 0: point1(1) = 0: point1(2) = 0
> point2(0) = 30: point2(1) = 15: point2(2) = 0
> corner1 = point1: corner2 = point2
> ssetObj.Select mode, corner1, corner2