TheSwamp
CAD Forums => CAD General => Topic started by: Artisan on November 18, 2004, 12:17:59 PM
-
Ok, when I draw a closed polyline, like a rectangle for example, using the hidden linetype, my corners do not look right. Instead of little line segments forming 90 degree corners, they look more like a vertical line coming down and the horizontal not meeting it at the corner. Is there a setting or something I am missing here to make this happen? Or is it a scale factor issue?
Thanks
-
Linetype generation -- I think the variable is pltypegen...or something like that. It only affects new polylines, not existing ones, but you can change it in Properties.
-
Thanks Kate. Linetype generation is the variable that I am looking for. I was able to change it in properties, but I cannot find the correct name to type in at the command line to change the overall. Pltypegen is not the correct one. Thanks again.
-
I just reproduced your problem but I haven't yet found a solution to it. I believe you can get the pltypegen by using the PEDIT command and using the Ltype gen variable.
-
Note Different styles of endcaps and joins of objects with lineweight are displayed only in a full plot preview.
Look up 'Display Lineweights' in the help file.
You're looking for something like the Line Join Style found in plot styles, right?
-
I think the system variable you're looking for is PLINEGEN.
0 - Generates polylines to start and end with a dash at each vertex.
1 - Generates the linetype in a continuous pattern around the vertices of the polyline.
Ken
-
Here is a little lisp that will change all polylines lt generation to ON.
(defun c:plg( / s1)
(setq s1 (ssget "x"'((0 . "LWPOLYLINE"))))
(command ".pedit" "m" s1 "" "lt" "on" "")
(princ)
)