GiD - The personal pre and post processor

GiD_Info project

GiD_Info Project <item>?
This command returns information about the project. More precisely, it returns a list with:

  • Problem type name.
  • Current model name.
  • 'There are changes' flag.
  • Current layer to use.
  • Active part (GEOMETRYUSE, MESHUSE, POSTUSE or GRAPHUSE).
  • Quadratic problem flag.
  • Drawing type (normal, polygons, render, postprocess).
  • NOPOST or YESPOST.
  • Debug or nodebug.
  • GiD temporary directory.
  • Must regenerate the mesh flag (0 or 1).
  • Last element size used for meshing (NONE if there is no mesh).
  • BackgroundFilename is the name of a background mesh file to assign mesh sizes.
  • RequireMeshSize. (1 if all sizes are specified by the number of divisions, then user is not required to specify the mesh size)
  • RecommendedMeshSize. (The value of the mesh size that the program will recommend, based on the model size)
  • HelpAboutMoreInfo (extra information)
  • GeoVersion (the current version of the .geo file)
  • SomeFigureWithItsMesh (0 or 1, to know if mesh is linked to geometry)


It is possible to ask for a single item only rather than the whole list, with <item> equal to:
ProblemType | ModelName | AreChanges | LayerToUse | ViewMode | Quadratic | RenderMode | ExistPost | Debug | TmpDirectory | MustReMesh | LastElementSize | BackgroundFilename | RequireMeshSize | RecommendedMeshSize | HelpAboutMoreInfo | GeoVersion | SomeFigureWithItsMesh 

Example:
in: GiD_Info Project
out: "cmas2d e:\models\car_model 1 layer3 MESHUSE 0 normal YESPOST nodebug C:\TEMP\gid2 0 1.4 0"
in: GiD_Info Project ModelName
out: "e:\models\car_model"

COPYRIGHT © 2022 · GID · CIMNE