...
Additionally, applications that use ParamML and OpenBrIM objects can also utilize Group objects to store custom data. Group objects can be nested within all types of objects, providing a flexible and organized way to manage data within a project.
Syntax
Code Block |
---|
<O T="Group">
.....
.....
.....
</O> |
...
Code Block |
---|
<O N="Volume Group" T="Project" Category="Core Objects">
<!-- created by ParamML Examples on 26.01.2023 -->
<O N="Volume Object" T="Group" X="80" Alingment="Straight" AlignH="None" AlignT="None" AlignV="None">
<O N="Volume1" T="Volume">
<P N="Opacity" V="0.5" />
<O T="Surface">
<O T="Point" Y="-5" Z="0" />
<O T="Point" Y="5" Z="0" />
<O T="Point" Y="5" Z="10" />
<O T="Point" Y="-5" Z="10" />
</O>
<O T="Surface" X="100">
<O T="Point" Y="-5" Z="0" />
<O T="Point" Y="5" Z="0" />
<O T="Point" Y="5" Z="10" />
<O T="Point" Y="-5" Z="10" />
</O>
</O>
<O N="Volume2" T="Volume">
<P N="Opacity" V="0.7" />
<O T="Surface" X="150">
<O T="Point" Y="-5" Z="0" />
<O T="Point" Y="5" Z="0" />
<O T="Point" Y="5" Z="10" />
<O T="Point" Y="-5" Z="10" />
</O>
<O T="Surface" X="250">
<O T="Point" Y="-5" Z="0" />
<O T="Point" Y="5" Z="0" />
<O T="Point" Y="5" Z="10" />
<O T="Point" Y="-5" Z="10" />
</O>
</O>
</O>
</O> |
|
 |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=Core+Objects&obj=objidjvbl1f51lproyl9yftagn)
Example: In this case, the parameters are organized and grouped under the Groups object
Code Block |
---|
| <O N="Group Example 1" T="Project" Category="Core Objects">
<!-- created by ParamML Examples on 26.01.2023 -->
<O N="Parameters" T="Group">
<P N="height" V="20" />
<P N="width" V="1" />
<P N="depth" V="2" />
</O>
<O N="Column3D" T="Surface">
<P N="Thickness" V="height" />
<O T="Point" X="0" Y="0" Z="0" />
<O T="Point" X="width" Y="0" Z="0" />
<O T="Point" X="width" Y="depth" Z="0" />
<O T="Point" X="0" Y="depth" Z="0" />
</O>
</O> |
|
As demonstrated in the code, the parameters are organized and grouped together under a "Group" object. This allows for better organization and management of the parameters within the project, making it easier to access and manipulate the parameters as needed. |
Image Added |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=Core+Objects&obj=objid28h88drjowaj081pbecbkcfw)
Example: