Author |
Topic |
|
bcastillo
New Member
16 Posts |
Posted - April 06 2012 : 01:01:01 AM
|
I would like to search a folder/subfolders of drawings, find the drawings with xrefs, make a list of the drawings with xrefs, now i can do a xref bind on that list of drawings. |
|
Admin
Administrator
652 Posts |
Posted - April 06 2012 : 05:23:44 AM
|
I'd be looking around for a lisp routine that will do that for you. I'm sure you will find something that will do each of those steps. 1) Check if the currently opened drawing has XREFS if so a) Add the drawing name to a text file, and add the XREF name to the text file.
2) Post process with Hurricane to Bind...
OR
You can also try just running an XREF Bind routine on ALL Drawings. You have to open each one anyways to find if it has an XREF, why not just process it, and if it doesn't have an XREF, no loss.
|
Hurricane for AutoCAD http://www.74mph.com FAQ at http://www.74mph.com/faq/faq.html Tutorials at http://www.74mph.com/tutorials.html |
|
|
bcastillo
New Member
16 Posts |
Posted - April 06 2012 : 1:40:35 PM
|
I do not want to open any drawings, I would like the program to find the drawings outside AutoCAD, make a list, then I can run my script on that list. I am imagining under the Tools or Wizards there would be a Search for DWG with Xref, then from that list I would run a script. I am actually running the Xref Bind routine on All Drawings but you can see the savings of time if I have 20000 drawings and only 1000 have Xrefs. I have also been looking for something on the line as your first suggestion and Hurricane was one of the programs i was searching though. I probably should have put this under new feature request. For now this will probably a two program process. Thank you for your response. |
|
|
Admin
Administrator
652 Posts |
Posted - April 07 2012 : 07:46:14 AM
|
Hi,
At this point in time, Hurricane is designed to run LISTP, and VBA, inside AutoCAD, BY AutoCAD. If you would like to search for XREFS outside of using AutoCAD with an external piece of software, then that would be a separate product, and NOT Hurricane. (Obviously this couldn't be a "feature" for Hurricane, as it requires AutoCAD to run).
However, after a quick look around the web... http://www.cadstudio.cz/dl_file.asp?ID=888 is a free VLX you can run from within AutoCAD do "report" back (to text file) whether the files have XREFS or not.
Technically, then you can pull that text file into excel, weed out the false files, and then save as .LST text file, and dump the list of files that contain XREFS into Hurricanes file list to process however you like.
I hope that solves your issue, somewhat.
|
Hurricane for AutoCAD http://www.74mph.com FAQ at http://www.74mph.com/faq/faq.html Tutorials at http://www.74mph.com/tutorials.html |
|
|
bcastillo
New Member
16 Posts |
Posted - April 07 2012 : 7:29:26 PM
|
Yes that is exactly what I have done, thank you for your help. |
|
|
|
Topic |
|
|
|