Infrastructure and construction projects like roads or subdivisions need ditches—narrow channels dug in the ground for drainage purposes. Ditches easily can be created as a v-shaped object in MAGNET Modeler.
The ditch rule transforms linework into textured drainage areas. For ditch model creation, MAGNET Modeler supports:
- Lines
- Strings
- Polylines
Lines, strings, and polylines will always be draped onto a surface.
Ditch rule parameters

• Layer
Layer where elements that define the ditch are.
• Materials
Click materials to access the Material Library of MAGNET Modeler. Select an existing material, or insert a new material.
• Description
Enter a description for the ditch rule. This will change the name of the rule within the Modeler Rules window. In case you have several ditch rules, this helps to easily identify them.
• Group
Click group to choose from a list of existing groups/subgroups, or manually enter your group structure. Use the forward slash character (/) to create additional subgroups, for example, Existing/Office/Parking lot.
• Width
Width controls the entire width of the road/road marking from the left edge to the right edge. The line, string, or polyline acts as the centerline.
• Depth
Depth controls the depth of the ditch in drawing units.
• Info text
Info text allows you to add additional information, such as material, quality requirements, manufacturer, etc. The info text information will be accessible in MAGNET Explorer via the Object Info tool.
• Info URL
Info URL allows you to add hyperlinks such as a link to a manufacturer's homepage or a design document. The info URL link will be accessible in MAGNET Explorer via the Object Info tool.
• Target_layers
With target_layers, you can choose whether the ditch will only be cut into a certain surface by selecting the surface from the layers list. The default value (*) matches all layers.
• Generation_priority
Generation_priority lets you determine the display order of overlapping ditches in the model.
- 0 = Default/layer order
- 1 = Generates after 0
- -1 = Generates before 0
• Auto_segmentation_distance
Auto_segmentation_distance densifies the line/string/polyline. This parameter is useful for a smoother interaction with a surface when draped.
• Auto_segmentation_angle
Auto_segmentation_angle divides arcs of a line/string/polyline for a smoother interaction with a surface when draped.