PDA

View Full Version : LISP that Add's Polyline Lengths by Linetype



jdimi8392
2017-12-18, 05:48 PM
Is there LISP routine that will allow me to add polylines by linetype rather than by layer?

Right now we are using multiple layers to distinguish between different electrical circuits. We are trying to cut down on the number of layers in our drawings and our thought is we could use different custom linetypes to accomplish this. The problem is that we still need to distinguish between the different circuits in order to quantify each circuit separately.

Tharwat
2017-12-18, 06:08 PM
Hi,

Sure you can, and you just need to have the target linetype loaded into your linetype control ( popup menu ) or loaded it via codes and just add the related
DXF (cons 6 <LineTypeName>) if you are using the entmake(x) function to create the polylines.