Element.getResultsUnits


getResultsUnits(entity, component, [units])

Return the units ("N/mm2", "m/s", etc) of the value that will be returned by getGaussResults and getNodeResults for the given named results. In order to find the list of valid named components, use getResultsComponentNames Optionally, an UnitSet object (or its name) can be passed to control which system of units (e.g. mm/m/inch) will be used to build the returned string. If not given, the database's current unit system will be used.

entitystring Results entity i.e. "Stress - Thick Shell" etc..
componentstring Sx, Sy, Sxy, etc.. See element reference manual for details
unitsoptional IFUnitSet unit system to use. If not given, database units will be assumed
Return valuestringthe returned string

Back to Element

Back to Overview