diesel (rtext)

Discussion in 'AutoCAD' started by walkerkd, Dec 9, 2004.

  1. walkerkd

    walkerkd Guest

    i have drawings and i want to automate the sheet sequence number. can some one help me out.. i thought maybe add a ctab expression and make the layout number but i would rather let it run off the sheets.
     
    walkerkd, Dec 9, 2004
    #1
  2. walkerkd

    RDI Guest

    I'm not TOTALLY positive that I understand what you're trying to do. But
    maybe this'll help.

    I have a block called fileinfo.dwg in my support directory. I insert this
    block into every border. The border file is then XRef'd into every plan
    that I work on.

    File: $(getvar, "dwgprefix")$(getvar, "dwgname") $(edtime, 0, MON D","
    YYYY - H:MMam/pm) $(getenv, "username")

    It prints the filename and path, plot date/time and the login name of the
    person that printed it.

    If you want to add the layout name you could do the following:
    File: $(getvar, "dwgprefix")$(getvar, "dwgname") Layout: $(getvar, "ctab")
    $(edtime, 0, MON D"," YYYY - H:MMam/pm) $(getenv, "username")

    one help me out.. i thought maybe add a ctab expression and make the layout
    number but i would rather let it run off the sheets.
     
    RDI, Dec 9, 2004
    #2
  3. walkerkd

    walkerkd Guest

    what im trying to do is automate the sheet numbers in sequence. example:: i have 250 drawings and i want to add on my tblock 1 of 250, 2 of 250 so on. what i was thinking is that i would have 250 in the title block and the sequence number would count from excel or soemthing.. just need some help figuring this out.
     
    walkerkd, Dec 10, 2004
    #3
  4. walkerkd

    Don I Guest

    Are they seperate DWG files and/or layout tabs?

    How are they set up?

    You could use a CSV file--each line would list the filename, layout tab &
    the sheet number.

    A lisp routine would read the CSV file looking for the current file name and
    layout tab--and return the sheet number. Set User1 (setvar "User1" shtNum)
    your RText woud look like $(getvar, "user1).

    Then you could have a reactor that takes effect when you change layout tabs.
    The same routine would run when you first open the dwg file.
     
    Don I, Dec 13, 2004
    #4
  5. walkerkd

    walkerkd Guest

    yea thats the problem this office does not you the layout like they should im fighiting that issue now. thanks for the help
     
    walkerkd, Dec 16, 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.