Skip to main content

I'd like to write images to a particular folder ('Image'), then write a .dwg to it's parent folder.

I'd then like the .dwg to hold (relative) external references to each image in the 'Image' folder. So that when the .dwg is opened, wherever it's written, it will display the images from the 'Image' folder.

Is this possible? I have tried writing the rasters as part of the DWG writer, but it just converts them to PNG and writes them into the same folder as the DWG. It also doesn't give any control over the image names - they just have sequential numbers appended (e.g. 'DwgName01.png, DwgName02.png).

Not relevant at this stage, but the workspace will be hosted on FME Server so the external references need to be relative rather than absolute.

Any help appreciated.

HI @ld,

Currently, there is no way to write an Xref that points to an image. You can write a raster feature to DWG using the method that you mentioned above but unfortunately, there is no way to set the file format for the image. An enhancement request has been filed for this according to Dave's answer on the Insert External Reference thread.

I hope this information helps.

- Chris


HI @ld,

Currently, there is no way to write an Xref that points to an image. You can write a raster feature to DWG using the method that you mentioned above but unfortunately, there is no way to set the file format for the image. An enhancement request has been filed for this according to Dave's answer on the Insert External Reference thread.

I hope this information helps.

- Chris

Thanks for definitive answer Chris