Jump to content

Workspace switching and LAYLOCKFADECTL


Cadax

Recommended Posts

Hi everyone,

 

I'm looking to find some information on if there is a way to have my LAYLOCKFADECTL set to two different values in two different workspace's.

 

When setting up MEP sheets here at the office (in my 'sheet setup' workspace) I like to lock the xref layer after I alx them and have them show up dark in acad, but when drafting plumbing work (in my 'drafting workspace') I like them to show up at a brighter contrast.

 

I've tried saving the two different workspaces to different values but they never stay. Anyone know a way to possibly make this happen?

 

Thanks in advance to any help. :D

Link to comment
Share on other sites

something like this maybe?

(defun c:ws1 ()
 (setvar "laylockfadectl" [color=Red]0[/color])[color=Red];edit as wanted[/color]
 (command "workspace" "c" "[color=Red]Workspace1[/color]")[color=Red];edit as wanted[/color]
 )
(defun c:ws2 ()
 (setvar "laylockfadectl" [color=Red]50[/color])[color=Red];edit as wanted[/color]
 (command "workspace" "c" "[color=Red]Workspace2[/color]")[color=Red];edit as wanted[/color]
 )

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...