Finishing Touches: Building Touch Screen Interfaces Sam Hendrick, MicroStation Technologist Sam.hendrick@bentley.com
Finishing Touches: Building Touch Screen Interfaces When you complete this course, you will know: How to configure touch based gestures Where Screen Menus are stored How Commands are stored for Screen Menus
What is a Screen Menu? Customizable menus at your fingertips Touch ready Easily integrated Stored in DGNLIB file No programming required
Quick Demo
How do you show the Screen Menu? Screen Menus are invoked by a key-in command and will appear at your cursors current location (be default). The following key-in command will bring up a Screen Menu SCREENMENU OPENPOPUP<FILENAME>,<MODELNAME>,<SAVEDVIEWNAME>|X,Y,S FILENAME= Name of DGNLIB file that contains the Screen Menu MODELNAME= Name of Model in DGNLIB file that has the Screen Menu SAVEDVIEW= Name of Saved View of the Screen Menu X,Y= Location on your screen where the Screen Menu appears (percentage of your screen) S= If you are using dual screens, which Screen does the Screen Menu appear on This key-in is best programmed to a Function Key or Button Assignment
What’s in a Screen Menu DGNLIB File? DGN Elements are used to define menus Commands are stored as Text Node in the Model
How are the parts of a Screen Menu defined? Key-ins determine the following: Levels items are on Reference Files to look in Transparency effects etc . . .
How are commands defined? Commands are defined by placing Text with the Key-in inside the frames
Models can be Referenced to show Hierarchical menus Outer rings in this example are referenced into Default Model The following key-in placed in this shape is used to show Reference file Screenmenu refdisplay *=off,DrawMenu=on {Drawing} Command to display Ref Popup tool tip Turns off all other Ref files Turns on desired Ref file
Screen Menus and Touch Screen Gestures:
Screen Menus via Gestures: Assign the following key-in to any ”flick” gesture you desire SCREENMENU OPENPOPUP<FILENAME>,<MODELNAME>,<SAVEDVIEWNAME>|X,Y,S
Demo time!
For more information… In MicroStation’s built-in Help, you can find additional information if you do a search for “screenmenu”, Yes, it’s all one word. That is not a typo
Assessment Which Menu Bar item is Gesture Assignments under? Settings Tools Workspace Which file format can Screen Menus be stored? DXF XML DGNLIB What Element Type are used to define commands for Screen Menus? Cells Text Dimensions