Run LISPs while background plotting/publishing

Run LISPs while background plotting/publishing

cameron.robertsXX8LX
Contributor Contributor
1,267 Views
5 Replies
Message 1 of 6

Run LISPs while background plotting/publishing

cameron.robertsXX8LX
Contributor
Contributor

Hi All,

 

I currently have a LISP routine that will run on opening a drawing.  My goal is to have the LISP run while using background plotting/publishing and utilizing sheet set manager. Anybody have any ideas on this?

 

Thanks.

0 Likes
1,268 Views
5 Replies
Replies (5)
Message 2 of 6

pbejse
Mentor
Mentor

@cameron.robertsXX8LX wrote:

I currently have a LISP routine that will run on opening a drawing.  My goal is to have the LISP run while using background plotting/publishing and utilizing sheet set manager. Anybody have any ideas on this?


Back up a little @cameron.robertsXX8LX . and please try to avoid starting another topic and there's an active thread closely related to this topic started by you as well.

 

On that discussion you stated...

 


@cameron.robertsXX8LX wrote:

I have a CSV file and a LISP routine that allows me up to update my titleblock attributes by running a lisp which opens on startup. The problem is, the lisp routine only runs when you open a drawing. I would like to be able to plot the drawings using Sheet Set Manager and not have to open the drawings


If you had only continued that topic, we could 've suggested half a dozen way to do that, and why is it so important that it needs to be running during plotting drawing with  sheet set manger?  There are ways to run a lsp file without opening a single drawing especailly updating attribute values, granting that is what you wanted in the first place,  you can even use  custom properties on sheet set manager to update values on all sheets.

 

Tell us cleary what the problem is, and we'll show you the solution.

 

This is a very friendly and helpful community, I asure you, you will receive the best help here.

Help us help you 🙂

 

0 Likes
Message 3 of 6

cameron.robertsXX8LX
Contributor
Contributor

why is it so important that it needs to be running during plotting drawing with  sheet set manger? 
There are ways to run a lsp file without opening a single drawing especailly updating attribute values, granting that is what you wanted in the first place,  you can even use  custom properties on sheet set manager to update values on all sheets.

I would like to be able to plot/publish to PDF from sheet set manager and have my titleblock attributes update at the same time in the most efficient way. Using sheet set manager is the most optimal way to plot/publish 35-40 sheets of an engineering set for a submittal without having to actually open the drawings, which is the most time consuming process for us. Generally, when we revise, specific information on sheets do not update, just xref's and synchronized objects. This means, using sheet set manager and a way to update titleblock attributes, to revise a sheet, I would never have to open most of the drawings, which is the most time consuming process for us.

 

Updating custom properties in sheet set manager takes a lot of time considering you can not copy and paste the values in. I would have to go through 35-40 sheets of my set which would easily take 20-30 minutes.

 

I can use external softwares, like JTB, to import csv files into the sheet set properties, but this has user license costs. I do not see why I should have to pay for this software if I can figure another way out like I explain below:

 

The best option I have found so far, is running a LISP routine that is linked to a csv file that automatically updates my attributes, but I have to open the DWG to have the LISP run. Yes, I can have background publish off, and then sheet set manager would open the drawings and this is overall the fastest way so far, but I still believe I can somehow get the LISP to run when I background publish. I would cut the publish time in half.

 

I apologize for posting again, I was just looking and stretching for further ideas.

0 Likes
Message 4 of 6

pbejse
Mentor
Mentor

@cameron.robertsXX8LX wrote:

.. I would never have to open most of the drawings, which is the most time consuming process for us.

..The best option I have found so far, is running a LISP routine that is linked to a csv file that automatically updates my attributes, but I have to open the DWG..

That is what we're trying to tell you cameron. There is a way to run a lisp without graphically opening a drawing file.

Also, be aware the time to finish plotting in "background"  is the same if not longer than a none background plot.

 

The link i posted before  Use Publish To Batch Run Commands will do exactly what you're describing and still you're best option. Run the lisp program at the same time plotting the drawing.

 

If the suggestion on the link above doesn't work for you. Let us have a look at your routine and will make it work on muliple drawings without opening any of the files.

 

 

0 Likes
Message 5 of 6

cameron.robertsXX8LX
Contributor
Contributor

The link you posted is still the same aspect where each sheet will have to open. I am using an ACADDOC to have my lisp open on startup. Do you know a way to force a LISP to run while background publishing?

 

Attached is my LISP. Taken from Lee Mac

0 Likes
Message 6 of 6

pbejse
Mentor
Mentor

@cameron.robertsXX8LX wrote:

Do you know a way to force a LISP to run while background publishing?


No I dont cameron, as i already mentioned before, i tried background publishing and STARTUP suite but it didnt work for me. Not sure with ACADDOC lisp though, maybe someone can verify that for you. I have not use ACADDOC## since i started using Autoloader.

 

Still dont understand why not use the option I'm offering you. the length of time to plot with backgorund On or OFF is basically the same. 

 

I'm afraid that is all i can offer you. If "opening" a file is too much hassle for you maybe you can use either use ACORECONSOLE or ObjectDBX .

 

Both has its pros and cons just so you know. ObjectDBX  can process the files super fast without graphically opening the files   and  ACORECONSOLE can do "background" plotting.

 

0 Likes