You will often be working with structures containing beams/columns/trusses etc. and you will most likely want the section-profile of these components in your project to be user customization. STARK allows users to import section-profiles and define custom sections. As the author of the structure, you would want user to be able to use these section profiles to customize your structure.
Below is a very simple example displaying a line with a rectangular cross-section. The second example following this will show you how to make the cross-section profile of this line user-editable.
<O N="Assign Section" T="Project">
<!-- Section object is used to assign sectional profile to
Line objects as well as FELine objects.
Sections are composed of one or more shapes.
Shapes are closed polygons and contain minimum 3 or more Points.
The points of Shapes are defined in XY plane. That means the points of the
shapes are always defined using X and Y coordinates. Once assigned to a Line,
the profile defined on XY plane is extruded over the length of the line in
3D space.
Shapes inside a section may intersect. A shape can be designated as
cutout to create holes in other shapes or cutout certain portion of another
shape.
-->
<O N="RectangleSection" T="Section">
<O T="Shape">
<O T="Point" X="-12" Y="-12" />
<O T="Point" X="12" Y="-12" />
<O T="Point" X="12" Y="12" />
<O T="Point" X="-12" Y="12" />
</O>
</O>
<!--
A Line object requires minimum 2 points and a Section. You may define more
than 2 points to create a polyline in 3D space.
-->
<O T="Line">
<P N="Section" V="DiagonalCordSection" T="Section" />
<O T="Point" X="0" Y="0" />
<O T="Point" X="480" Y="0" />
</O>
</O>