Whenever you need a linear, vertical object to usually separate areas from each other, you want to use a Fence rule.
As an example, a fence rule can be used for:
- Fences
- Walls
- Noise Protection Walls
- Retaining Walls
- Barriers
The Fence rule transforms linework into extruded and textured vertical areas.
For Fence model creation, MAGNET Modeler supports
- Lines
- Strings
- Polylines
Lines, Strings and Polylines with zero elevation can be easily draped onto a surface.
Elevated Lines, Strings and Polylines can be used as well. Check the interpolate attribute for further options.
Fences rule parametres

1. Layer
Layer where elements that define the "Fences" are.
2. Materials
Click on material to access the Material Library of MAGNET Modeler. Select existing material or insert a new material.
3. Description
Enter a description for the "Fences" rule. This will change the name of the rule within the Modeler Rules window. In case you have several "Fences" rules, this helps to easily identify them.
4. Group
Click on group to choose from a list of existing groups / sub groups or manually enter your group structure. Use the "/" character to create additional sub groups. For example: Existing/Office/Parking Lot.
5. Height
Enter a value for height to control the height of the fence.
6. Texwidth
Enter a value for texwidth to control the width of the texture along the entity.
7. Info text
Info text allows to add additional information, such as material, quality requirements, manufacturer, ... The info text information will be accessible in MAGNET Explorer via the Object Info tool.
8. Info URL
Info URL allows to add hyperlinks such as a link to manufacturers homepage or a design documentation. The info URL link will be accessible in MAGNET Explorer via the Object Info tool.
9. Interpolate
Interpolate defines whether the Line, String, Polyline is interpolated to a reference surface or the elevation is taken from the entity itself. It also controls whether the entity follows the ground or stays planar. See examples below for further details.
10. Position_offset
Position_offset (X) allows a left / right offset from the actual position of the entity. The (Z) value controls a relative vertical offset.
11. Ending_mode
Ending_mode correlates with ending_interpolate. Define whether the first (start),the last (end) or the start and the end (both) post should be draped to a reference surface to slope the first / last fence segment.
12. Ending_interpolate
Ending_interpolate correlates with ending_mode. (Normal) will not change the first / last post while (ground) will drape it to the surface.
13. Ending_distance
Ending_distance correlates with ending_interpolate and ending_mode. Specify a segment length for the sloped first / last segment.
14. Ending_offset
Ending_offet offsets the first or last fence post to the left / right.
15. Z_rotation
Z-rotation will rotate the Z-axis. Setting the value to 90 will result in the wall-like model lying on the ground.
16. Texture_autofit
Texture_autofit (no) uses the Height & Texwidth attributes to define the texture size. (Segment) will override the Texwidth and stretch the texture to match the segment length of the Polyline or String. (Polyline) will do the same, however will use the entire length.
17. Auto_segmentation_distance
Auto_segmentation_distance densifies the Line / String / Polyline for a smoother interaction with a surface when draped. Usually, "interpolate" only drapes the vertices of the entity onto the surface.
18. Auto_segmentation_angle
Auto_segmentation_angle divides arcs of a Line / String / Polyline for a smoother interaction with a surface when draped.