j2lstaples Posted November 15, 2023 Share Posted November 15, 2023 I currently use this command to change the layer's (lay) viewport override color (col) to grey (252). (command-s "vplayer" "c" col lay "" "") Doing this iteratively is so time-consuming that I've been trying to find other ways to do it. ActiveX doesn't really have a method for doing this. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted November 16, 2023 Share Posted November 16, 2023 You can get all the viewports in a layout, then in a loop change them, a warning if I remember correct the last viewport is PSPACE. So repeat for (- (sslength ss) 1) (setq ss (SSGET "X" '((0 . "VIEWPORTS")(cons 410 (getvar 'ctab)))))) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.