Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GiD_Set ?-meshing_parameters_model? ?-default|-array_names? <varname> ?<value>?
This command is used to set or get GiD variables. GiD variables can be found through the Right buttons menu under the option Utilities -> Variables:

...


The mapping screen --> world (model) is done by intersecting the line perpendicular to the screen, passing through the coordinates (screen_x,screen_y), with the plane parallel to the screen (in real model world) at the centre of the view / model. The returned normal is the normal of this plane.


GiD_Togl current|list|pick_one

A togl object is a Tk widget that allow draw using OpenGL commands

GiD_Togl current ?<togl>?

To get or set the current togl (Tk OpenGL object), and

GiD_Togl list

To get the list of all togl's of all windows

GiD_Togl pick_one <togl_name> point|line|surface|volume|dimension|node|element|axis <x> <y>

To get the entity id of this category, if any, located on the x,y screen integer coordinates.


Example:

Code Block
set togl [GiD_Togl current]
GiD_Togl current $togl
set togls [GiD_Togl list]

...