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.

Macro to scale Fixed Lineweights when printing

Started by Lar, April 26, 2007, 07:19:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lar

Hi,

Below is a macro that you can run anytime before calling up the Print command in order to scale the thickness of Fixed Lineweights. It only lasts for the current session.

For example, say you've created a drawing based on size D sheets but you want to print a Letter size copy, which will cause the lines to appear too thick. Rather than editing all the fixed lines, just run the following macro anytime before printing. You won't have to run it again unless you want to change the scale again. For example, to get back to the normal scale you would have to run the macro again, before printing,  and enter a scale of 1.

'*****MacroStart**********
'Scale Fixed Line Weights for Printing.d3m
'by Lar
'Nassau, Bahamas
'original macro: 3 Feb 2006

input " Enter value to scale Fixed Line Weight (eg, 0.5, 0.25, 2, 4...)" lws

sys(554)=lws
'directs the printer to scale the fixed lineweights by a desired factor.. ..
'.. ..other than the one in the drawing...

message "-done-"
'*****MacroEnd**********


Lar

n

Hello Lar

Is it possible to do that without using the option Fixed Lineweights ?

I don't like this option

Lar

Besides Fixed Lineweights there is Unit Lineweight which is scaled along wilth everything else in the drawing. You would need a macro to identify the line thickness and if it's more than 0 then change it according to whatever scale you want.

Or you could, in the future, put all similar line thicknesses on their own layers. Then you would be able to select the whole layer and change the thickness with the Info Box.

The whole point of Fixed Lineweights is to avoide circumstances like this so I would advise you to 'grin and bear it' when it comes to Fixed Lineweights.

Lar