CAD Managers

CAD Managers

Reply
Active Member
13041995
Posts: 9
Registered: ‎03-20-2014
Message 1 of 2 (223 Views)

writing script

223 Views, 1 Replies
03-21-2014 10:32 AM

Hi am trying to write a script using a file name with spaces in it, i keep reading that enclosing my file name with quotation marks will solve the problem but its not working, the problem is definitely the spaces because the script works fine with file names without spaces.

 

Has the syntax changed to replace the quotation marks with something equivalent?

 

I have included the script i am writing

 

thankyou

 

-INSERT "SAC TITLE A1H"=C:\\TITLEBLOCK\\DWG\\"SAC TITLE A1H2"
0,0 1 1 0
ERASE L

(load "C:\\TITLEBLOCK\\border_update.lsp")
border_update
QUIT
Y

*Expert Elite*
pendean
Posts: 23,640
Registered: ‎11-06-2003
Message 2 of 2 (208 Views)

Re: writing script

03-21-2014 04:26 PM in reply to: 13041995
-INSERT
"SAC TITLE A1H"="C:\\TITLEBLOCK\\DWG\\SAC TITLE A1H2"
And so on...
Dean Saadallah Blog | Facebook | Google+ | Twitter | PINS
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Manufacturing CAD & IT Manager Resource
Additional information for installing, licensing & deploying Inventor, the Product Design Suites and Factory Design Suites.