Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Mentor
ArchD
Posts: 313
Registered: ‎07-30-2008
Message 1 of 5 (276 Views)
Accepted Solution

Plot stamp shows temp folder when publishing

276 Views, 4 Replies
01-02-2014 12:56 PM

We used a block which contains deisel expressions for our plot stamp. When we publish through the sheet set manager it shows a temp folder where the drawings are spooled to instead of the actual drawing saved path. We can fix this buy turning off background plotting when we publish, but I was wondering if there is a way to show the saved path instead of the spoolled path when publishing in the background.

 

Below is the expression found in our plot stamp block.

 

$(GETVAR, "dwgprefix")$(getvar, "dwgname")$(edtime, 0, M/DD/YYYY H:MM:SS AM/PM), $(getvar, loginname)

 

 

 

Archie Dodge

Civil 3D 2013
Windows 7 64-bit
Xeon E5-1620 v2 @ 3.70 GHz
Nvidia Quadro K4000
32.0 GB RAM
*Expert Elite*
scot-65
Posts: 2,156
Registered: ‎12-11-2003
Message 2 of 5 (257 Views)

Re: Plot stamp shows temp folder when publishing

01-02-2014 03:09 PM in reply to: ArchD
You do not like the built-in PSS plot stamp method?
(command "-PLOTSTAMP" "On")

Try this instead:
Inside your ACAD.lsp/ACADdoc.lsp/MNL add the following:
(setvar "USERs1" (getvar "DWGPREFIX"))

Now change your expression to this:
$(getvar, "USERs1")...

After all, this is what the user keys were originally designed for...
Scot-65
Dyslexia is a permanent physical disability that cannot be seen.
Introverts is proof that there is indeed intelligent life on this planet.
**Master
dmfrazier
Posts: 2,740
Registered: ‎05-13-2003
Message 3 of 5 (223 Views)

Re: Plot stamp shows temp folder when publishing

01-06-2014 01:29 PM in reply to: ArchD

"We used a block which contains deisel expressions for our plot stamp."

 

An alternative (untested by me, which might behave better) is to use FIELDs instead of some (or all) of those "deisel" expressions.

 

%<\AcVar Filename \f "%fn7">% = (GETVAR, "dwgprefix")$(getvar, "dwgname")

%<\AcVar Login>% [-or-] %<\AcVar LastSavedBy>%  = (getvar, loginname)

 

And there are a few options for dates:

 

%<\AcVar Date \f "M/d/yyyy h:mm:ss tt">% = (edtime, 0, M/DD/YYYY H:MM:smileyfrustrated:S AM/PM)

%<\AcVar PlotDate \f "M/d/yyyy h:mm:ss tt">% = Plotted

%<\AcVar SaveDate \f "M/d/yyyy h:mm:ss tt">% = Last Saved

Mentor
ArchD
Posts: 313
Registered: ‎07-30-2008
Message 4 of 5 (216 Views)

Re: Plot stamp shows temp folder when publishing

01-06-2014 01:46 PM in reply to: dmfrazier

The fields worked great. I've tested it with one publish and it works flawlessly. I don't know why I never thought of that. I love coming to these forums.

 

The built in plot stamp feature does not really work well for all of our title blocks. In some it comes out great, in others it overlaps linework.

Archie Dodge

Civil 3D 2013
Windows 7 64-bit
Xeon E5-1620 v2 @ 3.70 GHz
Nvidia Quadro K4000
32.0 GB RAM
**Master
dmfrazier
Posts: 2,740
Registered: ‎05-13-2003
Message 5 of 5 (210 Views)

Re: Plot stamp shows temp folder when publishing

01-06-2014 02:04 PM in reply to: ArchD

We also had intermittent "issues" with the built-in plot stamp.  I was very pleased when FIELDs came along and made it possible to create an attractive, versatile, and easily manipulated plot stamp.

Glad I was able to help.  (And thanks for the kudos.) 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.