Author Topic: Can't change layout viewport scale using vla-put-customscale  (Read 760 times)

0 Members and 1 Guest are viewing this topic.

Lastknownuser

  • Newt
  • Posts: 29
Like the thread title says, vla-put-customscale doesn't work for me in autocad 2021 version. I used it before and it worked on version 2018 so its weird I can't figure out why, maybe some system variable?
So vla-put-customscale doesn't work for viewports in layouts from model space, and it only works if I'm in certain layout. SSGET and loop through all layouts doesn't work either.
I also asked the question on CADTutor, codes are posted there: https://www.cadtutor.net/forum/topic/77767-edit-vla-objects-in-layouts-from-model/

Any help or info would be welcome, thanks

Tharwat

  • Swamp Rat
  • Posts: 710
  • Hypersensitive
Re: Can't change layout viewport scale using vla-put-customscale
« Reply #1 on: June 23, 2023, 08:55:43 AM »
You may have the viewport locked.

Lastknownuser

  • Newt
  • Posts: 29
Re: Can't change layout viewport scale using vla-put-customscale
« Reply #2 on: June 23, 2023, 11:03:31 AM »
SOLVED! It was LAYOUTREGENCTL sys variable, it was set to 2 (by default), changed it to 0 like it was on my previous work pc. Listed all variables from old pc and compared with current.