Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

AutoCAD 2023 - Select objects then command

kzD1219
Collaborator
Collaborator

AutoCAD 2023 - Select objects then command

kzD1219
Collaborator
Collaborator

We just starting using acad2023.  So of course a few things have changed. When I select/grip/highlight my line work first, then type in the command LAYFRZ, it doesn't automatically freeze the entities I have already selected.  It does work when the command is running and then pick the entities.  Is there an option or system variable setting that needs to be changed?  Or did it get changed in this version?   Pickfirst <1> and Pickadd is set to <2> already, Noun/verb selection is check in the options.

 

[ The subject line of this post has been edited to include the product name by @handjonathan ]

0 Likes
Reply
Accepted solutions (1)
2,726 Views
28 Replies
Replies (28)

cadffm
Consultant
Consultant

In which version was it working different?

Sebastian

kzD1219
Collaborator
Collaborator

It was working in 2017 and 2020, but so far in 2023 I have to start the command and then select the entities.  I thought I kept track of all the system variables needed to be changed, but this one is stumping me.

0 Likes

cadffm
Consultant
Consultant

No, the last 10 version (and I think since it started as native command in 2007) it works this way and not the way you think to remember.. sorry.

 
 

 

 

Sebastian

pendean
Community Legend
Community Legend
PICKADD = 2 is the default setting: look it up in HELP.
0 Likes

kzD1219
Collaborator
Collaborator

kzD1219_0-1666104653946.png

 

Already have that.

0 Likes

pendean
Community Legend
Community Legend

@kzD1219 wrote:
....Pickfirst and Pickadd are set to <1> already....
....It was working in 2017 and 2020....

kzD1219_0-1666104653946.png

 

Already have that.


Good, since that is not what you wrote in your first post.

 

AFAIK you used a customization back in the day since the core command LAYFRZ works the same way in a quick test (deselects a selection set when activated) in AutoCAD/LT/ARCH 2020-2021-2022-2023 for me on my Win10Pro PC with my own files.

 

Need help with LISP to customize? Do you need/use any of the subset features of LAYFRZ?

0 Likes

kzD1219
Collaborator
Collaborator

@pendean wrote:

@kzD1219 wrote:
....Pickfirst and Pickadd are set to <1> already....
....It was working in 2017 and 2020....

kzD1219_0-1666104653946.png

 

Already have that.


Good, since that is not what you wrote in your first post.

 

AFAIK you used a customization back in the day since the core command LAYFRZ works the same way in a quick test (deselects a selection set when activated) in AutoCAD/LT/ARCH 2020-2021-2022-2023 for me on my Win10Pro PC with my own files.

 

Need help with LISP to customize? Do you need/use any of the subset features of LAYFRZ?


Sorry have multiple things on the go, my bad.  Can't use a lisp routine so if it can't be solved with acad system variables or commands, I will have to figure something else out.  We have staff that have laptops and not designed to sign into our server to get extra files.

0 Likes

TomBeauford
Collaborator
Collaborator

Assuming you have the Layer List Combo Box in your Quick Access Toolbar just select an object then click the freeze icon in the drop-down in front of the layer name. I use that box 20 times a day.

64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
0 Likes

kzD1219
Collaborator
Collaborator

@TomBeauford wrote:

Assuming you have the Layer List Combo Box in your Quick Access Toolbar just select an object then click the freeze icon in the drop-down in front of the layer name. I use that box 20 times a day.


Yup, that is definitely a way of doing it, but we have quite a few old school people that are very command driven so to change up their way...well I think we are just stuck in our old ways and don't like change...lol.  I am sure we will find away around it, was just hoping there was something little I was missing.

0 Likes

cadffm
Consultant
Consultant

You didn't understood: The way it works in 2023 is the same was as in 2017 or 2020,

you remembered wrongly (or it was another command/another software).

Sebastian

kzD1219
Collaborator
Collaborator

@cadffm wrote:

You didn't understood: The way it works in 2023 is the same was as in 2017 or 2020,

you remembered wrongly (or it was another command/another software).


I understand.  You are saying it hasn't changed at all in the last 10 versions of acad.  I get that, it shouldn't have changed at all and should work the exact same.

 

What we have done is upgraded from 2017 which we still use today, to 2023 which we are using today as well.  So we have had to go and change all the system variables of 2023 to match what we had set up for previous versions.  And even though I have everything recorded that we had changed in the past and what I changed in 2023, something isn't working in 2023 to allow us to pick the line work first and then use at least the LAYFRZ command.  I haven't noticed any other command, but haven't used it that long.  Just hoping there was some small variable that isn't quite set up the same in 2023.  

0 Likes

cadffm
Consultant
Consultant

Open your 2017 and try it now again,

 

<edit>

if it works the way you want (different to 2023),

please share a screnncast.

It would be good to see the whole program and the textscreen [F2] while you walk thru the steps.

Sebastian

cadffm
Consultant
Consultant

@kzD1219  schrieb:


I understand.  You are saying it hasn't changed at all in the last 10 versions of acad.  I get that, it shouldn't have changed at all and should work the exact same.

 

Right, it should work in 2017 / 2020  the same way, but I said it should work in all version as you described it for 2023


 

Sebastian

kzD1219
Collaborator
Collaborator

@cadffm wrote:

Open your 2017 and try it now again,

 

<edit>

if it works the way you want (different to 2023),

please share a screnncast.

It would be good to see the whole program and the textscreen [F2] while you walk thru the steps.


So 2017 works great.  I can select multiple entities on multiple layers first and then use the LAYFRZ command and it will freeze those selected layers.

 

2023, what I have noticed after playing around.  While in the LAYFRZ command I cannot select multiple entities.  It will only freeze one layer at a time.  And again, when I pick any entity first and then try the command, I have to re-select that one entity.

 

So 2023 is not working the same way as 2017 just yet.

0 Likes

cadffm
Consultant
Consultant

Your 2017 "layfrz" is NOT the "AutoCAD "layfrz" command.

The way you can see in 2023 is the original one (and the same way how it should work in 2017 with the original "layfrz" command).

Please try this in 2017: Start command .layfrz (with the period in front of the commandname)

Is it working the same way as before, or like in 2023?

 

 

 
 

 

 

Sebastian

pendean
Community Legend
Community Legend
>>>...So 2023 is not working the same way as 2017 just yet....<<<
@kzD1219 very few of us still run 2017. You'll have to take that one up with Autodesk if that's all you have to compare with, most of us cannot help you here.

Did LAYFRZ move from being an Express Tool to a core command before or after 2017? I don't remember.

Since you state this works the same way in 2020, which some of us also have, show us in a video and a full commandline dump here please: ensure that in 2020 you invoke the core command .LAYFRZ (period in front of name you type fully, no abbreviation) and let us know.

AND as a subscriber with 2023 access, you can also download/install/test fresh unmigrated versions of 2020-2021-2022 versions to test on a separate PC.

TIA
0 Likes

cadffm
Consultant
Consultant

@pendean  schrieb:
Did LAYFRZ move from being an Express Tool to a core command before or after 2017? I don't remember.
Yes, 2007

 

Sebastian

TomBeauford
Collaborator
Collaborator
It's worked the same way since it was introduced, open the command and select one object at a time.
This post from 2016 was from a user wanting the same thing as you: https://www.cadtutor.net/forum/topic/60807-freeze-layers-of-selected-objects/
which included a link to a lisp that did the trick by irneb: https://forums.augi.com/showthread.php?130148-Turning-multiple-layers-freeze-thaw-on-off&p=1128546&v...
Case Closed!
64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
0 Likes

Kent1Cooper
Consultant
Consultant

I think it doesn't work because LAYFRZ wants not only a single object [which can be "violated" by a pre-selection], but also to have it selected at a location.  You can't give just an entity designation, such as "Last," as the selection to LAYFRZ:

 

Command: LAYFRZ

Current settings: Viewports=Vpfreeze, Block nesting level=Block
Select an object on the layer to be frozen or [Settings/Undo]: LAST

*Invalid selection*
Expects a point or Settings

 

But you can give it just a location, such as @ [as long as whatever is there is not on the current Layer].

 

This makes it hard to imagine how even a custom command built on LAYFRZ could work with a pre-selection.  It could presumably be made to check that there's only one object in the pre-selection, and proceed only if so, but how would it designate the location?  Not everything has the same kind of entry in its data of some location that is guaranteed to have something drawn there to be picked on [e.g. the obvious and easy piece of locational information about a Circle is its center, but there's nothing to pick on there, there may not be at the insertion point of Text or Mtext or a Block, etc.].  I think a custom command would not use the LAYFRZ command to do its thing, but rather LAYER, or would work with the Layer table entries rather than through any command.

Kent Cooper, AIA