Page 618 - ExtendSim User Guide
P. 618

Creating a Custom User Interface
External applications as an interface
object (Windows only)” on page 768 to transfer information between ExtendSim and the ActiveX (Windows) control.
• COM/ActiveXAutomationallowsExtendSimtocommunicatewithotherapplicationseither as a server or a client. As a client, ExtendSim uses the external application’s COM object model to communicate with it. As a server, ExtendSim responds to COM/ActiveX messages. For more information, see “ActiveX/COM/OLE (Windows only)” on page 786.
External applications as an interface
Other applications can serve as an interface to an ExtendSim model. This is accomplished by linking to ExtendSim models or blocks directly, using technologies such as ActiveX com- mands, or indirectly through text files.
Using an external application works much the same as using the ExtendSim database feature, since the application stores the parameters to be used in the model and the results of the simu- lation. For more information, see “Exchanging data with external applications” on page 771.
Documenting models
Creating a user interface also involves adding information or graphics to clarify what is hap- pening in a part of the model or to explain why a particular modeling approach was used. You do this by putting text, pictures, or draw objects on the worksheet or by creating a hierarchical “Help” block, as shown below.
Text and graphics
You can improve the organization of your model or Notebook by grouping elements together and using text and graphics to identify or highlight different sections. To learn more about add- ing text and graphics, including using colors and patterns to enhance them, see “Working with text” on page 616, “Graphic shapes, tools, and commands” on page 639, and “Patterns and col- ors” on page 640.
Help block
To create a Help block, choose Model > New Hierarchical Block and name the H-block “Help”. Then add explanatory text, pictures and/or draw objects to the hierarchical block's worksheet, close and save the block, and place it where you want on the model.
For more information about working with hierarchy and customizing hierarchical block icons, see “Hierarchy” on page 618.
How To

   616   617   618   619   620