Message 1 of 2
vla-get-name, vla-get-TagString, well... almost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to build a list of currently visible menu (POP) items.
What I am looking for is to create a list of the Aliases.
Aliases - Specifies a unique value for a user interface element that is used to programmatically reference the user interface element.
I can assemble the Name, NameNoMnemonic and TagString but cannot find Aliases.
If not, then how do I rename a "Element ID"? [this is the vla-get-TagString]
(setq a "") (vl-catch-all-apply (function (lambda () (vlax-for menu (vla-get-menubar (vlax-get-acad-object)) ;(setq a (strcat a (vla-get-NameNoMnemonic menu) "\n")) ;(setq a (strcat a (vla-get-name menu) "\n")) (setq a (strcat a (vla-get-TagString menu) "\n")) ) ) ) ) (alert a)
Scot-65
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.