How to Display Contour Elevations??
How to Display Contour Elevations??
(OP)
I have a contour .dwg file and the contours are made up of many polylines with the given elevation. The elevation is in the Properties Dialog under the Geometry heading. It seems like it should be very easy to display this attribute (or feature - correct terminology?) for all the polylines.
Am I missing something simple?
Am I missing something simple?





RE: How to Display Contour Elevations??
"Everybody is ignorant, only on different subjects." — Will Rogers
RE: How to Display Contour Elevations??
I know the data is in the properties. In one drawing it's under the geometry, in another it's part of an OD: (which I assume is an outside database)
thanks
RE: How to Display Contour Elevations??
"Everybody is ignorant, only on different subjects." — Will Rogers
RE: How to Display Contour Elevations??
RE: How to Display Contour Elevations??
"Everybody is ignorant, only on different subjects." — Will Rogers
RE: How to Display Contour Elevations??
If you used the text command to type out the elevation values, the properties dialogue box will a somewhat different format and obviously related information for that text. Normally, you would use a text command and not an attributed block to type the elevation values but it could be done without difficulty.
Properties dialogue box will not have quiet the same format for drawn objects, attributed blocks, texts, X-xrefs and groups.
RE: How to Display Contour Elevations??
CODE
(defun c:lc ()
(setq th (getvar "textsize")
ts (getvar "textstyle")
cl (getvar "clayer")
)
(setq e1 (entget (car (entsel "Pick source object: "))))
(setq txt1(rtos (dxf 38 e1) 2 0))
(setvar "osmode" 512)
(setq p1 (getpoint "Pick location for label: "))
(setvar "osmode" 16384)
(setq a1 (rtd(getangle "Specify angle of label: " p1)))
(setvar "clayer" "FG-CONT-ELEV")
(command "text" "s" "SIMPLEX" "M" P1 (* 0.1(GETVAR "DIMSCALE")) a1 txt1)
(setvar "textsize" th)
(setvar "textstyle" ts)
(setvar "clayer" cl)
(PRINC)
)
A layer FG-CONT-ELEV and a text style SIMPLEX w/ 0 height should be in the drawing before use. Revise to suit your needs.
____________________
Acad2005, Terramodel
RE: How to Display Contour Elevations??
____________________
Acad2005, Terramodel
RE: How to Display Contour Elevations??
Terrain, Contour Labels, and either Interior or Group Interior.
Set the desired layer for the contour elevations current, and you can also play with the label settings.
Then just point and click to get the labels.
RE: How to Display Contour Elevations??
RE: How to Display Contour Elevations??