CAD Managers
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re-Set color, linestyle, line weight to Bylayer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Many times I have found users have selected a different color, weight, etc than the "Bylayer" settings of a layer.
Is there a simple, fast way to re-set all the BYLAYER control settings besides selecting each one and setting bylayer?
I was thinking perhaps a custom icon on a toolbar. I have not been able to find the specific command language and how those commands might be strung together.
Any help would be appreciated.
Thanks,
Mark
Solved! Go to Solution.
Re: Re-Set color, linestyle, line weight to Bylayer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Try the SETBYLAYER command... and add it to an icon macro
I've not tried it but it'll be something like...
^C^C-SETBYLAYER;ALL;;;^C^C
Mark
Re: Re-Set color, linestyle, line weight to Bylayer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Ok, I tried that - it changes the actual elenets in the file.
I don't want to do that although it be usefull
What I would like to do is re-set the color, line type and weight to "By Layer" in the Properties toolbar.
Mark
Re: Re-Set color, linestyle, line weight to Bylayer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Do you just need to set what gets changed with SETBYLAYER command?
Or just change the selection in that macro from ALL to something else?
Or are you talking about something else when you state "..it changes the actual elenets in the file..."?
Re: Re-Set color, linestyle, line weight to Bylayer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I am looking for an easy, efficient way to set the color, line type and weight to BY LAYER in the Properties Toolbar with one button, instead of having to select each in the Properties Toolbar and set it to back to BY LAYER after someone else has selected another value for them that propably isn't a CAD Standard.
I am not looking for a way to change the attributes of elements in the file.
Thanks,
Mark
Re: Re-Set color, linestyle, line weight to Bylayer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
CECOLOR BYLAYER
CELWEIGHT 1
CELTYPE BYLAYER
CETRANSPARENCY BYLAYER
should get you started
Re: Re-Set color, linestyle, line weight to Bylayer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for all the suggestions, most worked.
However, after some trial and error, the value of -1 will set the line weight to BY LAYER in the Properties Toolbar
Thanks again,
Mark
Re: Re-Set color, linestyle, line weight to Bylayer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I'll throw my 2 cents in as well. I run into this quite often with our drawings, so I have a lisp routine that I use:
(defun c:BYL ()
(setq uecho (getvar "cmdecho"))
(setvar "cmdecho" 0)
(prompt "\nSelect Items To Change To BYLAYER :")
(setq ps1 (ssadd))
(setq ps1 (ssget))
(command "CHANGE" ps1 "" "P" "C" "BYLAYER" "LT" "BYLAYER" "LW" "BYLAYER" "")
(setvar "cmdecho" uecho)
(princ)
)
Once this is loaded you can make a button on the toolbar/ribbon to run the command
Royal Caribbean Cruises Ltd.


