Hi
Mike,
I
was/am trying to accomplish a couple of things.
1. I
am trying to learn MapBasic to write some simple scripts to automate some of the
repetitive tasks I have. I don't have access to a MapBasic license,
however, Trey Patillo has helped me figure out how to use another language to
pass commands to MapInfo. This allows me to use things like looping, which
I can't do in the MapBasic Window in MapInfo.
2. One
of the tasks I have been trying to automate with a program is to change the
symbol of objects in a TAB based on a collumn value (which seems to be what your
MBX would do). Mind you it would defeat the purpose of trying to learn
MapBasic for myself. 8-)
At any
rate, I haven't had much time to continue with my little project, but so far I
created a _vbscript_ program to do this, but I still haven't finished. My
most recent problem is that it changes all of the point symbols the way I
want (i.e. ObjectInfo), but it also changes the location (ObjectGeography) of
all of the points to the same as the location of the first point in the
Selection. I have a few ideas to try yet, but haven't had the
time.
Perhaps I can call on your help when I give up out of
frustration and lose my mind?
_________________________
Don
Mitchell
GIS Technician
(IMS)
City of
St.Thomas
Date: Mon, 11 Sep 2006 09:56:30 -0700From: "Cummings, Mike" <[EMAIL PROTECTED]>Subject: RE: [MI-L] Re: Looping in MapInfo MapBasic WindowTo: "Hughes, Colleen / Don Mitchell" <[EMAIL PROTECTED]>,<mapinfo-l@lists.directionsmag.com>Message-ID:<[EMAIL PROTECTED]>Content-Type: text/plain; charset=iso-8859-1I know that I am coming to the party late. I'm not exactly sure what you what to do. I don't know if what I have can be of use or that it is "general enough" for your use. Years ago, I wrote a MBX that would either change the symbol of an object based on the column "status_cod" or create a thematic map. I used a reference table to store the symbol information. There is a limit of 255 symbols in the thematic maps.Since all the mbx does it look for named columns in two tables of data, I think this might work for you. I haven't looked at the code & I might have to change some paths.. and if all you want to do is change symbols based on a criteria it should work.
-----Original Message-----From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] Behalf Of Hughes, Colleen / Don MitchellSent: Wednesday, September 06, 2006 6:13 AMTo: mapinfo-l@lists.directionsmag.comSubject: [MI-L] Re: Looping in MapInfo MapBasic WindowThanks Bill, Uffe, and Trey,........
_______________________________________________ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l