David,

Have a look in the MapBasic.DEF file, or in the MapBasic Reference Guide.

Cheers Ian

-----Original Message-----
From: David R Sherrod [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 25 March 2004 9:39 a.m.
To: [EMAIL PROTECTED]
Subject: MI-L MI-L: Integer attributes for ObjectInfo, following on Greg
Phillips's kind summary


Greg's summary helps me immensely, owing to my limited programming skills
and vast ignorance.  Namely,

To capture the colour of polygons create a new 40 Character field in the
table and use Update Column with the following value objectinfo(obj, 2) This
will return for example Pen (2, 2, 16711680) (which is red) Pen (2, 2,
65280) (which is green) Pen (2, 2, 255) (which is blue

I experimented a bit and determined that 2 is the integer attibute value for
pen, 3 for brush.  Is there some way to find the list of all integer
attribute values needed for objectinfo's argument 2?  I tried the RTFM
method first, to avoid wasting list time.  But I come up empty handed.

Sincerely,
David
--------------------------------------------
David R. Sherrod, Hawaiian Volcano Observatory
U.S. Geological Survey, PO Box 51
Hawaii National Park, HI  96718
voice 808-967-8831 (me)
Obs.   808-967-7328 (everybody else)
fax    808-967-8890
[EMAIL PROTECTED]
-----------------------------------------



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11068


######################################################################

This e-mail message has been scanned and cleared by MailMarshal 

######################################################################

######################################################################
Attention: 
This e-mail message and accompanying data may contain information that
is confidential and subject to legal privilege. Any information
provided is given in good faith. However unless specifically stated to
the contrary, Napier City Council accepts no liability for the
content of this e-mail or for the consequences of any action taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. If you are not the intended recipient,
you are notified that any use, dissemination, distribution or copying
of this message or data is prohibited. If you received this e-mail
message in error, please notify us immediately and erase all copies
of this message and attachments. Thank you.

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11069

Reply via email to