[cad-linux-dev] Re: image and viewport entities

  • From: Eric Wilhelm <ewilhelm@xxxxxxxxxxxxx>
  • To: cad-linux-dev@xxxxxxxxxxxxx
  • Date: Tue, 31 Aug 2004 09:01:38 -0500

# The following was supposedly scribed by
# Chris Somerlot
# on Monday 30 August 2004 11:40 am:

>> Right, but it would be good to be able to package these into the
>> drawing. =A0I think we should look at using an "xref/" directory
>> which contains symlinks to the external directories. =A0These could
>> then be "bound" to the drawing for tarballing and etc.
>
>I disagree, they should be in an external directory. Otherwise, the
>way I use xrefs, I'll have 20 xref subdirectories with the same
>drawing. I'd be inclined to say the same for symbols. Also, the
>converter should have an option to recursively chase linked drawings
>like xrefs.

No, you would have one "xref/" directory and each xref'd drawing would=20
have one symlink in that directory.  Each xref entity would point to=20
a subdirectory in the "xref/" directory.  Two xref entities could=20
point to one xref drawing.

I'm actually going against what I just posted now.  The "attach/"=20
directory would require every xref and image entity to be modified=20
when you want to package a drawing, but using an xref/ directory=20
means only the links need to be deref'd and that can be done natively=20
by tar.

Sorry for the waffling, I'll get more coffee before posting again.

=2D-Eric
=2D-=20
"Everything goes wrong all at once."
                              --Quantized Revision of Murphy's Law

Other related posts: