...
We can group various objects created as volumes under a single title called "volume" using the Group object. This allows us to move or manipulate all of the volumes at the same time, such as by shifting their position or placing them on the same route in a single move. This can be useful in situations where multiple similar objects need to be managed or manipulated together.
| |||||
...
Example: Group object with User “Input” parameter.
| |||||
...
Example: Group Object with Guard Parameter.
|
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=Core+Objects&obj=objid5wmpv2algs8awxwy0kxaa)
Example: Group Object with Enumeration
Code Block |
---|
<O N="Group Example 4" T="Project" Category="Core Objects">
<!-- created by ParamML Examples on 26.01.2023 -->
<O T="Group">
<P N="RECTANGULAR" V="1" />
<P N="CIRCULAR" V="2" />
</O>
<O N="Inputs" T="Group">
<P N="height" V="50" />
<P N="width" V="1" />
<P N="depth" V="1" />
<P N="type" V="RECTANGULAR" />
</O>
<O N="Rectangular Column" T="Line">
<P N="Guard" V="type .EQ. RECTANGULAR" />
<O T="Point" X="0" Y="0" Z="0" />
<O T="Point" X="0" Y="0" Z="height" />
<O N="Rectangular" T="Section">
<O T="Shape">
<O T="Point" X="-width/2" Y="-depth/2" />
<O T="Point" X="-width/2" Y="depth/2" />
<O T="Point" X="width/2" Y="depth/2" />
<O T="Point" X="width/2" Y="-depth/2" />
</O>
</O>
</O>
<O N="Circular Column" T="Line">
<P N="Guard" V="type .EQ. CIRCULAR" />
<O T="Point" X="0" Y="0" Z="0" />
<O T="Point" X="0" Y="0" Z="height" />
<O N="Circular" T="Section">
<O T="Circle" Radius="width/2" />
</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=objidsc7ube8d137drl5yzmoum)