CTB file locations

Discussion in 'AutoCAD' started by rmcguinness, Dec 17, 2004.

  1. rmcguinness

    rmcguinness Guest

    I would like to be able to change the 'PLOT STYLE TABLE SEACH PATH' from the command line.....................

    Anyone know how?
     
    rmcguinness, Dec 17, 2004
    #1
  2. (setenv "PrinterStyleSheetDir" "C:\\Your\\Path")

    --
    Autodesk Discussion Group Facilitator



    the command line.....................
     
    Jason Piercey, Dec 17, 2004
    #2
  3. rmcguinness

    rmcguinness Guest

    EXACTLY what i was looking for.....thanks...

    It works fine when i type it on the command line. However. Im trying to assign the command to a toolbar button, and when clicked the command pauses at each '\' and requires a right click to continue. Below is a paste from the command text window.....any ideas.....

    Command: (setenv "PrinterStyleSheetDir" "s:
    ("_>
    ("_> cad
    ("_>
    ("_> support")
    "s:\n\ncad\n\nsupport"
     
    rmcguinness, Dec 17, 2004
    #3
  4. either try using \\ for each \ (like my example) or
    use / for each \

    --
    Autodesk Discussion Group Facilitator



    assign the command to a toolbar button, and when clicked the command pauses
    at each '\' and requires a right click to continue. Below is a paste from
    the command text window.....any ideas.....
     
    Jason Piercey, Dec 17, 2004
    #4
  5. rmcguinness

    rmcguinness Guest

    sorry i was being dense!.....

    Ive just replaced the double \\ with a single / and it works fine.

    Now i have a toolbar with separate buttons for standard ctbs, consultants ctbs, etc etc, thus allowing the holy grail.....multiple ctb file locations!

    Thanks for your help
     
    rmcguinness, Dec 17, 2004
    #5
  6. You don't need to reset the path to get multiple ctb
    file locations. In the folder specified in the options
    box place a shortcut to the other location(s),
    AutoCAD will now look in all locations.

    --
    Autodesk Discussion Group Facilitator



    ctbs, etc etc, thus allowing the holy grail.....multiple ctb file locations!
     
    Jason Piercey, Dec 17, 2004
    #6
  7. rmcguinness

    rmcguinness Guest

    Ive found out about this method via this group. However, am i correct in thinking that if i used a short cut, i would see all of the ctb's ion the plot dialoge box pull down.

    We have a consultant, who, because of the nature of the colours he uses will be providing us with a ctb for every drawing he produces (!).......this will amount to a hell of a lot of ctb's which i would only like to be visible when absolutley necessary.
     
    rmcguinness, Dec 20, 2004
    #7
  8. That is correct, they will all be seen in the drop down.
    Good luck with that client!

    --
    Autodesk Discussion Group Facilitator



    thinking that if i used a short cut, i would see all of the ctb's ion the
    plot dialoge box pull down.
    will be providing us with a ctb for every drawing he produces (!).......this
    will amount to a hell of a lot of ctb's which i would only like to be
    visible when absolutley necessary.
     
    Jason Piercey, Dec 20, 2004
    #8
  9. rmcguinness

    rmcguinness Guest

    We've also got some LT seats.........is there any way to do the same thing, on the command line, with these?
     
    rmcguinness, Dec 21, 2004
    #9
  10. I have no idea on what LT natively supports.
    I think it does support environment variables
    but unsure of how they compare with the full
    version of AutoCAD. I take it that the same
    example doesn't work in LT?



    --
    Autodesk Discussion Group Facilitator



    thing, on the command line, with these?
     
    Jason Piercey, Dec 21, 2004
    #10
  11. rmcguinness

    rmcguinness Guest

    No. As soon as you add a space, it takes it as a return and comes back with a 'lisp not supported' error.
     
    rmcguinness, Dec 22, 2004
    #11
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.