PDA

View Full Version : Add Properties object selected to another toolbar


pahuntr
03-06-2004, 06:33 PM
I'd like to add the object selected box in the Properties window to another toolbar so that I can select an object and see the type without having to have the Properties window open. How can I do this?

odon
05-06-2004, 08:03 PM
Why not use the Inquiry toolbar which has the List button on it?

pahuntr
07-06-2004, 11:15 AM
because i would have to select the list icon, and i would get more info than desired. i just want to know the object type. i want to be able to select an object, and see the object type without doing anything else. just like i can see the layer and the color and the linetype etc. from the object properties toolbar just by selecting the object.

bob.at
07-06-2004, 01:20 PM
The only way i find (without useing some arx program) is to minimize the property window as much as possible. Then it nearly does what you want. If you want to use the wohle prop window in the meantime you can dock it to the right/left side and it becomes large.

[/img]

odon
07-06-2004, 01:40 PM
Here's a lisp that you can make a toolbar button for:

; Description: Pick an object to get type.
(prompt " has been loaded. Type OT to run.")(graphscr)(princ)
(defun C:OT(/ a)
(setq a (entget (car (entsel "\nPick object: "))))
(prompt (strcat "\nThe object type is: " (cdr (assoc '0 a))))
(princ)
); end of program