Styleattr(objectinfo(obj,2),1) returns the pen width of the object obj. It has 2 ranges of possible values, 0 through 7 for pixels, >10 for points (in fact 10 + 1/10 of a point)
You will have to find what is the thickest border and how it is defined (points or pixels) and to make sure that you apply the condition only to region objects. Jacques Paris e-mail [EMAIL PROTECTED] MapBasic-MapInfo support http://www.paris-pc-gis.com -----Original Message----- From: Graham Herridge [mailto:[EMAIL PROTECTED] Sent: 7-Apr-04 06:18 To: [EMAIL PROTECTED] Subject: MI-L Querying by Border Style Hi All! I have a series of region objects which all have the same pattern & colour but differ in border thickness. How can I extract, for example, all the objects with the thickest border? Thank you very much! Graham Herridge ********************************************************************** The views and comments expressed in this email are confidential to the recipients and should not be passed on to others without permission. This email message does not necessarily express the views of Bath & North East Somerset Council and should be considered personal unless there is a specific statement to the contrary. This footnote also confirms that this email message has been checked for all known viruses by the MessageLabs Virus Scanning Service. Making Bath & North East Somerset a better place to Live, Work and Visit. ********************************************************************** --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 11304
