Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
New Member
Hextor
Posts: 2
Registered: ‎05-29-2007
Message 1 of 4 (49 Views)

noob xref repath question

49 Views, 3 Replies
05-29-2007 09:49 AM
I'm trying to use a macro to change the path of an xref. I have it all working manually, but when I use is as a macro it says that is cannot find the file in the support path. Here is the Macro. can anyone tell me what I'm doing wrong?

^C^C-XREF;P;"Arch-E LEG COL PROJ";F:\projects\Jordan River 1\Drawings-Sheets\X-refs\30X42 TITLE (LA).dwg;

Arch-E LEG COL PROJ is the xref Name

"F:\projects\Jordan River 1\Drawings-Sheets\X-refs\30X42 TITLE (LA).dwg" is the new path.

thanks
*Dave Drahn
Message 2 of 4 (49 Views)

Re: noob xref repath question

05-29-2007 10:05 AM in reply to: Hextor
Try it putting your replace path in quotes, too.
^C^C-XREF;P;"Arch-E LEG COL PROJ";"F:\projects\Jordan River
1\Drawings-Sheets\X-refs\30X42 TITLE (LA).dwg";



wrote in message news:5609853@discussion.autodesk.com...
I'm trying to use a macro to change the path of an xref. I have it all
working manually, but when I use is as a macro it says that is cannot find
the file in the support path. Here is the Macro. can anyone tell me what
I'm doing wrong?

^C^C-XREF;P;"Arch-E LEG COL PROJ";F:\projects\Jordan River
1\Drawings-Sheets\X-refs\30X42 TITLE (LA).dwg;

Arch-E LEG COL PROJ is the xref Name

"F:\projects\Jordan River 1\Drawings-Sheets\X-refs\30X42 TITLE (LA).dwg"
is the new path.

thanks
New Member
Hextor
Posts: 2
Registered: ‎05-29-2007
Message 3 of 4 (49 Views)

Re: noob xref repath question

05-29-2007 10:09 AM in reply to: Hextor
Wow I new it was going to be easy but I didn't think it was going to be that easy.

Thanks
*Dave Drahn
Message 4 of 4 (49 Views)

Re: noob xref repath question

05-29-2007 10:25 AM in reply to: Hextor
Good. I like easy.

wrote in message news:5609896@discussion.autodesk.com...
Wow I new it was going to be easy but I didn't think it was going to be that
easy.

Thanks
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!