Skip to main content
16-Pearl
December 9, 2013
Question

automatically show full UI from Mini toolbar command

  • December 9, 2013
  • 2 replies
  • 7773 views

Currently, when a command is started from the mini toolbar, the full UI is not shown. Pressing shift+space will open up the full UI for the command. Is there a way to automatically show the full UI without having to hit shift+space? More often than not, I need the full ui open.

2 replies

17-Peridot
December 13, 2013

Hi Tom,
the behavior has also annoyed me a little and that's why I asked the Support.

Description:
Setting required to automatically open the Dialog Box of a command, when selecting it using the Command Mini Toolbar (CMT)
How to specify, that the parameter dialog of a command automatically opens up when selecting the command in the CMT


Resolution:
Reported to Product Management as to enhancement request
Workaround:
Commands exist to enable or disable the automatic command dialog box opening:

o Enable: (setq ui::*ui-on-request-enabled* nil)
Attention, the switch does not work on every menu!
As you drag, for example, do not. But when filleting or chamfering. (***)

o Disable: (setq ui::*ui-on-request-enabled* t)
· This switch can be Entered into the Modeling commandline, added to a file sd_customize

or create on-off buttons.

(***) I have tested in 18.1 and so far I have not found any menu that did not open

Best regards

Friedhelm

ps. what is going on at cocreateusers.org
>>Account for domain cocreateusers.org has been suspended

seems to be solved

Nachricht geändert durch FriedhelmK: edit: seems to be solved

16-Pearl
December 17, 2013

The attached command checks the current state of (ui::*ui-on-request-enabled*) and toggles it to the opposite.

17-Peridot
December 28, 2013

Hello Tom,

verry good this toogle button.

Your original question is answered?

Now i have a question.

Since v18 the imported 2d elements of the working planes can be represented in their original colors and line types .

If this is set to ON you can not work good with the elements and you have to switch to OFF.

Currently I have two buttons and wanted to make one as in your example but unfortunately it does not work.

Because I'm not good in Lisp, I want to ask here in the forum where the error is.

(in-package :OI_Tools)
(use-package :oli)

;;define toggle_line_type_and_color
(defun toggle_line_type_and_color ()
;;check to see if the function is available on request (t) if so make it default, else make it true.
(if (eql (set-default-show-setting :workplanes_2dgeo_color t))
(setq (set-default-show-setting :workplanes_2dgeo_color nil)
(set-default-show-setting :workplanes_2dgeo_line_type nil)
(set-show-settings-to-default (oli::sd-inq-current-vp)))
(setq (set-default-show-setting :workplanes_2dgeo_color t)
(set-default-show-setting :workplanes_2dgeo_line_type t)
(set-show-settings-to-default (oli::sd-inq-current-vp)))
))


;; 1.Button for show ON
;;(set-default-show-setting :workplanes_2dgeo_color t)
;;(set-default-show-setting :workplanes_2dgeo_line_type t)
;;(set-show-settings-to-default (oli::sd-inq-current-vp))
;; 2.Button for show OFF
;;(set-default-show-setting :workplanes_2dgeo_color nil)
;;(set-default-show-setting :workplanes_2dgeo_line_type nil)
;;(set-show-settings-to-default (oli::sd-inq-current-vp))

13-Aquamarine
January 23, 2020

Has anyone been able to get this command to work in v20.2? I would like the full UI to come up in Modeling during commands however it does not. I tried the (setq ui::*ui-on-request-enabled* nil) lisp command however it is not working for me.

17-Peridot
February 23, 2020

Hi Dan
I've been doing this for some time now:
File - Settings - UI ... - and set "Show OK and Cancel buttons:" to None

This tip came "then" from PeterKehoe

Have a look at
https://community.ptc.com/t5/Creo-Parametric-Ideas/Add-the-option-to-always-have-the-dialog-box-for-an-operation/idc-p/469329#M2805

 

LINK 

13-Aquamarine
February 24, 2020

Thanks for your reply @FriedhelmK 

 

Unfortunately this does not work for me in v20.2.1. I changed to display None however the little green triangle still comes up with every command and I have to click on it to display the full dialog.