pmadhwal7 Posted July 22, 2019 Posted July 22, 2019 want lisp which can automatically convert autocad coordinate to Decimal Degrees format please see the image for reference Quote
BIGAL Posted July 23, 2019 Posted July 23, 2019 Admin maybe move to a new post. pmadhwal7 you need to explain a lot more your doing a co-ord translation. Quote
tombu Posted July 23, 2019 Posted July 23, 2019 First you need Map 3D, after that it depends on where you are on earth. You have to have a starting coordinate system and another to convert the drawing to, but make a backup copy as you will need it in both coordinate systems. How to transform (reproject) drawing content to another coordinate system: https://knowledge.autodesk.com/support/autocad-map-3d/learn-explore/caas/sfdcarticles/sfdcarticles/transform-reproject-drawing-to-another-coordinate-system.html Then do your labeling. Quote
pmadhwal7 Posted July 24, 2019 Author Posted July 24, 2019 Sir i am trying to convert autocad coordinate to UTM (Decimal Degrees), like the attached excel doing Coordinate converter.xls Quote
tombu Posted July 24, 2019 Posted July 24, 2019 6 hours ago, pmadhwal7 said: Sir i am trying to convert autocad coordinate to UTM (Decimal Degrees), like the attached excel doing There are still 8 different Metric World/Continental (WGS84) Coordinate Systems installed with Map 3D that you could be trying to convert. If you could provide the formula for the conversion you need someone may be able to come up with lisp for you. Assuming you're using Map 3D entering this on the command line will let you know what Coordinate System is set in the current drawing: (if(=(ade_projgetwscode)"")(princ "\nNo coordinate system set!")(princ(strcat "\nCoordinate system set to " (ade_projgetwscode) ". ")))(princ) Quote
BIGAL Posted July 25, 2019 Posted July 25, 2019 Tombu may not have MAP profile says Autocad. PMADHWAL7 The spreadsheet has macros that are hidden so unless you know the formulas there will be no help, these are complicated formulas to do in lisp. Have you googled for your UTM. Find formulas. Quote
tombu Posted July 25, 2019 Posted July 25, 2019 1 hour ago, BIGAL said: Tombu may not have MAP profile says Autocad. PMADHWAL7 The spreadsheet has macros that are hidden so unless you know the formulas there will be no help, these are complicated formulas to do in lisp. Have you googled for your UTM. Find formulas. I'd half to agree, I wasn't able to find a conversion formula in that workbook either. Just wanted him to understand there has to be something more than AutoCAD coordinates to convert from. The coordinate values suggest a defined coordinate system. The drawing may have been output from GIS software or brought in with ArcGIS for AutoCAD. He's going to need to know the from coordinate system if he cannot give us that conversion formula. Quote
pmadhwal7 Posted July 25, 2019 Author Posted July 25, 2019 3 hours ago, BIGAL said: Tombu may not have MAP profile says Autocad. PMADHWAL7 The spreadsheet has macros that are hidden so unless you know the formulas there will be no help, these are complicated formulas to do in lisp. Have you googled for your UTM. Find formulas. Sir, in the formula is in the attached XLS.. Quote
pmadhwal7 Posted July 25, 2019 Author Posted July 25, 2019 21 hours ago, tombu said: There are still 8 different Metric World/Continental (WGS84) Coordinate Systems installed with Map 3D that you could be trying to convert. If you could provide the formula for the conversion you need someone may be able to come up with lisp for you. Assuming you're using Map 3D entering this on the command line will let you know what Coordinate System is set in the current drawing: (if(=(ade_projgetwscode)"")(princ "\nNo coordinate system set!")(princ(strcat "\nCoordinate system set to " (ade_projgetwscode) ". ")))(princ) yes u r right i am using map3d,i have different zone data and i want to convert particular block coordinate into (Decimal Degrees) format right now i am using attached xls to convert autocad coordinate Coordinate converter.xls Quote
tombu Posted July 25, 2019 Posted July 25, 2019 2 hours ago, pmadhwal7 said: yes u r right i am using map3d,i have different zone data and i want to convert particular block coordinate into (Decimal Degrees) format right now i am using attached xls to convert autocad coordinate The macros in your attached xls are hidden, we need the conversion formula inside it to help you. If you could just post it instead of the xls file we may be able to help you. Quote
pmadhwal7 Posted July 25, 2019 Author Posted July 25, 2019 sir is their any way to unhide it? 10 hours ago, BIGAL said: Tombu may not have MAP profile says Autocad. PMADHWAL7 The spreadsheet has macros that are hidden so unless you know the formulas there will be no help, these are complicated formulas to do in lisp. Have you googled for your UTM. Find formulas. Sir don;t know how tb un hide it is the following link help you? https://www.ablebits.com/office-addins-blog/2017/12/20/very-hidden-sheets-excel/ Quote
eldon Posted July 25, 2019 Posted July 25, 2019 On 7/22/2019 at 1:36 PM, pmadhwal7 said: want lisp which can automatically convert autocad coordinate to Decimal Degrees format please see the image for reference I think that this simple request reveals that you do not really understand the complexity of what you are asking for free. Your 'autocad coordinate' is a UTM coordinate which is a plane grid. The 'Decimal Degrees format' is Longitude and Latitude which are lines along the surface of the Earth. The transformation formulae are complex, and not something that a keen volunteer could write in a spare minute. Be reasonable in your requests and do a bit of research into coordinate systems. 1 Quote
ronjonp Posted July 25, 2019 Posted July 25, 2019 Watch THIS video for coordinate transformation. Quote
pmadhwal7 Posted July 30, 2019 Author Posted July 30, 2019 Dear all please watch this may it will be useful...... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.