Results 1 to 4 of 4

Thread: Can I change plot style with lisp or script?

  1. #1
    Member
    Join Date
    2009-04
    Location
    QLD, Australia
    Posts
    2
    Login to Give a bone
    0

    Default Can I change plot style with lisp or script?

    Is there a way for me to change a layers plot style from one to another with
    LISP or a script?
    This is for named plot styles in STB's not CTB's.

    I want to be able to change the plot style of layers in an xref from a variety of styles to normal. We do this to change which disciplines are emphasised within a drawing. We need to use .stb as this is a client requirement.
    I would ultimately like this to be in a script for the systems we have in place here, but if it can only be done in lisp I can work with that to.

    Thankyou to anyone that can help me.

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,665
    Login to Give a bone
    0

    Default Re: Can I change plot style with lisp or script?

    Creating a layer State for your use and creating one for your client as well may help. A lisp or script would need the list of styles or layers to change.

  3. #3
    Member
    Join Date
    2009-04
    Location
    QLD, Australia
    Posts
    2
    Login to Give a bone
    0

    Default Re: Can I change plot style with lisp or script?

    I need the way I do it not to be rigid like a layer state would be. Thats why I am leaning towards a lisp or script, we currently mange our layer properties for .ctbs through a plot batcher and script. I am trying to add code to our current setup that will find all layers on an xref and change the polt style. This way the code would not have to be changed when layers are added to the xref. We are able to do this with other layer properties but are getting stuck on the plot style.

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,100
    Login to Give a bone
    0

    Default Re: Can I change plot style with lisp or script?

    If you are using a .CTB file to control your plotting, then the color is all you need to change. If, however, you are using a .STB file, then the PStyle option in the -LAYER command will allow you to change the plot style for XREF layers. All XREF layers will contain the pipe symbol "|" between the XREF name and the actual LAYER name.
    Code:
    -LAYER
    PStyle
    Normal
    *|*
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. Batch Plot Style Change
    By OCD in forum AutoCAD Plotting
    Replies: 7
    Last Post: 2019-03-18, 04:09 PM
  2. Change All Layers' Plot Style Setting
    By parker.depriest356295 in forum AutoLISP
    Replies: 1
    Last Post: 2013-02-05, 07:05 PM
  3. PDF plot w/lisp and script
    By jeff.smith in forum AutoCAD Plotting
    Replies: 2
    Last Post: 2008-12-18, 07:34 AM
  4. PDF plot w/lisp and script
    By jeff.smith in forum AutoCAD General
    Replies: 4
    Last Post: 2008-04-12, 06:54 AM
  5. CHANGE PLOT STYLE TABLE
    By eng5 in forum AutoCAD General
    Replies: 2
    Last Post: 2005-03-08, 01:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •