Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Relative Xefs - Routine Adjustment

3 REPLIES 3
Reply
Message 1 of 4
Hugh_Compton
352 Views, 3 Replies

Relative Xefs - Routine Adjustment

 

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

3 REPLIES 3
Message 2 of 4
stevor
in reply to: Hugh_Compton

Try commenting out the grread; eg: ; (grread)
S
Message 3 of 4
stevor
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
Message 4 of 4
Hugh_Compton
in reply to: stevor

 

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

 

Thanks

Hugh

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost