danielhyde
Civil/Environmental
Hi,
Is it possible to convert a LISP routine in to VBA routine? I have only a little knowledge of LISP and VBA. (I understand what it’s doing, but I am not sure how to write it)
We currently have a routine that inserts XREF's of OS mapping in to a drawing by the user selecting a point on the screen (world UCS), this point is then analysed by the routine and finds the area of mapping file name which is the location
e.g. Filename TQ0050NE = area of screen of 500500,150500(bottom left corner) within a rectangal of 500,500. The problem is that we know need to put all the xrefs in to new folders and sub-folders and LISP can not find the files without a support path to each folder (there would be over 20) so this would prove rather tiring to set up on each machine. So I would be to specify a start from a Location such as G:\CAD\OS-map\1250\, and LISP does not have a function to do this but I think VBA can?
So what I would like to known is can any tell me how to convert for LISP to VBA, or how to write it from scratch in VBA and then how to find the correct xref based on location (name)
I can supply the LISP file if it would help
Thanks for any help.