Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get flyout value

3 REPLIES 3
Reply
Message 1 of 4
scottbolton
257 Views, 3 Replies

Get flyout value

Chaps,

 

Anybody know how can I determine which button on a flyout toolbar is currently shown?

 

S

3 REPLIES 3
Message 2 of 4
Moshe-A
in reply to: scottbolton

Scott,

 

Never needed to do this but it looks to me that you can query ToolBarItem object

and if it is a Flyout get its TagString and compaire it with ToolBar/ToolBarItems TagStrings

that is attached to that ToolBarItem

 

Moshe

 

 

 

Message 3 of 4
scottbolton
in reply to: Moshe-A

Hi Moshe,

 

Using this code:

 

(vlax-dump-object
  (vla-item
    (vla-get-toolbars
      (vla-item
        (vla-get-menugroups
          (vlax-get-acad-object)
          )
        "ACAD"
        )
      )
    "Zoom"
    )
  )

 

gives the same results no matter what the Zoom flyout of Standard is set to.

 

Am I missing something?

 

S

Message 4 of 4
Moshe-A
in reply to: scottbolton

It looks like you are right, they does not reveals the default selected button.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost