help on writing a script....

Discussion in 'AutoCAD' started by Roozbeh GHolizadeh, Jul 8, 2004.

  1. hi there....

    i dont know if it is right place to ask or any better other place but
    here is my problem...

    i have a 2d height map of a land and i want to extract x,y,z from
    it...
    the problem is with extracting z as it is 2d map and height is written
    as text in almost middle of each polyline....

    i thought maybe with help of script i can solve this problem....
    for examply move in x and y and whenever you cross a polyline try
    moving into it until it ends and probably there exist an text wich if
    i convert the caption of it into number and then right x,y(first
    ones)and z from this text...

    any help?

    Thanks
     
    Roozbeh GHolizadeh, Jul 8, 2004
    #1
  2. Roozbeh GHolizadeh

    Paul Turvill Guest

    You'll need more than a script. Scripts are nothing more than text files
    containing commands that can be entered at the Command: prompt.

    To extract the kind of data you're looking for would require a LISP or VBA
    routine.
    ___
     
    Paul Turvill, Jul 8, 2004
    #2
  3. so any help on lisp or vba?
    or where to get best answer?

    Regards
     
    Roozbeh GHolizadeh, Jul 8, 2004
    #3
  4. Have you tried the F1 key?
     
    Michael Bulatovich, Jul 8, 2004
    #4
  5. Roozbeh GHolizadeh

    Paul Turvill Guest

    Try here:
    news://discussion.autodesk.com/autodesk.autocad.customization
    or
    news://discussion.autodesk.com/autodesk.autocad.customization.vba
    ___
     
    Paul Turvill, Jul 8, 2004
    #5
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.