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.

FIXED TEXT IN MACROS - HOW FIXED?

Started by SFA, June 01, 2014, 03:35:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SFA

I have recorded/edited a macro to put 'fixed text' dimensions on a drawing (for the purpose of indicating the extent of timber-framed 'racking' panels with nails at 50mm {2"} centres if anyone is interested) and I am wondering if I can use a variable instead of the "50" in the extract below?

>Dimension
{
   <Text "50"
  }


Thank you,

Stan
PS - I have tried and failed to use a variable here.
SEMPER IN EXCRETIA

prl

Stan,

Do it this way,

.
.

input "enter something", a$

>Dimension
{
<Text [a$]
}

.
.

SFA

SEMPER IN EXCRETIA

DrollTroll

Stan,

In general, when using a variable as an argument to a drawing command parameter ( <SomeParameter [var1], [var2] )
use brackets around each variable.
25 years with DesignCAD

SFA

SEMPER IN EXCRETIA