...
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidglgw5fxfrq5ojunf8ebkw)
Example:
Code Block |
---|
| <O N="Unit_Object3" T="Project" Category="Core Objects">
<!-- created by ParamML Examples on 30.01.2023 -->
<O N="Internal" T="Unit" Length="Inch" Force="Kip" Angle="Degrees" Temperature="Fahrenheit" />
<O N="GeometryandLoad" T="Unit">
<P N="Length" V="feet" D="[Inch/Feet/Kilometers/Millimeter/Meter]" Role="Input" />
<P N="Force" V="Kip" D="[Pound/Kip/Newton/Kilonewton]" Role="Input" />
<P N="Angle" V="Degree" D="[Degree/Radian]" Role="Input" />
<P N="Temperature" V="Fahrenheit" D="[Fahrenheit/Celsius]" Role="Input" />
</O>
<O N="Properties" T="Unit">
<P N="Length" V="Millimeter" D="[Inch/Feet/Kilometers/Millimeter/Meter]" Role="Input" />
<P N="Force" V="Kip" D="[Pound/Kip/Newton/Kilonewton]" Role="Input" />
<P N="Angle" V="Degree" D="[Degree/Radian]" Role="Input" />
<P N="Temperature" V="Fahrenheit" D="[Fahrenheit/Celsius]" Role="Input" />
</O>
<P N="Redline" V="100" UT="Length" UC="Properties" />
<P N="Greenline" V="100" UT="Length" UC="GeometryandLoad" />
</O> |
|
By defining the internal unit system, user-defined unit systems, and the parameter unit information, the end user can input parameter values and view design and analysis results in the units of their choice. Internally, however, all calculations and results are kept in the uniform units of the unit system specified by the author in the ParamML document. Redline= 100 inch → 2540 mm Greenline= 100 inch → 8.3333 feet | Image Added |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidtrc9xswpf7859xhqiao4nv&folder=Core+Objects)