Hello,

copy/paste this in the MapBasic Window

Select * from  MyTable where Str$(ObjectInfo(obj,1))="1" into Arcs Browse *
from Arcs
Select * from  MyTable where Str$(ObjectInfo(obj,1))="2" into Ellipses
Browse * from Ellipses
Select * from  MyTable where Str$(ObjectInfo(obj,1))="3" into Lines Browse *
from Lines
Select * from  MyTable where Str$(ObjectInfo(obj,1))="4" into PLines Browse
* from PLines
Select * from  MyTable where Str$(ObjectInfo(obj,1))="5" into Points Browse
* from Points
Select * from  MyTable where Str$(ObjectInfo(obj,1))="6" into Frames Browse
* from Frames
Select * from  MyTable where Str$(ObjectInfo(obj,1))="7" into Regions Browse
* from Regions
Select * from  MyTable where Str$(ObjectInfo(obj,1))="5" into Rects Browse *
from Rects
Select * from  MyTable where Str$(ObjectInfo(obj,1))="9" into RndRects
Browse * from RndRects
Select * from  MyTable where Str$(ObjectInfo(obj,1))="10" into Texts Browse
* from Texts

Change MyTable to the name of your table [paste to text editor and *replace
all then paste to MBW]

You can not save each selected table type [if there are any records] with
File>SaveAs


Trey Pattillo
[EMAIL PROTECTED]
www.wap3.com
-97.665333W 27.799121N
----- Original Message -----
From: "IPCS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 17 January, 2002 18:47
Subject: MI-L Finding and Deleting text and other objects from layer


> G'Day Folks,
>
> This may be a glaringly obvious issue, but here we go...
>
> I have a single table and layer which contains multiple objects: Lines,
> Regions, Text and Symbols (its an imported DWG file).
>
> Is there anyway I can find all of the text objects, lines, regions as
groups
> and either delete them or copy them to another table?
>
> Each object has no data attached (so I cant use the normal query process
> based on the attached data)... I just want to "find all the text only" on
> the layer and remove it. Cant seem to figure it out (apart from
> painstakingly selecting each piece of text and deleting). Any help
> appreciated.
>
> Cheers,
>
> Ian Perkins,
> Sydney, Oz.
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to