Dave,

You have actual provided your solution yourself ;-)

The keyword is OBJ_INFO_SMOOTH in an MapBasic application, and 4 when used in 
MapInfo.

This will select all the records where the object has smooth turned on

Select * From MYTABLE 
   Where Str$(ObjectInfo(OBJ, 4)) = "T"

Also note that smooth only refers to polyline objects. Other objects will 
return an error. 
For Frame and Text objects, 4 will refer to some other attribute of the object.

Peter Horsbøll Møller
GIS Developer, MTM
Geographical Information & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Reid
Sent: Monday, May 22, 2006 7:54 PM
To: MapInfo-L
Subject: [MI-L] Using ObjectInfo to find plines with SMOOTH attribute turnedon

Greetings List,

I have a map table giving me problems on another application and I suspect it 
could be that "Smooth" may be turned on, on one or some polylines.

Is there an Objectinfo() I query I could use to select any such polylines?

ie
ObjectInfo(Obj,2) would return line style, is there one to identify if "Smooth" 
is turned on?


Thanks,

Dave

--
Outgoing mail is certified Virus Free
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 05/22/2006
 

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l




_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to