Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

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

Relative Xefs - Routine Adjustment

164 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: 864
Registered: ‎12-26-2005
Message 2 of 4 (142 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: 864
Registered: ‎12-26-2005
Message 3 of 4 (140 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: 711
Registered: ‎04-21-2006
Message 4 of 4 (133 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.