question

Ryosuke S avatar image
1 Like"
Ryosuke S asked Ryosuke S commented

Opening customized dialog window instead of property window

Hello, is it possible to open customized dialog window upon double clicking the 3D objects? Currently, when you double click the objects, property window pops up. But we want to change this if possible. If it needs to be created with SDK, that's also fine.

FlexSim 20.2.2
flexsim 20.2.2dialog
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Mischa Spelt avatar image
1 Like"
Mischa Spelt answered Ryosuke S commented

When you double click an object, the GUI that opens is the view that is referenced in the subnode >special/guifocusclass of the object's tree.

You can create your own view, for example in VIEW:/modules/YourModule, and update the guifocusclass accordingly.


1606899594197.png (6.5 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

@Ryosuke S,

If you're using the GUI builder, you can use the option "Redirect selected objects to this GUI":

Just make sure that whatever objects you want to use your custom GUI are highlighted RED, then choose that option.

1 Like 1 ·
1607008424255.png (24.2 KiB)
Ryosuke S avatar image Ryosuke S Ben Wilson ♦♦ commented ·

@Ben Wilson Thank you for your reply. It's perfect.

0 Likes 0 ·
Ryosuke S avatar image Ryosuke S commented ·

@Mischa Spelt, Thank you for your reply. Is it possible to specify custom GUI created in ToolBox? I try to find the custom GUI (GUI 1 in this case) created it in the tree, but I couldn't...

0 Likes 0 ·
capture001.png (3.8 KiB)