DataCAD allows the edges of polygons to be hidden, for example when multiple adjoining polygons are used to make up a single surface. This macro was born out of a desire to facilitate the hiding of common edges from multiple polygons that resulted from a 3d boolean operation.
This macro facilitates the hiding and unhiding of polygon edges, but has been expanded slightly from the original concept to allow the following functionality:
- • Automatically hide all common edges in the selection, subject to the following criteria:
- - The edges must coincide exactly with each other.
- - The polygons must be at the same orientation (e.g. an edge of a horizontal polygon may coincide exactly with an edge of a vertical polygon, but the edges are not candidates for hiding as the polygons are at different orientations).
- • Un-Hide all edges of selected polygons and update the drawing with their new 'unhidden' status.
- • Show hidden edges of selected polygons on the screen, but do not update the drawing (i.e. a refresh of the display will remove the shown edges).
Note that this macro does not support polygons with more than 36 edges which were introduced in DataCAD 14. The macro will function correctly in DataCAD 14 onwards provided no polygons with more than 36 edges are selected.
Spirit Compatibility: This macro is believed to be fully compatible with Spirit.
Get the macro |
(See the DCAL resources page if you would like to download the DCAL source code for this macro). |
|
David Henderson ABN 96 233 774 156