CAD Managers

Reply
Active Member
9 Posts
0 Kudos
Registered: ‎03-20-2014
Post 1 of 2

writing script

224 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*
24,246 Posts
1,597 Kudos
Registered: ‎11-06-2003
Post 2 of 2

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.