Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Can't change layout viewport scale using vla-put-customscale
« previous
next »
Print
Pages: [
1
] |
Go Down
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
Can't change layout viewport scale using vla-put-customscale
«
on:
June 23, 2023, 08:43:39 AM »
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
Logged
Tharwat
Swamp Rat
Posts: 710
Hypersensitive
WWW
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.
Logged
HVAC, Plumbing, Drainage, Electricity , Fire Fighting Programs and many more .....
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.
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Can't change layout viewport scale using vla-put-customscale