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.

disable fixed lineweight

Started by Mark Laing, November 20, 2007, 08:16:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mark Laing

Hi All
Is there a way to turn off 'enable fixed lineweight' in a macro? The Query and Change parameters let me set the lineweigth to anything but still interfere with setting the line width. Can I just turn it off?
Thanks in advance,
Mark

DrollTroll

Hi Mark,

You should be able to use
Change ENT_FIXEDWIDTH, 0
to turn off fixed linewidth on an ENTITY'd object.

ENT_FIXEDWIDTH should toggle the use of fixed-weight lines off or on

ENT_LINEWEIGHT should specify the fixed-weight width in hundredths of mm (and should be ignored if ENT_FIXEDWIDTH = 0)

ENT_LINEWIDTH should let you specify the normal linewidth in drawing units (and should be ignored if ENT_FIXEDWIDTH=1)
25 years with DesignCAD

prl

Based on what Dt said, I tried it and it works.

'Program: lwoff.d3m  (fixed weight lines off)

include "dcadalias.d3i"

for i = 1 to sys(9)
  entity i
  Change Ent_FixedWidth, 0
next i
sys(1)=0
end


Mark Laing

Thanks you Guys, That helps me a lot. I'm importing from Autocad changing all their line types as I edit the drawing.
Happy Thanksgiving too.
Mark.