freeze objects

freeze objects

michaelZCXYL
Enthusiast Enthusiast
1,828 Views
33 Replies
Message 1 of 34

freeze objects

michaelZCXYL
Enthusiast
Enthusiast

Hello,

 

I am wondering if it is possible to freeze/off objects instead off freeze/off layers? thank you  very much in advance.

0 Likes
1,829 Views
33 Replies
Replies (33)
Message 21 of 34

cadffm
Consultant
Consultant

Not new in R13/DXF13/AC1012 ?

https://filemonger.com/specs/dxf/wotsit.org/dxf13/R13DXF/R13DXF.html

 

You quoted the wrong part. This part documented just the data type,

 but 60 wasn't in use.

 

EDIT: I checked the original Autodesk hlp file, the content from my link IS really the content from the Autodesk help file.

Sebastian

0 Likes
Message 22 of 34

CADaSchtroumpf
Advisor
Advisor

@cadffm 

Mea culpa, you are right!
On the other hand I am sure for the version R14, I still have the paper manual of this version.

0 Likes
Message 23 of 34

michaelZCXYL
Enthusiast
Enthusiast

Hello,

 

Could you please tell a little more about your method? When and where to use it? Many thanks. 🙂

0 Likes
Message 24 of 34

CADaSchtroumpf
Advisor
Advisor

Hi,

 

After loading the lisp, you will have two commands (which can be typed on the keyboard): E_OFF and E_ON

E_off: you simply designate the entity or several to inactivate.
E_on: the function will temporarily show you only all the entities that have been inactivated, you simply designate the ones you want to reactivate.

Message 25 of 34

john.uhden
Mentor
Mentor

@CADaSchtroumpf 

That's a nice touch... temporarily showing the deactivated.

John F. Uhden

0 Likes
Message 26 of 34

michaelZCXYL
Enthusiast
Enthusiast

Hello,

 

Great job! 

I am sorry to reply you late as I am a little busy. I am wondering if it is possible to work on multiple drawing at one time? thanks again. 🙂

0 Likes
Message 27 of 34

michaelZCXYL
Enthusiast
Enthusiast

I have one more question. The objects will hide until using E_ON to force them back, is it correct? thanks.

0 Likes
Message 28 of 34

michaelZCXYL
Enthusiast
Enthusiast

Your solution was accepted, "working on multiple drawing at one time" is a extra question. I may create another post for that question. Could you please advise me if you are interested in it? I find a another different lisp, it works on multiple drawing at one time,  thanks.

0 Likes
Message 29 of 34

Kent1Cooper
Consultant
Consultant

@michaelZCXYL wrote:

.... I am wondering if it is possible to work on multiple drawing at one time? .... 


Aside from the issue that an AutoLisp routine can't start in one drawing and continue in another, and likewise can't operate in more than one drawing at the same time -- if it could, how would what you're asking work?  If it involves selecting items to hide, or those you want to un-hide from hidden ones temporarily revealed, how can you do that in more than one drawing at a time?  What do you picture as the steps a User would take?

 

You can have a Script call it, and using something like ScriptPro to run that in multiple drawings successively, but don't you still need to do something in each of them separately?

Kent Cooper, AIA
0 Likes
Message 30 of 34

michaelZCXYL
Enthusiast
Enthusiast

Hello,

 

Thank you for your quick response. I do not need to do something in each of them separately, do the same thing for all the drawings.

 

Another question is:

The objects will hide until using E_ON to force them back, is it correct? thanks again.

0 Likes
Message 31 of 34

Kent1Cooper
Consultant
Consultant

@michaelZCXYL wrote:

.... I do not need to do something in each of them separately, do the same thing for all the drawings. ....


That's what I don't understand.  What is "the same thing"?  Do you mean it would hide or reveal the same object(s) in all drawings?  Do they all have the same object(s) in them?  What defines what's the same object?

 

It can't use entity names, because those change from one drawing session to another.

 

It might only under very restricted lucky circumstances be able to use handles, requiring that all drawings involved were made using SAVE or SAVEAS from the same source drawing, so the handles will be the same, and that all the desired same objects in all drawings were already present at the time those drawings were all created.  That's the only chance you would have of the same objects having the same handles that a routine could use to find them.

 

Again, what would a User do to achieve what you're after, if a command can be defined?  Call the command while in one of the drawings in question, and then.... ?  Would all the other drawings involved need to be open at the time?  [AutoLisp won't be able to move from one to another.]  Would they all be in the same folder location?  [I believe something like ScriptPro could run a Script in all of them, which could call the AutoLisp routine in each if it doesn't require User input, but then it wouldn't be called as a command in one of the drawings.]  Etc.

Kent Cooper, AIA
0 Likes
Message 32 of 34

pendean
Community Legend
Community Legend
@Kent1Cooper Might be time to just let them run with open scissors aka "feeling lucky" 😐
0 Likes
Message 33 of 34

michaelZCXYL
Enthusiast
Enthusiast

Hello,

For your lisp, the objects will hide permanently until using E_ON to force them back, is it correct?

Regarding multiple drawing question, for example, hide all the revision clouds or same block for all the drawings in the same folder. Script or lisp, either one is fine. I find a another lisp, it modify same text on multiple drawing at one time in the same folder. Again, your solution for the original question is accepted, thanks.

0 Likes
Message 34 of 34

Kent1Cooper
Consultant
Consultant

@pendean wrote:
Might be time to just let them run with open scissors aka "feeling lucky" 😐

But run with what scissors?  That's what I'm trying to elicit.

Kent Cooper, AIA
0 Likes