Author Topic: copy "altitude" value into "elevation" v  (Read 3409 times)

0 Members and 1 Guest are viewing this topic.

dom

  • Guest
copy "altitude" value into "elevation" v
« on: August 03, 2004, 04:57:52 AM »
Hi all,

I need help in reading the "altitude" value in property's of a polyline.

I then need to write that, into the "elevation" value, in the properties of
that same polyline.

Thanks in advance.
/Dom

Dommy2Hotty

  • Swamp Rat
  • Posts: 1127
copy "altitude" value into "elevation" v
« Reply #1 on: August 03, 2004, 08:37:29 AM »
woah...another Dominic...

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
copy "altitude" value into "elevation" v
« Reply #2 on: August 03, 2004, 08:49:20 AM »
I don't see an "altitude" property in a pline.  :?
TheSwamp.org  (serving the CAD community since 2003)

dom

  • Guest
copy "altitude" value into "elevation" v
« Reply #3 on: August 03, 2004, 10:43:32 AM »
Yeah, there is another Dominic!

I believe that I have 2D polylines.  I select one, and then right click it,
then select properties.  In the last section "OD:VMEL_CONTOUR", the first
element is "ALTITUDE".

I want to copy this value from there, and change the "Elevation" in the
"Geometry" section of the properties, to be the same.

I have been able to get the X and Y values from the "Geometry" section
using:
Code: [Select]
(setq thelist (vlax-get-property theobj 'coordinates))

But have been unable to get the Altitude.

Does anyone know how to get this value?

regards
/Dom

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
copy "altitude" value into "elevation" v
« Reply #4 on: August 03, 2004, 10:59:37 AM »
Are you using a 3rd party app? Or are you getting these dwg's from someone who is?
TheSwamp.org  (serving the CAD community since 2003)

dom

  • Guest
copy "altitude" value into "elevation" v
« Reply #5 on: August 03, 2004, 11:08:30 AM »
I'm using Autodesk Land Desktop 2005.

Don't know what the people who originaly made it were using.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
copy "altitude" value into "elevation" v
« Reply #6 on: August 03, 2004, 11:26:31 AM »
Quote from: dom
I'm using Autodesk Land Desktop 2005.

so am I and I can't find any reference to "ALTITUDE" any where. What happens if you explode one?
TheSwamp.org  (serving the CAD community since 2003)