GiD_Info postproces

  • GiD_Info postproces arewein

This command returns YES if the user is in the GiD postprocess, and NO, if not.

  • GiD_Info postprocess get

This command returns information about the GiD postprocess. The following options are available:

  • all_volumesets: Returns a list of all volumes.
  • all_surfacesets: Returns a list of all surfaces.
  • all_cutsets: Returns a list of all cuts.
  • all_graphs: Returns a list of all graphs.
  • all_line_graphs: Returns a list of the line graphs.
  • all_volumes_colors: Returns a list of the volume colors used in the project. Colors are represented in RGB hexadecimal format. Example: #000000 would be black, and #FFFFFF would be white.
  • all_surfaces_colors: Returns a list of the surface colors used in the project. Colors are represented in RGB hexadecimal format. Example: #000000 would be black, and #FFFFFF would be white.
  • all_cuts_colors : Returns a list of the cut colors used in the project. Colors are represented in RGB hexadecimal format. Example: #000000 would be black, and #FFFFFF would be white.
  • cur_volumes: Returns a list of the visible volumes.
  • cur_surfaces: Returns a list of the visible surfaces.
  • cur_cuts: Returns a list of the visible cuts.
  • all_display_styles: Returns a list of all types of display styles available.
  • cur_display_style: Returns the current display style.
  • all_display_renders: Returns a list of all types of rendering available.
  • cur_display_render: Returns the current rendering method.
  • num_lights: Returns the current number of active lights. The option can be changed in View->Render->Lights menu.
  • all_display_culling: Returns a list of all types of culling available.
  • cur_display_culling: Returns the current culling visualization.
  • cur_display_transparence: Returns Opaque or Transparent depending on the current transparency. Transparency is chosen by the user in the Select & Display Style window.
  • cur_display_body_type: Returns Massive if the option Massive is selected in the Select & Display Style window. It returns Hollow if that option is not activated.
  • all_analysis: Returns a list of all analyses in the project.
  • all_steps "analysis_name": Returns the number of steps of "analysis_name".
  • cur_analysis: Returns the name of the current analysis.
  • cur_step: Returns the current step.
  • is_mesh_variable_along_steps : Returns 1 if the postprocess mesh is changing along the time
  • all_results_views: Returns all available result views.
  • all_graphs_views: Returns all available graphs types.
  • graphs_option: ?-allowed_values? <graphset_property>| <graph_property> <graph_name>

whith -allowed_values flag it is returned a list with the possible values of the property instead of the current property value.

To get graphset properties

<graphset_property> could be: CurrentStyle Grids MainTitle TitleVisible LegendLocation CoordType AngleAxis AngleUnit ShowOrigAxes ShowRadMarks ColorOrig ColorRad PatRad OutlineOnModel ShowGraphs X_axis Y_axis ShowModelView LineWidth PointSize

To ge graph properties (must specify also the <graph_name>)

<graph_property> could be: Style Color ColorAsCFill LineWidth Pattern PatternFactor PointSize Title NumResults ResultsX ResultsY LabelX LabelY Visible

  • axis_option ShowAxes|Type|Dimensions|AxesWidth|AxisXColor|AxisYColor|AxisZColor| XYZLabels|Grid|GridXColor|GridYColor|GridZColor|GridXDivisions|GridYDivisions| GridZDivisions|FactorPatron|Patron|Label|LabelColorAxes|LabelType|VarFontSize|LabelColor|Arrow|ArrowXColor|ArrowYColor|ArrowZColor: Returns the current value for the specified property of the drawing axes option.
  • cur_results_view: Returns the current result view.
  • cur_results_list: This option has one more argument: the kind of result visualization must be given. The available kinds of result visualization are given by the option all_results_views. The command returns a list of all the results that can be represented with that visualization in the current step of the current analysis.
  • result_unit "result_name": Returns the unit name, the multiplier factor and the addition factor of the result "result_name".
  • results_list: This option has three arguments: the first argument is the kind of result visualization. The available kinds of result visualization are given by the option all_results_views. The second argument is the analysis name. The third argument is the step number. The command returns a list of all the results that can be represented with that visualization in the given step.
  • cur_result: Returns the current selected result. The kind of result is selected by the user in the View results window.
  • cur_components_list "result_name": Returns a list of all the components of the result "result_name".
  • cur_complex_components_list "result_name": Returns a list of all the complex components of the result "result_name".
  • components_list "result_view_type" "result_name" "analysis_name" "step_value": Returns a list of all the components of the result "result_view_type" "result_name" "analysis_name" "step_value".
  • cur_component: Returns the current component of the current result.
  • cur_vector_factor "results_view_type" "result_name" ["component_name"] "analysis_name" "step_value": Returns the current vector factor of the result "results_view_type" "result_name" ["component_name"] "analysis_name" "step_value".
  • cur_result_surface_factor "results_view_type" "result_name" "component_name" "analysis_name" "step_value": Returns the current surface factor of the result "results_view_type" "result_name" "component_name" "analysis_name" "step_value".
  • main_geom_state: Returns whether the main geometry is Deformed or Original.
  • main_geom_factor "analysis_name" "step_value" "result_name": Returns the deformation factor of the main geometry of "analysis_name" "step_value" "result_name".
  • main_geom_all_deform: Returns a list of all the deformation variables (vectors) of the main geometry.
  • main_geom_cur_deform: Returns the current deformation variable (vectors) of the main geometry.
  • main_geom_cur_step: Returns the main geometry current step.
  • main_geom_cur_anal: Returns the main geometry current analysis.
  • main_geom_cur_factor: Returns the main geometry current deformation factor.
  • show_geom_state: Returns whether the reference geometry is Deformed or Original.
  • show_geom_color: Returns the reference geometry current color.
  • show_geom_factor "analysis_name" "step_value" "result_name": Returns the deformation factor of the reference geometry of "analysis_name" "step_value" "result_name".
  • show_geom_cur_deform: Returns the current deformation variable (vectors) of the reference geometry.
  • show_geom_cur_analysis: Returns the reference geometry current analysis.
  • show_geom_cur_step: Returns the reference geometry current step.
  • show_geom_deformation_type: Returns whether the reference geometry deformation is relative or absolute.
  • border_criteria: Returns the value of border angle option. Select the angle criteria between faces to consider the shared edge a boundary edge, i.e. sharp edge, or not. Angles between normals of adjacent faces smaller than the criteria set will be considered a sharp edge and visualized when the mesh style 'boundaries' is selected.
  • iso_all_display_styles: Returns a list of all available display styles for isosurfaces.
  • iso_cur_display_style: Returns the current display style for isosurfaces.
  • iso_all_display_renders: Returns a list of all types of rendering available for isosurfaces.
  • iso_cur_display_render: Returns the current rendering method for isosurfaces.
  • iso_cur_display_transparence: Returns Opaque or Transparent depending on the current transparency of isosurfaces.
  • iso_cur_result_values: Returns the current result values of isosurfaces.
  • changed_analysis_step: Returns 1 if the analysis step has changed from the last query, 0 if has not changed.
  • changed_results_view: Returns 1 if the results view has changed from the last query, 0 if has not changed.
  • changed_geom_list: Returns 1 if the geometry has changed from the last query, 0 if has not changed.
  • changed_graph_list: Returns 1 if the graph list has changed from the last query, 0 if has not changed.
  • contour_limits: Returns the minimum and maximum value of the contour limits. Before each value, the word STD appears if the contour limit value is the default value, and USER if it is defined by the user.
  • comments: Returns the comments that appear in different results views.
  • pagedimensions: Returns the settings that are applied when an image is sent to the printer or a snapshot is taken. Returns (in inches) pagewidth, leftmargin, topmargin, imgwidth, imgheight, landscape/portrait.
  • hardcopyoptions: Returns 1 or 0 for the options "show GiD logo in images", "white background for images", "white background for videos", "transparent background for images", "transparent background for animations", "draw background images for images", "draw background images for videos", "show GiD logo in videos".
  • animationformat: Returns the default animation format.
  • cur_show_conditions: Returns the option selected in the Conditions combo box of the Select & Display Style window. (Possible values: Geometry Mesh None)
  • all_show_conditions: Returns all the options available in the Conditions combo box of the Select & Display Style window. (Geometry Mesh None)
  • cur_pre_model_properties: Returns all the options selected in the Draw Model and Model Render combo box of the Select & Display Style window.
  • all_pre_model_properties: Returns all the options available in the Draw Model and Model Render combo box of the Select & Display Style window.
  • cur_diagram_factor "result_name" "analysis_name" "step_value": Returns the current diagram factor of "result_name" "analysis_name" "step_value".
  • cur_contour_limits: Returns the minimum and maximum value of the current value.
  • cur_contour_color_config: Returns the current values in the More color options window in Postprocess->Contour fill and lines preferences window.
  • contour_lines_width: Returns the contour lines width value.
  • info_point_size: Returns the current values for the Point element options in Postprocess->Mesh elements preferences window.
  • info_point_size_factor "analysis_name" "step_value" "result_name" "component_name": Returns the current point element factor for "analysis_name" "step_value" "result_name" "component_name".
  • edge_colour: Returns the edge color for drawing the elements.
  • info_sphere_size: Returns the current values for the Sphere element options in Postprocess->Mesh elements preferences window.
  • info_sphere_size_factor "analysis_name" "step_value" "result_name" "component_name": Returns the current sphere element factor for "analysis_name" "step_value" "result_name" "component_name".
  • info_line_size: Returns the current values for the Line element options in Postprocess->Mesh elements preferences window.
  • info_stream_line_size: Returns the stream line size value.
  • current_color_scale: Returns a list of the colors used for the color scale; the first element of the list is the number of colors. Each color is represented in RGB hexadecimal format. Example: #000000 would be black, and #FFFFFF would be white.
  • info_legend: Returns the current values showed in the legend.
  • propertymassive|transparent|transparency|displaystyle|edgewidth|visibility|visualizeresults "mesh_name": returns value of the specified property for the entered mesh name.
  • results_view_list: Returns the current result view, analysis name, step, result name and component name.
  • diagram_options: Returns the current value in Postprocess->Line diagrams preferences window.
  • result_surface_options: Returns the current values in Postprocess->Result surface preferences window.
  • result_stream_lines_options: Returns the current stream lines detail render, the color mode, the color of monochrome mode and the initial rotation. The values can be found inPostprocess->Stream lines preferences window.
  • vector_detail: Returns the current value for vector detail option.
  • vector_size: Returns the current value for vector size option.
  • AllVectors: Returns "Yes" if the draw interior vectors option is enabled, "No" if don't.
  • VectorNumCols: Returns the current number of colors for vectors when the color mode is set to "by modules".
  • VMonoColor: Returns the current color for vectors when the color mode is set to "monochrome".
  • VectorTensionColour: Returns the current color for tension vector color option.
  • VectorCompressionColour: Returns the current color for compression vector color option.
  • VectorColour: Returns the current color mode for vectors.
  • VectorOffset: Returns the current value for vector offset option.
  • VectorFilterFactor: Returns the current value for vector filter factor option.
  • isosurface_options: Returns the current values in Postprocess->Iso surfaces preferences window.
  • legends_state: Returns the current values in Postprocess->Legends and comments preferences window.
  • stream_draw_arrows Arrows|ArrowsSize|ArrowsFreq|ArrowsColor: Returns the current values for draw arrows?, arrows size, arrows frequency or arrows color option.
  • stream_label: Returns the current value for stream line label option.
  • stream_length: Returns the current value for stream line maximum lenght option.
  • stream_max_points: Returns the current value for stream line maximum points option.
  • Results_Preference "result_name" "visualization" "property": Returns the current value of the preference defined by "result_name" "visualization" "property".
  • scale_result_options: Returns the current values for options in Utilities->Scale result view menu.
  • colour_map_list: Returns the list of available color maps for contour fill visualization.
  • view_follows_node_options: Returns the current values for "view centered and following node" in the Window->Animate window.