AutoCAD Map 3D Forum
Welcome to Autodesk’s AutoCAD Map 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

change Contour units with map query

5 REPLIES 5
Reply
Message 1 of 6
rwassmer
358 Views, 5 Replies

change Contour units with map query

Hello,

I added a shp file with the z value of 0 and went through the map query process to adjust the lines based on the object data elevation value, but the drawing is in miles as a units system so I end up with 72 mile high contours, is it possilbe to either scale these in 1 (z) direction or to add an additional query system to scale them down to feet? 

 

Ron

5 REPLIES 5
Message 2 of 6
parkr4st
in reply to: rwassmer

How did you end up with units of miles?  Do you have a geo coordinate system set in the map?

 

 

Message 3 of 6
Alfred.NESWADBA
in reply to: rwassmer

Hi,

 

look to that video, it shows how to query a drawing (using Map 3D command _ADEQUERY) and change the contour's elevation by using LISP.

The formula for the property alteration is:

    (/ .ELEVATION 12)

...to divide the current elevation by 12 as a sample.

 

The link to the video: >>>click<<<.

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 4 of 6
rwassmer
in reply to: parkr4st

It was taken from a Municipal GIS website.
Message 5 of 6
rwassmer
in reply to: rwassmer

Alfred, My current query pulls in from an externtal cad file and uses this
:Elevation@2FT_Contours

i tried (/ :Elevation@2FT_Contours 5280

But it came in as a invalid expression. I'm not to used to this type of work in autocad, i'm more of a revit user.
Message 6 of 6
Alfred.NESWADBA
in reply to: rwassmer

Hi,

 

(/ :Elevation@2FT_Contours 5280

in your expression the closing bracket is missing, this would be correct:

(/ :Elevation@2FT_Contours 5280)

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost