CREATECENTROIDS&OD.lsp.zip – LISP program creating of centroids with OD transfer from closed polylines with preservation OD in polylines.
AutoCAD Map/Civil 3D, 2010-2020.
Author: CADaSchtroumpf, Bruno Valsecchi; Privas, Ardèche, FR.
Call command: CREATECENTROIDS&OD
At the command line, specify how to select graphic elements:
Creating centers of gravity in [All/Select]
At the command prompt, specify options or proceed:
Change options [Options/Proceed]
When choosing Options on the command line, you must specify a layer for centroids:
Enter a layer name to create centers of gravity or ? for the list <0>:
In the command line, specify the name of the block for the centroid or the default point:
Enter a block name to create centers of gravity or? for the list
Centroids with OD of these polylines will be created in the specified closed polylines.
ODs are saved in polylines.