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.

Double Line missing a sys?

Started by SilentType, July 09, 2008, 07:29:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SilentType

Hi All,

Maybe someone can help me.

On the Double Line Bar there is an option "Save As" where you can save as Double Line / Plane / Line.

How can I manipulate this from a macro? Is there a SYS that I haven't found.

(All I want to do is draw a double line in the macro, but if the user has preset this to line then that's what they get).

I guess a workaround may be to draw a line and then ApplyDoubleLineStyle but that seems a long way around.

Thanks.
ST

paulerens

This makes from a line,a dub.line,a plane ,and a vector.

>PointSelect
{
<CmdPrompt "Select a line."
}
Sys(36)=2
Input"Width?",A

>DoubleLineConvert
{
 
<Width [A]
  <Filled 0
  <Cap 3
  <AutoTrim 1
  <Alignment [AL]'Alignment [0=Left, 1=Center, 2=Right]


  <SelectOnly 1
<LineSnap 0.000,0.000,0.000
}
Sys(26)=0
>DoubleLineToPlane
{
<SelectOnly 1
}

>VectorConvert
{
}
>Deselect
{
}
Sys(36)=0
Regen
End