Visual LISP, AutoLISP and General Customization

Reply
Mentor
Hugh_Compton
Posts: 709
Registered: ‎04-21-2006
Message 1 of 4 (159 Views)

Relative Xefs - Routine Adjustment

159 Views, 3 Replies
05-03-2011 01:38 AM

 

I've been using a brilliant lisp by someone called Mark McDonough that looks at each XRef in an open DWG and converts them into Relative Path XRefs.

 

This works very well but I am using it in the middle of a VB.Net routine and the 'pause' that requires a press of the Enter key / spacebar key is causing me to stumble.

 

Could some kind soul remove the command line pause so that the routine runs from start to finish without stopping for an Enter / Spacebar?

 

Thanks

Mentor
stevor
Posts: 838
Registered: ‎12-26-2005
Message 2 of 4 (137 Views)

Re: Relative Xefs - Routine Adjustment

05-04-2011 05:32 PM in reply to: Hugh_Compton
Try commenting out the grread; eg: ; (grread)
S
Mentor
stevor
Posts: 838
Registered: ‎12-26-2005
Message 3 of 4 (135 Views)

Re: Relative Xefs - Routine Adjustment

05-04-2011 05:51 PM in reply to: stevor

In addition to the grread, the 'alert' at...
(alert "This version of XRP is designed for AutoCAD R14 - 2005 only")....
will 'pause' the execution, if the autocad in not in this program's agenda...
For such case, you could try commenting that line out but test the results.

S
Mentor
Hugh_Compton
Posts: 709
Registered: ‎04-21-2006
Message 4 of 4 (128 Views)

Re: Relative Xefs - Routine Adjustment

05-05-2011 12:41 AM in reply to: stevor

 

Brilliant, there was one occurance of the "grread", commenting this out has done the trick.

 

Thanks

Hugh

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community