Author Topic: get xref path  (Read 8370 times)

0 Members and 1 Guest are viewing this topic.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
get xref path
« Reply #15 on: May 17, 2005, 07:59:56 AM »
Slowly double click the name whilest in xref manager it, will let you edit the name.

Alternatively, one could come up with some kind of scheme to do it automagically, even something simple like xref01, xref02 ... xref30 has to be better than --

IMP-DrawingSheet-yada-yada-yada-PLANDETAIL(BLDGCESCALATORUP-LEVEL1TO2).dwg

But what I suggest is that you create a little lookup table. For every one of these xrefs with the masochist designed file name, create an alias -- the alias will be used as the xref name in parent drawings. Once you finish the lookup table we could write a simple little function to cycle thru the document's, doing a search and replace on the names.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

danny

  • Guest
get xref path
« Reply #16 on: May 17, 2005, 04:16:47 PM »
So a table that has
Quote
Long a$$ name  =  name
Lnog a$$ name  = name
Long a$$ name  =  name

I'll work on it..

danny

  • Guest
get xref path
« Reply #17 on: May 18, 2005, 07:49:21 PM »
okay,
I made a list of the drawing, sheets and xrefs.  The previous designer on this project used Revit.  I beleive Revit isn't to friendly after exporting info to dwg.  I've got xref files that don't have anything in it but a couple of lines, but yet the sheet that its xrefed in is showing an intire floor plan comming from this file.  All layers on, thawed, but only two lines in the xref dwg.  Some wierd things going on.  I thinking I gonna have to bind everthing to the sheets then create xref files from there.  Any Ideas?
If you want to take a look, the excel sheet of file names is in the lilly pond under \danny.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
get xref path
« Reply #18 on: May 18, 2005, 10:10:54 PM »
I don't have excel installed here yet, any chance you can export to a csv (comma separated values)  file? Thanks.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

danny

  • Guest
get xref path
« Reply #19 on: May 18, 2005, 10:31:26 PM »
done..

danny

  • Guest
get xref path
« Reply #20 on: May 18, 2005, 10:57:47 PM »
looking at the list I can see that revit exploded everthing into its own files.  Example, Building A Floor 1 has 7 xrefs of the site.  Where as it should be 1 xref.  Building B Floor 1, Same site, has 6 xrefs of the site, and their all their own files.  Should be 1. :shock:

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
get xref path
« Reply #21 on: May 19, 2005, 07:25:26 AM »
Danny, why did you provide aliases for some drawings and not others? Also, the data is inconsistant: sometimes the full path and the alias is separated by one comma, other times 2. Makes it more onerous for a program to process than is necessary.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

danny

  • Guest
get xref path
« Reply #22 on: May 19, 2005, 03:46:08 PM »
Quote
Danny, why did you provide aliases for some drawings and not others?
I've located what sheets the xrefs belong to.  As far as renaming them, I am now finding out that they are all bits and pieces of an overall.  So lets say sheet AA-101 has these xrefs in them
Code: [Select]
IMP-DrawingSheet-AA-101-BUILDINGALEVEL1FLOORPLAN-FloorPlan-A-1.dwg
IMP-DrawingSheet-AA-101-BUILDINGALEVEL1FLOORPLAN-IMPSiteandStream.rvt-1.dwg
IMP-DrawingSheet-AA-101-BUILDINGALEVEL1FLOORPLAN-PrincessKaiulani.rvt-1.dwg
the xrefs that has the "IMPSiteandStream" is pieces of the IMP-DrawingSheet-AS-101-OVERALLARCHITECTURALSITEPLAN-IMPSiteandStream.rvt-1.dwg
.  An xref that is in sheet AS-101.
Quote
Also, the data is inconsistant: sometimes the full path and the alias is separated by one comma, other times 2
The full path came from Revit.  
Quote
Makes it more onerous for a program to process than is necessary
I'm realizing this.  Your help with the xopen and finding xref paths and info has been very helpful.  At this point, I may have to go into every sheet to put together this puzzle.  What makes things worse, the base points of all the xrefs are inconsistant as well. :x
Thanks for your help MP, I really do appreciate it.