Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
Is there away of extracting the xref file names loaded in a drawing. So that the file names can be printed on the drawing, say using a field. Is there a system variable that this info is stored in?
I would not recommend using RText, especially if you are using fields
already. However, there is no field expression that will directly get the
XRefs.
However, there has been code posted in this discussion group in the past
that generates a string or list of the XRefs loaded. You could use that code
to populate a UserSx system variable and use a field to read/display that.
--
R. Robert Bell
wrote in message news:5418884@discussion.autodesk.com...
Is there away of extracting the xref file names loaded in a drawing. So that
the file names can be printed on the drawing, say using a field. Is there a
system variable that this info is stored in?
Here is partial code to find the XRef objects in a drawing.
The file name of the xref is DFX 2, provided the block has not been renamed. Also, the xref name is not sorted if you gather all in a selection set.
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
"R. Robert Bell" wrote in message news:5419382@discussion.autodesk.com...
I would not recommend using RText, especially if you are using fields
already. However, there is no field expression that will directly get the
XRefs.
However, there has been code posted in this discussion group in the past
that generates a string or list of the XRefs loaded. You could use that code
to populate a UserSx system variable and use a field to read/display that.
--
R. Robert Bell
wrote in message news:5418884@discussion.autodesk.com...
Is there away of extracting the xref file names loaded in a drawing. So that
the file names can be printed on the drawing, say using a field. Is there a
system variable that this info is stored in?
Without RTEXT or a custom field evaluator, there
is no simple way to automate that.
My advice is to avoid RTEXT, as it has been the
source of numerous problems with customization.
You can use LISP code that reacts to events that
fire when xrefs are attached/detached, and then
store and manage the names of the attached xrefs
in a custom drawing property that can be used in
a field.
What Robert suggests (storing it in a userSx system
variable) is really pointless because it is not stored
with the drawing, and can't be used outside of the
drawing editor (e.g., not much different than using
LISP in fields).
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
wrote in message news:5418884@discussion.autodesk.com...
Is there away of extracting the xref file names loaded in a drawing. So that the file names can be printed on the drawing, say using a field. Is there a system variable that this info is stored in?