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.

User variable to filename

Started by lfa, December 03, 2014, 02:03:24 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

lfa

hi,

is there any way to pass the user entry to filename.
i ' m trying this, but big trouble

Input "Client",client$
Input "project",plan$
Sys(80) = 0
Regen
fileplan$="C:\Drawings\" + client$ + "\" + plan$ + ".dcd"
>SaveAs

'MESSAGE fileplan$

{
<Filename fileplan$
}


Thanks

DrollTroll

Almost there. Change the filename parameter line to this:
<Filename [fileplan$]

Variables in command parameters (lines beginning with < ) must be enclosed in square brackets.
25 years with DesignCAD