Right Click Options, bylayer
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Right Click Options, bylayer

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
dood
Guest





Posted: Tue Apr 05, 2005 7:45 pm    Post subject: Right Click Options, bylayer Reply with quote

Just wondering what the possibilities are.

Is it possible to create a right-click menu that would show options
based on the entities layer? block inserts, text styles etc that would
be unique to that specific layer. As it is now it seems the menu is
mostly based the entity type.

dood

Back to top
rgrainer
Guest





Posted: Thu Apr 07, 2005 8:51 am    Post subject: Re: Right Click Options, bylayer Reply with quote

My tempered guess is no. Although I couldn't imagine what would happen if
you commented out all of the related portions of the acad menu and just see
what happens. (I'm kidding don't try this at home...or anywhere else unless
you know what you are doing) On the other hand I have functions that are
activated by a Ctrl+Right click when "hovering" over an object and yes it is
based on entity type. But I have the ability to filter for all types of
entities as well as layers of items...so for example I can get text items
and have a cursor menu appear that is specific to text (similar to current
right click behaviour) but then I can get a different cursor menu to appear
based on the layer of other text that I hover over...so two Text menus based
on reading the layer of the underlying text entity. So It would be very
simple to have a whole slew of menus based on the entity selected as well as
its layer. And this leaves the standard right click working as usual.....
but for ideas look in to grread and nentselp ie
(prompt "\nTracking for entity....")

(while (not pp)

(setq pp (cadr (grread 5 1)))

(setq sqcmdpt pp)

)

then you need to create your own menus based on the entities layer
HTH
Richard

"dood" <shelby@cobrapix.nospam> wrote in message
news:4252b222_3@newsprd01...
Quote:
Just wondering what the possibilities are.

Is it possible to create a right-click menu that would show options
based on the entities layer? block inserts, text styles etc that would
be unique to that specific layer. As it is now it seems the menu is
mostly based the entity type.

dood
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB