Question

XRef in DWG from template

  • 16 May 2017
  • 1 reply
  • 10 views

Badge

Dear users of FME,

The main question is short and of the kind 'yes/no':

 

When writing to a .dwg file (creating a new one), using an existing template .dwg, is it possible for the external references from the template to be incorporated in the new .dwg?

Especially when making use of relative pathways in the external references?

 

 

Also, would it be possible to create attributes like 'autocad_xref_path' and 'autocad_xref_name' to manually specify an external reference when writing to a new .dwg?

 

 

I have been trying out both cases but none seem to work.

 

 

Looking forward to your opinions!

1 reply

Badge +6

Hello @jneujens,

 

I am no AutoCAD expert by any means, but a quick review of our documentation on External references shows this is possible I believe. You should be able to specify the attributes such as autocad_xref_path and autocad_xref_name to point to the external references, you could also expose these attributes to see if they are picked up from the template by the writer.

This documentation page may help you with this process: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/acad/external_references.htm

 

 

I hope that helps.

Reply