Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

JBerns
en respuesta a: mbloswick

My first thought was adding polylines with different properties to a tool palette, but tool palettes do not support preset widths.

 

Next thought would be custom commands to draw polylines on the correct layer and width.

 

For example, this will draw a four-inch wide polyline on the "White Solid 4in" layer.

 

(defun C:WS4 ()
  (setvar "CLAYER" "White Solid 4in")
  (setvar "PLINEWID" 4.0)
  (command-s "_.PLINE")
)

 

Perhaps a community member with AutoCAD reactor experience may suggest some code to automatically set the polyline width based on the current layer.

 

Regards,

Jerry

-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional