How to display Xref files?
Moderators: SDS, support, admin
How to display Xref files?
Can this be done?
Load DXF file which contains XRef to two other DFX attached files and display visible entities in all files.
Regards,
Fred Chateau
Load DXF file which contains XRef to two other DFX attached files and display visible entities in all files.
Regards,
Fred Chateau
Dear Mr. Fred Chateau,
AutoCAD does not allow to make references to DXF. AutoCAD allows to make references to DWG only.
Our libraries support references in DXF to DXF and in DWG to DWG. However at present DXFImport.NET does not support DWG file format. We plan to release it up to the end of the February, 2006.
Sergey.
please post questions to the forum or write to support@cadsofttools.com
AutoCAD does not allow to make references to DXF. AutoCAD allows to make references to DWG only.
Our libraries support references in DXF to DXF and in DWG to DWG. However at present DXFImport.NET does not support DWG file format. We plan to release it up to the end of the February, 2006.
Sergey.
please post questions to the forum or write to support@cadsofttools.com
> Our libraries support references in DXF to DXF and in DWG to DWG.
Are you saying that AutoCAD does not provide the reference data when exporting a DWG file to DXF or that they just don't support it in their application? In other words, if I export a parent DWG file and two attached Xref DWG files from AutoCAD, can I load the three DXF files into your demo viewer and display the complete drawing, or will reference data be missing from the files?
This might be the same question or maybe it's an overly simplistic view of the situation, but if the parent and child DXF files all use World coordinates, wouldn't they match up even if no XRef data is present?
If so, do you have an example in C# of how to load multiple DXF files with CADImport.NET?
Regards,
Fred Chateau
Are you saying that AutoCAD does not provide the reference data when exporting a DWG file to DXF or that they just don't support it in their application? In other words, if I export a parent DWG file and two attached Xref DWG files from AutoCAD, can I load the three DXF files into your demo viewer and display the complete drawing, or will reference data be missing from the files?
This might be the same question or maybe it's an overly simplistic view of the situation, but if the parent and child DXF files all use World coordinates, wouldn't they match up even if no XRef data is present?
If so, do you have an example in C# of how to load multiple DXF files with CADImport.NET?
Regards,
Fred Chateau
Hello,
It means that by XREF (>Xref manager>Attach) command it is possible to insert only DWG file into the current file (even if current file is DXF).
Since a DWG file format is not currently supported in DXFImport .NET, such Xrefs(created in AutoCad) will not be displayed.
It is possible in a DXF file to replace manually (by any text editor) references to DWG file by references to DXF file (a corresponding DXF file must exist).
Or you want us to add an insert interface of DXF file into the current drawing with predefined position, scaling ratio and rotation angle? We can do this because something similar is realized in CADImportVCL (download link: http://cadsofttools.com/download/CADImportVCL.zip, see in demo programm "TextChange+Color2LineWeight" button "Add scaled files"). See this demo and if this is what you want we will write this demo in C# (it will take some time).
Sergey.
please post questions to the forum or write to support@cadsofttools.com
It means that by XREF (>Xref manager>Attach) command it is possible to insert only DWG file into the current file (even if current file is DXF).
Since a DWG file format is not currently supported in DXFImport .NET, such Xrefs(created in AutoCad) will not be displayed.
It is possible in a DXF file to replace manually (by any text editor) references to DWG file by references to DXF file (a corresponding DXF file must exist).
Or you want us to add an insert interface of DXF file into the current drawing with predefined position, scaling ratio and rotation angle? We can do this because something similar is realized in CADImportVCL (download link: http://cadsofttools.com/download/CADImportVCL.zip, see in demo programm "TextChange+Color2LineWeight" button "Add scaled files"). See this demo and if this is what you want we will write this demo in C# (it will take some time).
Sergey.
please post questions to the forum or write to support@cadsofttools.com