News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Default Pen Width

Started by Slind, September 26, 2017, 04:16:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Slind

Each drawing allows you to change print settings, but is there a way to set a default pen width for all drawings?
Or is this only accomplished using a Paper Space Template?

Thank you.

Slind

" Everything settled down once we
     got the rhino off the bus. "

bdeck

Hi Slind,

Are you using menu/file/print/type/penwidth ?
That setting appears to persist on my version 26.2.
(When I strart a new drawing, the setting is still active.)

bd

Slind

Using 26.1, but only create about half of our
own drawings.  The other half are client
provided which tend to require resetting the
pen width each time.
It never occurred to try creating a macro
so maybe that is an easy workaround.

Slind


accuratesteel

Here is a copy of my macro in which after drawing a drawing using red, green and black, i run the macro before plotting to get the correct line widths. I hope it helps.
accuratesteel

'Program: fixed lineweights by color (bycolorplot.d3m)

include "dcadalias.d3i"

for j = 1 to sys(9)
entity j
Query Ent_Color, rval, gval, bval ' find out the entity's color

if rval = 0 and gval = 0 and bval = 0 then
Change Ent_FixedWidth, 1
Change Ent_LineWeight, 9 ' this is .09 mm
Update
end if


if rval = 0 and gval = 255 and bval = 0 then
Change Ent_FixedWidth, 1
Change Ent_LineWeight, 25 ' this is .25 mm
Update
end if

if rval = 255 and gval = 0 and bval = 0 then
Change Ent_FixedWidth, 1
Change Ent_LineWeight, 30 ' this is .30 mm
Update
end if
next j

sys(1) = 0
sys(552)=0
regen


end

Slind