Visible/Hide toolbars with tool

Is possible to make tool in toolbar or command (lisp) which can make/ change visble status for toolbars?

 

Ie. LISP command "3Don", make vissible toolbars "Solid Editing" and "Isometric Views" and "3Doff" it hide. Or simple "3D" make visible or hide this two toolbars.

Comments

  • Juraj,

    My understanding is that you want to know how to make toolbars visible or hidden. Here is a sample code:

    **TB_GEOT_POLYLINE2
    ID_GT_PL2         [_Toolbar("Polyline Tool Set 2", _Floating, _Show, 100, 150, 1)]
    ....
    ....
    ....

    // The above two lines defines a toolbar heading

    To show the toolbar, the code is:::::: (command "._toolbar" "Polyline Tool Set 2" "_show")

    To hide the toolbar, the code is:::::: (command "._toolbar" "Polyline Tool Set 2" "_hide")

    Hope this helps.

    Regards
    Rakesh Rao
    http://rakeshrao.typepad.com

     

  • Great! This is exactly what I need. Thanks!

This discussion has been closed.

Howdy, Stranger!

It looks like you're new here. Click one of the buttons on the top bar to get involved!