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

Reply via email to