ActiveOnly object is like a Group object but only used in OpenBrIM Library. It contains objects that will only be visible if the object definition is active or selected in a structure in OpenBrIM App.
Syntax
<O T="ActiveOnly>'
.
.
</O>
Example
In OpenBrIM Library create an object definition, for example a structural member like column.
<O N="RCColumn" T="Project">
<O N="Input" T="Group">
<P N="W" V="10" D="column width" Role="Input" Category="Input" />
<P N="L" V="20" D="column length" Role="Input" Category="Input" />
<P N="H" V="60" D="column height" Role="Input" Category="Input" />
</O>
<O N="Column" T="Surface">
<P N="Thickness" V="H" />
<O T="Point" X="-W/2" Y="-L/2" />
<O T="Point" X="W/2" Y="-L/2" />
<O T="Point" X="W/2" Y="L/2" />
<O T="Point" X="-W/2" Y="L/2" />
</O>
</O>
Add dimension lines in the RCColumn definition inside an ActiveOnly object.
<O N="RCColumn" T="Project">
<O N="Input" T="Group">
<P N="W" V="10" D="column width" Role="Input" Category="Input" />
<P N="L" V="20" D="column length" Role="Input" Category="Input" />
<P N="H" V="60" D="column height" Role="Input" Category="Input" />
</O>
<O N="Column" T="Surface">
<P N="Thickness" V="H" />
<O T="Point" X="-W/2" Y="-L/2" />
<O T="Point" X="W/2" Y="-L/2" />
<O T="Point" X="W/2" Y="L/2" />
<O T="Point" X="-W/2" Y="L/2" />
</O>
<O T="ActiveOnly">
<O T="DimensionLine" FontSize="2.5" ArrowSize="1.7">
<O T="Point" Z="0" Y="L/2" X="-W/2" />
<O T="Point" Z="H" Y="L/2" X="-W/2" />
<O T="Point" Z="H/2" Y="W/3 + L/2" X="-W/2" />
</O>
<O T="DimensionLine" FontSize="2.5" ArrowSize="1.7">
<O T="Point" Z="H" Y="L/2" X="-W/2" />
<O T="Point" Z="H" Y="L/2" X="W/2" />
<O T="Point" Z="H" Y="W/3 + L/2" X="W/4" />
</O>
<O T="DimensionLine" FontSize="2.5" ArrowSize="1.7">
<O T="Point" Z="H" Y="L/2" X="W/2" />
<O T="Point" Z="H" Y="-L/2" X="W/2" />
<O T="Point" Z="H" Y="L/4" X="W/3 + W/2" />
</O>
</O>
</O>
Figure 1.1.17.1.1: RCColumn object.
In OpenBrIM App, create a project and include the RCColumn created in OpenBrIM Library.
<O N="Column" T="Project">
<O N="Input" T="Group">
<P N="EndUserInputFields" V="1" />
<P N="W_1" V="20" D="Column 1 Width" />
<P N="L_1" V="20" D="Column 1 Length" />
<P N="H_1" V="100" D="Column 1 Height" />
<P N="W_2" V="10" D="Column 2 Width" />
<P N="L_2" V="20" D="Column 2 Length" />
<P N="H_2" V="100" D="Column 2 Height" />
<P N="W_3" V="10" D="Column 3 Width" />
<P N="L_3" V="30" D="Column 3 Length" />
<P N="H_3" V="100" D="Column 3 Height" />
</O>
<O N="Column_1" T="RCColumn">
<P N="W" V="W_1" />
<P N="L" V="L_1" />
<P N="H" V="H_1" />
</O>
<O N="Column_2" T="RCColumn" X="100">
<P N="W" V="W_2" />
<P N="L" V="L_2" />
<P N="H" V="H_2" />
</O>
<O N="Column_3" T="RCColumn" X="50" Y="100">
<P N="W" V="W_3" />
<P N="L" V="L_3" />
<P N="H" V="H_3" />
</O>
</O>
Figure 1.1.17.1.2: A project including RCColumn project.
Click on the Column_1 object and the dimension lines of the column will now appear while Column_2 and Column_3 reduce in opacity signifying that Column_1 is an active object.
Figure 1.1.17.1.3: Column_1 showing the dimension lines defined inside an ActiveOnly object inOpenBRIM library.