GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

GiD_Info magnitudes 0|1 ?<magnitude_name> units?
Return information about units and the conversion factor between units of a magnitude.
GiD_Info magnitudes 0|1
GiD_Info magnitudes 0
return a list with the available default magnitude names of GiD (the ones defined in the scripts\units.gid file)
and
GiD_Info magnitudes 1
return a list with the available magnitude names of the project (the ones defined loading a <problemtype>.uni file)
e.g.
in: GiD_Info magnitudes 0
out: ACCELERATION ANGLE LENGTH MASS STRENGTH PRESSURE TEMPERATURE
GiD_Info magnitudes 0|1 <magnitude_name> units
return a list of unit names and conversion factors from the reference unit (the first listed)
<magnitude_name> is the name of the magnitude, like LENGTH or other magnitudes that could be defined by the problemtype
e.g.
in: GiD_Info magnitudes 0 LENGTH units
out: {1.0 m {} m {} m} {100 cm {} cm {} cm} {1.0e+3 mm {} mm {} mm}
with the multiplication factor to convert the length magnitude from the reference unit to another unit.
(e.g to convert a value from cm to m must multiply by 100)

  • No labels