make a new folder through script

make a new folder through script

Anonymous
Not applicable
787 Views
1 Reply
Message 1 of 2

make a new folder through script

Anonymous
Not applicable

hi im working with CADIUM.

a scripting program and i want to make a own folder when im doing a plot though the a script.

here is the code:

the commando doesnt want to know where  i want to save my files, it saves it on the same file path i have my orginal DWG.

 


_.OSNAP
_OFF
_.-PLOT
_YES
"Layout1"
DWG To PDF.pc3
ISO A1 (841.00 x 594.00 MM)
_MILLIMETERS
_LANDSCAPE
_NO
_LAYOUT
1=1
0,0
_YES
AA-F-PLO-X-0001.CTB
_YES
_NO
_NO
_NO

0 Likes
788 Views
1 Reply
Reply (1)
Message 2 of 2

dbhunia
Advisor
Advisor

Try this way....... 

creating folder "D:/Test1"

creating pdf "D:/Test1/Test.pdf"

 

(vl-mkdir "D:/Test1")
_.OSNAP
_OFF
_.-PLOT
_YES
"Layout1"
DWG To PDF.pc3
ISO A1 (841.00 x 594.00 MM)
_MILLIMETERS
_LANDSCAPE
_NO
_LAYOUT
1=1
0,0
_YES
AA-F-PLO-X-0001.CTB
_YES
_NO
_NO
_NO
D:/Test1/Test.pdf
_N
_Y

 


Debashis Bhunia
Co-Founder of Geometrifying Trigonometry(C)
________________________________________________
Walking is the First step of Running, Technique comes Next....
0 Likes