SMS:Dynamic Model Interface Schema: Difference between revisions
Line 1,566: | Line 1,566: | ||
| info = Indicator to loop through each arc in the given context. | | info = Indicator to loop through each arc in the given context. | ||
| version = 2 | | version = 2 | ||
| attributes = [[SMS:Dynamic Model Interface Schema#Attribute <ignore_on_read>|ignore_on_read]], | | attributes = [[SMS:Dynamic Model Interface Schema#Attribute <ignore_on_read>|ignore_on_read]], [[SMS:Dynamic Model Interface Schema#Attribute <ignore_on_write>|ignore_on_write]], [[SMS:Dynamic Model Interface Schema#Attribute <order>|order]], [[SMS:Dynamic Model Interface Schema#Attribute <i_order>|i_order]], [[SMS:Dynamic Model Interface Schema#Attribute <j_order>|j_order]], [[SMS:Dynamic Model Interface Schema#Attribute ''<source''>|source]] | ||
[[SMS:Dynamic Model Interface Schema#Attribute <order>|order]], | |||
[[SMS:Dynamic Model Interface Schema#Attribute <i_order>|i_order]], | |||
[[SMS:Dynamic Model Interface Schema#Attribute <j_order>|j_order]], | |||
[[SMS:Dynamic Model Interface Schema#Attribute ''<source''>|source]] | |||
| children = [[SMS:Dynamic Model Interface Schema#Element <card_name>|card_name]], [[SMS:Dynamic Model Interface Schema#Element <export_format>|export_format]], [[SMS:Dynamic Model Interface Schema#Element <separator>|separator]], [[SMS:Dynamic Model Interface Schema#Element <process_each_point>|process_each_point]], [[SMS:Dynamic Model Interface Schema#Element <end_card>|end_card]], [[SMS:Dynamic Model Interface Schema#Element <use_parameter>|use_parameter]], [[SMS:Dynamic Model Interface Schema#Element <declare_parameter>|declare_parameter]], [[SMS:Dynamic Model Interface Schema#Element <executable_command>|executable_command]], [[SMS:Dynamic Model Interface Schema#Element <section>|section]], [[SMS:Dynamic Model Interface Schema#Element <export_group>|export_group]], [[SMS:Dynamic Model Interface Schema#Element <export_optional>|export_optional]], [[SMS:Dynamic Model Interface Schema#Element <process_on_condition>|process_on_condition]], [[SMS:Dynamic Model Interface Schema#Element <process_each_neighbor>|process_each_neighbor]], [[SMS:Dynamic Model Interface Schema#Element <xmdf_dataset>|xmdf_dataset]], [[SMS:Dynamic Model Interface Schema#Element <xmdf_data>|xmdf_data]], [[SMS:Dynamic Model Interface Schema#Element <xmdf_group>|xmdf_group]], [[SMS:Dynamic Model Interface Schema#Element <xmdf_geometry>|xmdf_geometry]] | | children = [[SMS:Dynamic Model Interface Schema#Element <card_name>|card_name]], [[SMS:Dynamic Model Interface Schema#Element <export_format>|export_format]], [[SMS:Dynamic Model Interface Schema#Element <separator>|separator]], [[SMS:Dynamic Model Interface Schema#Element <process_each_point>|process_each_point]], [[SMS:Dynamic Model Interface Schema#Element <end_card>|end_card]], [[SMS:Dynamic Model Interface Schema#Element <use_parameter>|use_parameter]], [[SMS:Dynamic Model Interface Schema#Element <declare_parameter>|declare_parameter]], [[SMS:Dynamic Model Interface Schema#Element <executable_command>|executable_command]], [[SMS:Dynamic Model Interface Schema#Element <section>|section]], [[SMS:Dynamic Model Interface Schema#Element <export_group>|export_group]], [[SMS:Dynamic Model Interface Schema#Element <export_optional>|export_optional]], [[SMS:Dynamic Model Interface Schema#Element <process_on_condition>|process_on_condition]], [[SMS:Dynamic Model Interface Schema#Element <process_each_neighbor>|process_each_neighbor]], [[SMS:Dynamic Model Interface Schema#Element <xmdf_dataset>|xmdf_dataset]], [[SMS:Dynamic Model Interface Schema#Element <xmdf_data>|xmdf_data]], [[SMS:Dynamic Model Interface Schema#Element <xmdf_group>|xmdf_group]], [[SMS:Dynamic Model Interface Schema#Element <xmdf_geometry>|xmdf_geometry]] | ||
| used_by = [[SMS:Dynamic Model Interface Schema#Element <card>|card]], [[SMS:Dynamic Model Interface Schema#Element <process_each_coverage>|process_each_coverage]], [[SMS:Dynamic Model Interface Schema#Element <process_each_polygon>|process_each_polygon]] | | used_by = [[SMS:Dynamic Model Interface Schema#Element <card>|card]], [[SMS:Dynamic Model Interface Schema#Element <process_each_coverage>|process_each_coverage]], [[SMS:Dynamic Model Interface Schema#Element <process_each_polygon>|process_each_polygon]] |
Revision as of 14:58, 11 August 2017
The dynamic model interface is available in SMS version 11.2 and later. It is primarily a tool for developers. The dynamic model interface provides a way to quickly generate an interface for a numeric model.
Dynamic Dialogs
Dynamic dialogs are a quick way to generate dialogs without having to compile code. To add or delete a widget on a dynamic dialog, the user simply modifies the XML document. When the modified document is loaded, the new/modified dialog exists. The XML document defines the layout, behavior and the different dialog controls.
The dialog is divided into 2 sections: the tree view and the widget view. The tree is on the left side of the dialog and contains groups and items that represent data. Clicking on a group or item will result in the widget view being updated to match the selected tree or group item.
- Order of the tree items and groups will match the order defined in the XML file.
- Clicking on group will display all children items in the widget view.
- Clicking on a single item will display associated widgets in widget view.
- Tree item will also display the values in a non-editable field.
- Unique_name use format: file::unique_name#value
- Multiple widgets, when displayed on the right side, can be expanded/collapsed.
- Can have nested groups.
- Keywords are words SMS has reserved in the schema and can not be used as unique names. All keywords will start with a "#".
Available Keywords
This is a list of available keywords. Additional keywords are defined with the various custom control widgets. Note that in changing from version 1 to version 2, all tags that were <custom_control_XXXX>
were changed to <control_XXXX>
.
ExpandGeneral Keywords |
---|
ExpandArc Keywords |
---|
ExpandCoverage Keywords |
---|
Expandexecutable_progress_update Keywords |
---|
ExpandMaterial Keywords |
---|
ExpandPoint Keywords |
---|
ExpandPolygon Keywords |
---|
ExpandProjection Keywords |
---|
Elements
Sorted alphabetically by element name.
Elements A-C
Expand<arc_att> |
---|
Expand<card> |
---|
Expand<card_name> |
---|
Expand<check_box> |
---|
Expand<color> |
---|
Expand<column> |
---|
Expand<combo_box> |
---|
Expand<command_args> |
---|
Expand<comment> |
---|
Expand<condition> |
---|
Expand<contains> |
---|
Expand<control_curve> |
---|
Expand<control_dataset> |
---|
Expand<control_date> |
---|
Expand<control_density> |
---|
Expand<control_duration> |
---|
Expand<control_executable> |
---|
Expand<control_feature_selector> |
---|
Expand<control_file_selector> |
---|
Expand<control_length> |
---|
Expand<control_nesting> |
---|
Expand<control_set> |
---|
Expand<control_velocity> |
---|
Expand<control_volume_flow> |
---|
Expand<count_filter> |
---|
Elements D-H
Expand<declare_coverage> |
---|
Expand<declare_dialogs> |
---|
Expand<declare_dialog> |
---|
Expand<declare_files> |
---|
Expand<declare_file> |
---|
Expand<declare_pages> |
---|
Expand<declare_page> |
---|
Expand<declare_parameter> |
---|
Expand<dependency> |
---|
Expand<display_options> |
---|
Expand<dynamic_model> |
---|
Expand<edit_box> |
---|
Expand<end_card> |
---|
Expand<executable> |
---|
Expand<executable_command> |
---|
Expand<executable_progress_update> |
---|
Expand<execute> |
---|
Expand<export_format> |
---|
Expand<export_group> |
---|
Expand<export_location> |
---|
Expand<export_optional> |
---|
Expand<group> |
---|
Elements I-O
Expand<input_file> |
---|
Expand<input_files> |
---|
Expand<item> |
---|
Expand<location> |
---|
Expand<material_att> |
---|
Expand<menu_item> |
---|
Expand<model> |
---|
Expand<model_check> |
---|
Expand<model_checks> |
---|
Expand<model_check_condition> |
---|
Expand<new_line> |
---|
Expand<option> |
---|
Expand<output_file> |
---|
Expand<output_files> |
---|
Elements P-S
Expand<point_att> |
---|
Expand<polygon_att> |
---|
Expand<process_each_arc> |
---|
Expand<process_each_coverage> |
---|
Expand<process_each_material> |
---|
Expand<process_each_neighbor> |
---|
Expand<process_each_point> |
---|
Expand<process_each_polygon> |
---|
Expand<process_each_row> |
---|
Expand<process_on_condition> |
---|
Expand<process_on_count> |
---|
Expand<push_button> |
---|
Expand<range> |
---|
Expand<required> |
---|
Expand<role> |
---|
Expand<roles> |
---|
Expand<row> |
---|
Expand<separator> |
---|
Expand<simulation> |
---|
Expand<snap> |
---|
Expand<snap_exterior> |
---|
Expand<snap_interior> |
---|
Elements T-Z
Expand<table> |
---|
Expand<take_coverage> |
---|
Expand<take_mesh2d> |
---|
Expand<takes> |
---|
Expand<text_box> |
---|
Expand<text_size> |
---|
Expand<text_style> |
---|
Expand<title_format> |
---|
Expand<unique_link_name> |
---|
Expand<update_text> |
---|
Expand<use_coverage> |
---|
Expand<use_file_def> |
---|
Expand<use_parameter> |
---|
Expand<x_column> |
---|
Expand<xmdf_data> |
---|
Expand<xmdf_dataset> |
---|
Expand<xmdf_dimension> |
---|
Expand<xmdf_geometry> |
---|
Expand<xmdf_group> |
---|
Expand<y_column> |
---|
Attributes
Attributes A-C
Expand<alignH> |
---|
Expand<alignV> |
---|
Expand<amount> |
---|
Expand<behavior> |
---|
Expand<bind_to> |
---|
Expand<blue> |
---|
Expand<bold> |
---|
Expand<columns> |
---|
Expand<corner_skip> |
---|
Expand<create_file> |
---|
Expand<dataset_type> |
---|
Expand<dataset_widget> |
---|
Expand<datatype> |
---|
Expand<default> |
---|
Expand<default_executable_name32> |
---|
Expand<default_executable_name64> |
---|
Expand<description_text> |
---|
Expand<dim> |
---|
Expand<dimension> |
---|
Expand<display> |
---|
Expand<display_options_hide> |
---|
Expand<double_click> |
---|
Attributes E-L
Expand<executable_order> |
---|
Expand<feature> |
---|
Expand<fix_text> |
---|
Expand<file_type> |
---|
Expand<filter> |
---|
Expand<flags> |
---|
Expand<footer> |
---|
Expand<geometry> |
---|
Expand<green> |
---|
Expand<header> |
---|
Expand<help_button_url> |
---|
Expand<help_button_wiki> |
---|
Expand<increment> |
---|
Expand<interior_polygon> |
---|
Expand<italic> |
---|
Expand<i_order> |
---|
Expand<j_order> |
---|
Expand<layers> |
---|
Expand<location> |
---|
Attributes M-S
Expand<max> |
---|
Expand<max_row_count> |
---|
Expand<min> |
---|
Expand<model> |
---|
Expand<name> |
---|
Expand<neighbor_per_edge> |
---|
Expand<null_id> |
---|
Expand<null_value> |
---|
Expand<optional> |
---|
Expand<order> |
---|
Expand<problem_text> |
---|
Expand<red> |
---|
Expand<required> |
---|
Expand<rows> |
---|
Expand<select_time> |
---|
Expand<source> |
---|
Expand<strike_through> |
---|
Attributes T-Z
Expand<text> |
---|
Expand<type> |
---|
Expand<time_type> |
---|
Expand<underline> |
---|
Expand<unique_name> |
---|
Expand<unit_keyword> |
---|
Expand<use_dialog> |
---|
Expand<use_file> |
---|
Expand<use_icon> |
---|
Expand<version> |
---|
Expand<z_is_elev> |
---|
Converting to the Dynamic Model Interface
The Dynamic Model Interface offers more flexibility to model developers than the Generic Model Interface which was used before. Generic Model Interface files can be converted into files for the Dynamic Model Interface. Contact Aquaveo for more information.
Tutorial Links
For more information on using the Dynamic Model Interface, download the XML file tutorial:
[hide] SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | ![]() |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |