Results 1 to 2 of 2

Thread: how to get dvb to run before publish plot routine

  1. #1
    I could stop if I wanted to Hammer.John.J's Avatar
    Join Date
    2015-09
    Location
    Springfield, MA
    Posts
    491
    Login to Give a bone
    0

    Question how to get dvb to run before publish plot routine

    Heres mine and many peoples problem:

    Loswitch is a killer tool for getting a layerstate restored per layout tab, i'm sure many of you are familiar with it, it is a dvb file that remembers a layer state per layout tab so you can flip between multiple tabs in 1 drawing and get totally different layerstates (colors, linetypes, EVERYTHING)

    HOWEVER
    back in LDT 03/Cad 2002, autocad would initiate or regenerate all before a batch plot or plot multiple layout tabs would take place, therefore initiate the dvb file PRIOR to the plotting process. In 06+ for some reason, the dvb file runs AFTER the plot or publish command is invoked (assuming you are publishing multiple sheets from ssm or just selecting multiple tabs)

    I need the dvb file to execute BEFORE the publish with out me going to each tab to do it.

    I'm taking suggestions. And i'll be very impressed if you guys can solve this one, because i've been asking about layerstates (LAS) layermanagers (Express tools lamn-LAY) per tab since about the first post i've been here and nobody has had a solution yet. And yes we do xref, we just have to change layerstates in drawings for various different scales, drawing types, etc.

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,830
    Login to Give a bone
    0

    Default Re: how to get dvb to run before publish plot routine

    Have you considered asking the author?

    Also, if you add something to the LayoutSwitched event, it fires when you manually switch layouts, but not when the layouts are switched during Publish. There may not be much anyone can do if this event doesn't fire during this command.

    Code:
    Private Sub AcadDocument_LayoutSwitched(ByVal LayoutName As String)
      MsgBox LayoutName
    End Sub
    R.K. McSwain | CAD Panacea |

Similar Threads

  1. Plot/Publish
    By Wish List System in forum AutoCAD Wish List
    Replies: 5
    Last Post: 2016-10-03, 03:51 PM
  2. Plot and Publish log
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2006-06-26, 12:00 PM
  3. Replies: 9
    Last Post: 2006-04-28, 08:51 PM
  4. custom export or publish lisp routine
    By timothyjturner in forum AutoLISP
    Replies: 12
    Last Post: 2005-10-28, 12:13 PM
  5. Can't Plot using Publish
    By sp2001 in forum AutoCAD General
    Replies: 12
    Last Post: 2005-06-01, 06:14 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
  •