Drawing Properties in cad2004

Discussion in 'AutoCAD' started by newToCad, Nov 9, 2004.

  1. newToCad

    newToCad Guest

    Hello there,
    I am using cad2004 and I need to get the metadata as many as possible. I used summaryInfo, but it doesn't give the creation date neither the last modified date. I am wondering if there is another way to get those dates?

    Thanks
    Peixin
     
    newToCad, Nov 9, 2004
    #1
  2. GETVAR("TDCREATE")
    GETVAR("TDUPDATE")
     
    Jorge Jimenez, Nov 9, 2004
    #2
  3. newToCad

    newToCad Guest

    Thanks Jorge.
    I used the getVariable("TDCREATE")
    and I printed out the date like this:
    "11/10/8606 5:34:17 PM"
    This is after CDate().
    The year is not right. How can I get the correct date?

    Another question is where to get those system variable names? I need to get the metadata as many as possible.

    Thanks

    Peixin
     
    newToCad, Nov 9, 2004
    #3
  4. I believe TDCREATE and TDUPDATE are in Modified Julian Date format.
    <Julian day number>.<Decimal fraction of a day>

    So Cdate() is no good.

    You need to convert the Julian Date

    Search for "Julian" in this NG.
     
    Jorge Jimenez, Nov 9, 2004
    #4
  5. newToCad

    newToCad Guest

    Thanks Jorge.
    I found the posts about Julian dates.
    I appreciate your help.

    Peixin
     
    newToCad, Nov 9, 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.