Author Topic: assign the plot output PDF file name, via VLISP  (Read 1667 times)

0 Members and 1 Guest are viewing this topic.

domenicomaria

  • Newt
  • Posts: 195
Re: assign the plot output PDF file name, via VLISP
« Reply #30 on: January 27, 2021, 01:00:08 PM »
Marco, tomorrow
I will take a look to command-s function
...
Thank you

Ciao

domenicomaria

  • Newt
  • Posts: 195
Re: assign the plot output PDF file name, via VLISP
« Reply #31 on: April 07, 2021, 12:40:21 PM »
Normally the VovKa code
works perfectly !
. . .
But today . . .
. . .
What happens ?

VovKa

  • Swamp Rat
  • Posts: 1317
  • Ukraine
Re: assign the plot output PDF file name, via VLISP
« Reply #32 on: April 07, 2021, 03:38:55 PM »
Normally the VovKa code
works perfectly !
. . .
But today . . .
. . .
What happens ?
you've made some changes to my code

try my original version

Lee Mac

  • Seagull
  • Posts: 12458
  • London, England
Re: assign the plot output PDF file name, via VLISP
« Reply #33 on: April 07, 2021, 03:49:52 PM »
It looks as though you're setting the Plot Type to Window before defining a window to plot...

domenicomaria

  • Newt
  • Posts: 195
Re: assign the plot output PDF file name, via VLISP
« Reply #34 on: April 07, 2021, 04:31:21 PM »
I have used this code many dozen times. . .

And everything worked fine. . .

Perhaps the print driver is damaged. . .

I use "AutoCAD PDF (High Quality Print).pc3"

VovKa

  • Swamp Rat
  • Posts: 1317
  • Ukraine
Re: assign the plot output PDF file name, via VLISP
« Reply #35 on: April 07, 2021, 05:57:36 PM »
I have used this code many dozen times. . .
just try my unmodified code and say if it's working or not

domenicomaria

  • Newt
  • Posts: 195
Re: assign the plot output PDF file name, via VLISP
« Reply #36 on: April 08, 2021, 03:39:49 AM »
I removed the gray commented code,
and added, the code in the green rectangle . . .

but what I can't understand is because the same code,
yesterday morning, like many many other times,
worked perfectly,
and since yesterday afternoon it returned an error. . .

. . . rereading the code, with the modification suggested
by Lee Mac and Marc'Antonio Alessi
it seems absolutely right to me. . .

but I don't understand why it worked before. . .

anyway thank you all for your kindness and help.

Have a nice day to all

ciao

domenicomaria

  • Newt
  • Posts: 195
Re: assign the plot output PDF file name, via VLISP
« Reply #37 on: April 08, 2021, 03:45:07 AM »
. . . and I also noticed that,
the original VovKa code is right and it works. . .

. . . evidently I have made some mess:whistling:
and I have not noticed it!
. . .
I'm sorry.

Thanks

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1172
  • Marco
Re: assign the plot output PDF file name, via VLISP
« Reply #38 on: April 08, 2021, 03:52:21 AM »
...

. . . evidently I have made some mess:whistling:
and I have not noticed it!
...
You have used a old version of the code   :yes: :blink: