Document Objects
A "Document" Object is a type of object that generates a printable report that includes information about the project.
Parameters of Document Object:
Label
Mandatory
Description
Example
1
Title
Yes
Title of the Document / Project.
Title="Column" Title="Project Report"
The sub-components of the Document object will be displayed.
1)DocSection Object:
It breaks down the document into different sections, and also includes a sidebar that provides links to other sections within the document for easier navigation.
Example:
<br> ...<br> ...<br> <O T="Document" Title="Document Example"><br> <O T="DocSection" Title="Introduction "><br> <O T="DocText"><br> Width |width|, height |height| This is an example of a text description for an object created using a ParamML parametric language<br> </O><br> </O><br> <O T="DocSection" Title="3D Model "><br> <O T="DocText"><br> <![CDATA[<br> --md<br> In this section of the document, a visual representation of the 3D object will be provided.<br> ]]><br> </O><br> <O T="Doc3D" Width="600" Height="300"><br> <P N="Obj3D" V="Vol" /><br> </O><br> </O><br>...<br>... <br>

Parameters of DocSection Object:
Label
Mandatory
Description
Example
1
Title
Yes
Title of the specified Document Section.
Title="Graph" Title="3D Model"
2)DocText Object:
The text contained within this object is displayed in the designated section as paragraphs.
To begin, the text should be typed in Markdown format (--md). All subsequent text should be aligned with --md.
Example:
<br> ...<br> ...<br><br> <O T="DocSection" Title="3D Model "><br> <O T="DocText"><br> <![CDATA[<br> --md<br> In this section of the document, a visual representation of the 3D object will be provided.<br> ]]><br> </O><br> <O T="Doc3D" Width="600" Height="300"><br> <P N="Obj3D" V="Vol" /><br> </O><br> </O><br>...<br>... <br>

Header Size: The size of the header is determined by the number of hash symbols (#) used. One hash symbol (#) is used for the largest heading, while six hash symbols (######) are used for the smallest heading. The more hash symbols used, the smaller the header size will be.
Heading Size: The size of the heading is determined by the use of equal signs (=) and hyphens (-). Equal signs result in larger text compared to hyphens. To create a heading, place either a hyphen or an equal sign beneath the text.
Printing with a Different Color (Emphasis): Text enclosed within grave accents ( ) will be highlighted in a different color.
Font Style (Italic): Text enclosed within asterisks (* *) will be displayed in italic style.
Font Style (Bold): Text enclosed within two asterisks (** **) will be displayed in bold.
Table: Table headings are enclosed within vertical slashes ( | | ). The position of the columns in the table is determined by the use of colons ( : ) placed between the vertical slashes. If two dots are placed next to the left vertical slash, the text in that column will be aligned to the left. The opposite is true for alignment to the right. If two dots are placed next to both the left and right vertical slashes, the text will be centered within the column. The text within the vertical slashes will be displayed in the table in the same order.
Reading a Value from a Parameter: When a value is enclosed within vertical slashes ( |d| ) in the code, it is treated as a parameter.
Striking Text: Text enclosed within two tildes (~~ ~~) will be crossed out.
Creating a CheckBox: A checkbox can be created by leaving a space after one hyphen, followed by square brackets with spaces inside. If there is a space within the brackets, the checkbox will be unselected. If an "x" is used instead of a space, the checkbox will be selected.
Creating a Code Block: Text enclosed within three grave accents ( ) will be displayed as a code block.
Creating Emoji: Emojis can be created by enclosing the emoji name within two colons (😄).
Creating an Image: An image can be created by typing "![Logo]", followed by the image link within parentheses and the hover text within double quotation marks (" ") after the link.
Example:
<br><O N="DocumentObject2" T="Project" Category="Document Object" TransAlignRule="Right"><br> <!-- created by ParamML Examples on 10.02.2023 --><br> <P N="d" V="15.21" /><br> <O N="Doc 1" T="Document"><br> <O T="DocText"><br> <
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=Document+Object&obj=objidep9yv918v687pt0cj15xq9)
3)Doc3D Object
This object enables you to showcase the 3D model of the project within the document.
<br>...<br>...<br> <O T="DocSection" Title="3D Model "><br> <O T="DocText"><br> <![CDATA[<br> --md<br> In this section of the document, a visual representation of the 3D object will be provided.<br> ]]><br> </O><br> <O T="Doc3D" Width="600" Height="300"><br> <P N="Obj3D" V="Vol" /><br> </O><br> </O><br>...<br>...<br>

Parameters of Doc3D Object:
Label
Mandatory
Description
Example
1
Width
Yes
Width of the display in pixel.
Width="600"
2
Height
Yes
Height of the display in pixel.
Height="400"
Label
Mandatory
Name Attribute
Value Attribute
Type Attribute
1
Obj3D
Yes
N="Obj3D"
Name of 3D object or group. Example: V="Pier"
Type of 3D object (Surface, Circle, Volume, Line) or group. Example: T="Volume"; T="Group"
4)DocCADD Object:
With this object, 2D drawings of the project or the desired object can be displayed in the document.
Example:
Parameters of DocCADD Object:
Label
Mandatory
Description
Example
1
Width
Yes
Width of the display in pixel.
Width="600"
2
Height
Yes
Height of the display in pixel.
Height="400"
Label
Mandatory
Name Attribute
Value Attribute
Type Attribute
1
CADD
Yes
N="CADD"
Name of CADD objects or CADDFrom3D object . Example: V="Elevation"
T="CADD"
5)DocCode Object:
This object serves to display the ParamML code in the document.
Example:
<br>...<br>...<br> <O T="DocSection" Title="ParamML Code "><br> <O T="DocCode" Width="300" Height="400"><br> n="Vol" t="Volume" z="height" opacity="0.9"><br> <o t="Point" x="-width/2" y="width/2"><br> <o t="Point" x="-width/2" y="-width/2"><br> </o><br> </o><br> </O><br> </O><br>...<br>... <br>

6)DocGraph Object:
Using this object, linear graphics can be displayed in the document.
Example:
<br><O N="DocumentObject3" T="Project" Category="Document Object" TransAlignRule="Right"><br> <!-- created by ParamML Examples on 10.02.2023 --><br> <O N="Documentation1" T="Document"><br> <O T="DocSection" Title="Scatter Graph "><br> <O N="Scatter Graph" T="DocGraph" Width="400" Height="300" Title="Forces" DataList="[[[0,0],[1,3],[2,4],[3,4.5],[4,4.75],[5,4.75],[6,4.5]],[[0,20],[1,15],[2,4],[3,4.5],[4,4.75],[5,4.75],[6,4.5]]]" AxisLabelY="Force" AxisLabelX="Station" TitleList="['Girder1','Girder2']" UnitX="in" UnitY="kip" MinX="-5" MaxX="10" MinY="-5" MaxY="30" /><br> </O><br> <O T="DocSection" Title="Line And Scatter Graph "><br> <O N="Scatter Graph" T="DocGraph" Width="400" Height="300" Title="Forces" DataList="[[[0,0],[1,3],[2,4],[3,4.5],[4,4.75],[5,4.75],[6,4.5]],[[0,20],[1,15],[2,4],[3,4.5],[4,4.75],[5,4.75],[6,4.5]]]" AxisLabelY="Force" AxisLabelX="Station" TitleList="['Girder1','Girder2']" UnitX="in" UnitY="kip" MinX="-5" MaxX="10" MinY="-5" MaxY="30" PointStyle="['dash','triangle']" DrawLine="[1,0]" /><br> </O><br> <O T="DocSection" Title="Pie Chart"><br> <O N="Pie Chart" T="DocPieChart" Width="400" Height="300" Title="Forces" DataSets="[[20,100,40]]" Labels="['Girder1','Girder2', 'Girder3']" /><br> </O><br> <O T="DocSection" Title="Doughnut Chart"><br> <O N="Pie Chart" T="DocPieChart" Width="400" Height="300" Title="Forces" DataSets="[[20,100,40],[20,100,800]]" Labels="['Girder1','Girder2', 'Girder3']" Doughnut="1" /><br> </O><br> <O T="DocSection" Title="Horizontal Bar Chart"><br> <O N="HorizontalBarChart" T="DocHorizontalBarChart" Width="400" Height="300" Title="Forces" DataSets="[[20,100],[20,100],[54,12],[20,100],[20,100]]" Labels="['Girder1','Girder2','Girder3','Girder4','Girder5' ]" DataSetLabels="['DC1','DC2']" /><br> </O><br> <O T="DocSection" Title="Vertical Bar Chart"><br> <O N="HorizontalBarChart" T="DocHorizontalBarChart" Width="400" Height="300" Title="Forces" DataSets="[[20,100],[20,100],[54,12],[20,100]]" DataSetLabels="['Girder1','Girder2']" Labels="['DC1','DC2','DW','LL']" Vertical="1" /><br> </O><br> </O><br></O><br>






To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidlf5osn4pd1miedlk3b9on)
Parameters of DocGraph Object:
Label
Mandatory
Description
Example
1
Title
Yes
Title indicated inside the graph.
Title="Graph 1"
2
Width
Yes
Width of the display in pixel.
Width="600"
3
Height
Yes
Height of the display in pixel.
Height="400"
4
AxisLabelX
Yes
Variable name along X-axis.
AxisLabelX="Width"
5
AxisLabelY
Yes
Variable name along Y-axis.
AxisLabelY="Height"
6
DataList
Yes
Data plotted along X-axis and Y-axis. V="[X value, Y value]"
DataList="[0,0],[8,16],[12,28] "
7)DocTable Object:
With this object, a table can be prepared and displayed in the document.
Example:
<br>...<br>...<br><O T="DocSection" Title="28 days Concrete strength "><br> <O T="DocTable"><br> <O T="DocRow"><br> <O T="DocCell"><br> concrete grade<br> </O><br> <O T="DocCell"><br> Typical Compressive Strength fck (MPa)<br> </O><br> <O T="DocCell"><br> Typical Axial Tension Strength fctk (MPa)<br> </O><br> </O><br> <O T="DocRow"><br> <O T="DocCell"><br> C16/20<br> </O><br> <O T="DocCell"><br> 16<br> </O><br> <O T="DocCell"><br> 1.4<br> </O><br> </O><br> <O T="DocRow"><br> <O T="DocCell"><br> C18/22<br> </O><br> <O T="DocCell"><br> 18<br> </O><br> <O T="DocCell"><br> 1.5<br> </O><br> </O><br> <O T="DocRow"><br> <O T="DocCell"><br> C20/25<br> </O><br> <O T="DocCell"><br> 20<br> </O><br> <O T="DocCell"><br> 1.6<br> </O><br> </O><br> </O><br> </O><br>...<br>... <br>

Example:
<br><O N="DocumentObject1" T="Project" Category="Document Object" TransAlignRule="Right"><br> <!-- created by ParamML Examples on 09.02.2023 --><br> <P N="width" V="20" Role="Input" /><br> <P N="height" V="10" Role="Input" /><br> <O N="Vol" T="Volume" Z="height" Opacity="0.9"><br> <O N="surface1" T="Surface" Z="0"><br> <O T="Point" X="width" Y="-width" /><br> <O T="Point" X="width" Y="width" /><br> <O T="Point" X="-width" Y="width" /><br> <O T="Point" X="-width" Y="-width" /><br> </O><br> <O N="surface2" T="Surface" Z="height"><br> <O T="Point" X="width/2" Y="-width/2" /><br> <O T="Point" X="width/2" Y="width/2" /><br> <O T="Point" X="-width/2" Y="width/2" /><br> <O T="Point" X="-width/2" Y="-width/2" /><br> </O><br> </O><br> <O N="BottomSection" T="CADD" RZ="PI/2"><br> <O T="CADDShape"><br> <O T="Point" X="width" Y="-width" /><br> <O T="Point" X="width" Y="width" /><br> <O T="Point" X="-width" Y="width" /><br> <O T="Point" X="-width" Y="-width" /><br> </O><br> </O><br> <O N="TopSection" T="CADD" DisplayWidth="1"><br> <O T="CADDShape"><br> <O T="Point" X="width/2" Y="-width/2" /><br> <O T="Point" X="width/2" Y="width/2" /><br> <O T="Point" X="-width/2" Y="width/2" /><br> <O T="Point" X="-width/2" Y="-width/2" /><br> </O><br> </O><br> <O T="Document" Title="Document Example"><br> <O T="DocSection" Title="Introduction "><br> <O T="DocText"><br> Width |width|, height |height| This is an example of a text description for an object created using a ParamML parametric language<br> </O><br> </O><br> <O T="DocSection" Title="3D Model "><br> <O T="DocText"><br> <![CDATA[<br> --md<br> In this section of the document, a visual representation of the 3D object will be provided.<br> ]]><br> </O><br> <O T="Doc3D" Width="600" Height="300"><br> <P N="Obj3D" V="Vol" /><br> </O><br> </O><br> <O T="DocSection" Title="CADD Drawing "><br> <O T="DocText"><br> In this section of the document, a visual representation section of the 2D object will be provided.<br> </O><br> <O T="DocText"><br> Top Section<br> </O><br> <O T="DocCADD" Width="400" Height="300"><br> <P N="CADD" V="TopSection" T="CADD" /><br> </O><br> <O T="DocText"><br> Bottom Section<br> </O><br> <O T="DocCADD" Width="400" Height="300"><br> <P N="CADD" V="BottomSection" T="CADD" /><br> </O><br> </O><br> <O T="DocSection" Title="ParamML Code "><br> <O T="DocCode" Width="300" Height="400"><br> n="Vol" t="Volume" z="height" opacity="0.9"><br> <o t="Point" x="-width/2" y="width/2"><br> <o t="Point" x="-width/2" y="-width/2"><br> </o><br> </o><br> </O><br> </O><br> <O T="DocSection" Title="Picture "><br> <O T="DocImage" Image="" /><br> </O><br> <O T="DocSection" Title="Inputs"><br> <O T="DocInput" Param="width" /><br> <O T="DocInput" Param="height" /><br> </O><br> <O T="DocSection" Title="28 days Concrete strength "><br> <O T="DocTable"><br> <O T="DocRow"><br> <O T="DocCell"><br> concrete grade<br> </O><br> <O T="DocCell"><br> Typical Compressive Strength fck (MPa)<br> </O><br> <O T="DocCell"><br> Typical Axial Tension Strength fctk (MPa)<br> </O><br> </O><br> <O T="DocRow"><br> <O T="DocCell"><br> C16/20<br> </O><br> <O T="DocCell"><br> 16<br> </O><br> <O T="DocCell"><br> 1.4<br> </O><br> </O><br> <O T="DocRow"><br> <O T="DocCell"><br> C18/22<br> </O><br> <O T="DocCell"><br> 18<br> </O><br> <O T="DocCell"><br> 1.5<br> </O><br> </O><br> <O T="DocRow"><br> <O T="DocCell"><br> C20/25<br> </O><br> <O T="DocCell"><br> 20<br> </O><br> <O T="DocCell"><br> 1.6<br> </O><br> </O><br> </O><br> </O><br> <O T="DocSection" Title="Diagram "><br> <O T="DocGraph" Width="400" Height="300" Title="X Graph" DataList="[[0,0],[1,3],[2,4],[3,4.5],[4,4.75],[5,4.75],[6,4.5]]" AxisLabelY="Force(N)" AxisLabelX="Disp(mm)" /><br> </O><br> </O><br></O><br>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objid0f7ab4sjh1fl38g9nx5clhn)
8)DocSectionAnalysis: With this object, section analysis and calculations, such as rebar stress, flexural capacity, and interaction diagrams, can be displayed in the document. The values that affect the results can be overridden in the document, and changes in the results along the section can be reviewed instantaneously.
Example :
Last updated