Transfer XData --> Property Data via code ?

Discussion in 'AutoCAD' started by Miles, Oct 23, 2004.

  1. Miles

    Miles Guest

    All,
    We have thousands of contours that are at an elevation of 0, however, the
    elevation is stored as XDATA (exported that way from a GIS package). For
    example:

    * Registered Application Name: TOPO_CONTOURS
    * Code 1002, Starting or ending brace: {
    * Code 1000, ASCII string: INT_CONTOUR
    * Code 1040, Real number: 88.00
    * Code 1040, Real number: 1966.00
    * Code 1040, Real number: 1.00
    * Code 1002, Starting or ending brace: }

    Is there any way to automatically assign the Code 1040 value to the
    "elevation" property ? We have GeoTools, however, that only transfers
    Property Data to Object Data and not vice-versa.

    Thanks.
     
    Miles, Oct 23, 2004
    #1
  2. Miles

    Jeff Mishler Guest

    If you email me a small 2002 compatible drawing with a couple contours in it
    I could whip up something for you.
     
    Jeff Mishler, Oct 23, 2004
    #2
  3. It's fairly easy to do, but you need to specify which
    of the 1040 values is the elevation.
     
    Tony Tanzillo, Oct 23, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.