Dear All, Can someone remind me please about a tool that I believe exists that can fix paths in workspaces? A client has several hundred that need updating and it would be very tedious to do them one by one.
> As to workspaces, if the .wor file and the data are in the same folder > then the workspace contains relative paths and can be safely moved. If > the data is in a different location then the .wor file contains > absolute paths. I think the MapInfo newsgroup had a discussion about a > tool to change the paths recently, but I did not keep the details. I > would subscribe to [email protected] and say you think > there may be a script for correcting workspace path names and see what > happens. You can do it one by one as MapInfo will prompt you to find > the new data location, but that is tedious when there are a lot of workspaces. Many thanks Tim Dr Tim Rideout Director Visit XYZ at the International Map Trade Show in the Czech Republic on 24/25th Feb 2006. The XYZ Digital Map Company Unit 9 Phase 2 Hardengreen Business Park Dalhousie Road Dalkeith Scotland EH22 3NX Tel +44 131 454 0426 Fax +44 131 454 0443 Mobile + 44 7766 825937 E-mail [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Terry McDonnell Sent: 27 January 2006 10:19 To: Carolyn Bergin; [EMAIL PROTECTED] Subject: RE: [MI-L] MI - L - MapBasic Help with User Selections Carolyn Below are a few snippets to help. I've assumed a buttonpad to select a tool that you click to get the co-ords. Selecting the tool "primes" the procedure GET_START_POINT, such that when you click the map it "fires", thus getting the start x/y into float vars. Then do your pipelining stuff. HTH Terry _________________________________________ Create ButtonPad "Facilities" As ... ToolButton HelpMsg "Click this to select Start Point" Calling GET_START_POINT ID ... ... Cursor MI_CURSOR_CROSSHAIR DrawMode DM_CUSTOM_POINT ... Sub GET_START_POINT ' _________________ Dim lnX, lnY as Float, ... Set CoordSys Window FrontWindow() lnX = COMMANDINFO( CMD_INFO_X) lnY = COMMANDINFO( CMD_INFO_Y) ' where've we clicked? ... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carolyn Bergin Sent: 27 January 2006 06:30 To: Terry McDonnell Subject: [MI-L] MI - L - MapBasic Help with User Selections Hi list I have searched the archives because im sure ive read about this in the past but I cant seem to find what I need. Basically im writing a tool that will build a pipeline between a serious of centreline points. I need for the user of the tool to be able to select the beginning centreline point for the creation of my pipline. The first part of the program creates the points, im then looking to allow the user, while the program is running to selelct the start point and the program will continue running from there to create my lines. I really just need to take the x and y coordinates from the users selection and place that information into variables to begin the second part of the process. Can anyone help me? I hope this makes sense. Regards Carolyn Bergin _______________________________________________ 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 _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
