Hide object properties

Hide object properties

Muhammed.OPERA
Advisor Advisor
1,604 Views
15 Replies
Message 1 of 16

Hide object properties

Muhammed.OPERA
Advisor
Advisor

Hi everyone 

Is there anything (Code) can hide the object properties like the attached pic.properties.png

 

 


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes
Accepted solutions (3)
1,605 Views
15 Replies
Replies (15)
Message 2 of 16

CodeDing
Advisor
Advisor

muhammed,

 

To clarify, are you asking for code that will NOT show object properties when you have SELECTED an object?

 

Best,

~DD

0 Likes
Message 3 of 16

Kent1Cooper
Consultant
Consultant

If you mean you want to close the Properties palette without going to all the trouble of picking on the white X at its upper left corner, there's a [reverse-of-PROPERTIES] PROPERTIESCLOSE command that will do it for you.

Kent Cooper, AIA
Message 4 of 16

Muhammed.OPERA
Advisor
Advisor

Hi @CodeDing Yup that's exactly what i want.


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes
Message 5 of 16

Muhammed.OPERA
Advisor
Advisor

Hi @Kent1Cooper

Sorry u misunderstand-ed me. 

I need the program to hide the properties of exact objects like the pic, although the object is selected, the program can't identify it's properties.


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes
Message 6 of 16

CodeDing
Advisor
Advisor

muhammed,

 

Maybe you should explain your situation further. To elaborate..

 

- If you are trying to avoid seeing the properties by using the default cursor and selecting an object, then I cannot help.

- If you are selecting an object through LISP then why not use (entsel) as this will not display properties.

- If you are trying to avoid seeing properties while running a code, I would use the PROPERTIES and PROPERTIESCLOSE commands in your code, as @Kent1Cooper stated.

- If you NEVER want to see your properties box, you can (not recommended) change the definition of the "Properties" command in your CUI.

*-* PERHAPS there is a way with LISP to temporarily change/disable the definition within CUI of the "Properties" command. But again, probably not recommended.

 

If you could explain what you are wanting this for, MANY people on this site are bound to find you perhaps an alternate solution to your problem.

 

Best,

~DD

0 Likes
Message 7 of 16

ActivistInvestor
Mentor
Mentor

There is no way to hide some/all properties of the selected object(s), other than by closing the Properties palette.

 

But the puzzling question is, why would you want to do that?

 

 


@Muhammed.OPERA wrote:

Hi @Kent1Cooper

Sorry u misunderstand-ed me. 

I need the program to hide the properties of exact objects like the pic, although the object is selected, the program can't identify it's properties.


 

0 Likes
Message 8 of 16

Muhammed.OPERA
Advisor
Advisor

Hi @ActivistInvestor @CodeDing @Kent1Cooper

Have you tried the AutoRebar,

all objects drawn by autorebar have no properties in the properties palette when i select them, unless you explode them.

I wanna know how this is achievable?!! I wonder about that!


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes
Message 9 of 16

Kent1Cooper
Consultant
Consultant
Accepted solution

@Muhammed.OPERA wrote:

....

all objects drawn by autorebar have no properties in the properties palette when i select them, unless you explode them.

I wanna know how this is achievable?!! I wonder about that!


I imagine it's because that's an overlay program on top of  AutoCAD [no, I haven't tried it, since I don't have it], and what it draws are not native AutoCAD drawing entities.  I can't think of a way to achieve a show-no-properties state in the Properties palette for ordinary AutoCAD entities, other than closing  the Properties palette as has already been suggested.

 

But I concur with @ActivistInvestor's question in Post 7.

Kent Cooper, AIA
Message 10 of 16

ActivistInvestor
Mentor
Mentor
Accepted solution

@Muhammed.OPERA wrote:

Hi @ActivistInvestor @CodeDing @Kent1Cooper

Have you tried the AutoRebar,

all objects drawn by autorebar have no properties in the properties palette when i select them, unless you explode them.

I wanna know how this is achievable?!! I wonder about that!


The objects created by AutoRebar must be custom objects that are either not properly-implemented or have bugs, because if they were properly-implemented and had no bugs, they would show at least the common entity properties (e.g., Layer, Color, Linetype, etc.), if nothing else.

 

 

0 Likes
Message 11 of 16

Muhammed.OPERA
Advisor
Advisor

Hi @ActivistInvestor @Kent1Cooper @CodeDing

Please see that attached file: 

http://www.mediafire.com/file/fusdf5dcuul2wdw/Rebar_element.dwg

You will understand what i mean if you select the drawn object and show the properties.

Thanks


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes
Message 12 of 16

ActivistInvestor
Mentor
Mentor
Accepted solution

There is only one object in the dwg file you posted a link to, and it is a POLYLINE with some XData attached to it.

 

When I select it, the Properties palette shows everything that it normally shows for any polyline.

 

Have you tried opening the file without the Auto-Rebar application loaded?

 


@Muhammed.OPERAwrote:

Hi @ActivistInvestor @Kent1Cooper @CodeDing

Please see that attached file: 

http://www.mediafire.com/file/fusdf5dcuul2wdw/Rebar_element.dwg

You will understand what i mean if you select the drawn object and show the properties.

Thanks


 

Message 13 of 16

Muhammed.OPERA
Advisor
Advisor

Hi @ActivistInvestor 

you are right, i didn't observe that.

Thanks alooooooooot.

Do you know how to do such thing if ther's any tutorial it will be so useful?


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes
Message 14 of 16

Kent1Cooper
Consultant
Consultant

@Muhammed.OPERA wrote:

....

Do you know how to do such thing if ther's any tutorial it will be so useful?


By "to do such thing" do you mean to be able to select an object, and have it highlighted and its grips turned on, but have the Properties palette say "No selection" as in the image in Post 1?  If so, it's beyond me to imagine how, in regular AutoCAD, other than [as already noted] the "workaround" -- to simply close the Properties palette.

Kent Cooper, AIA
0 Likes
Message 15 of 16

Muhammed.OPERA
Advisor
Advisor

Hi @Kent1Cooper

Yes, i meant to be able to select an object, and have it highlighted and its grips turned on, but have the Properties palette say "No selection" as in the image in Post 1


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes
Message 16 of 16

ActivistInvestor
Mentor
Mentor

@Muhammed.OPERAwrote:

Hi @Kent1Cooper

Yes, i meant to be able to select an object, and have it highlighted and its grips turned on, but have the Properties palette say "No selection" as in the image in Post 1


As I mentioned above, there is no way to do that.

0 Likes