Skip to main content
Solved

Module 'AUTOCAD_OD' is unavailable for use with this FME edition


nielsgerrits
VIP
Forum|alt.badge.img+54

I have a 2016.1.1 workspace, reading from gdb, writing to dwg (Autodesk AutoCAD Map 3D Object Data).

When I run it on Desktop, I get the following errors.

2019-07-03 12:13:55|   5.9|  0.0|WARN  |Library 'D:\apps\fme_2016_1_1_64\plugins/realdwg/REALDWG.dll' was found but could not be loaded. Ensure that all the dependent modules exist for this library
2019-07-03 12:13:55|   5.9|  0.0|ERROR |Module 'AUTOCAD_OD' is unavailable for use with this FME edition
2019-07-03 12:13:55|   5.9|  0.0|ERROR |Module 'AUTOCAD_OD' is unavailable for use with this FME edition
2019-07-03 12:13:55|   5.9|  0.0|ERROR |FeatureWriter_3(WriterFactory): Module 'AUTOCAD_OD' is unavailable for use with this FME edition
2019-07-03 12:13:55|   5.9|  0.0|ERROR |Module 'AUTOCAD_OD' is unavailable for use with this FME edition

When I run it on Server, I get the same errors for some datasets, but not all.

I synced back the production data to my local machine, run the workbench with the same dataset as it works on server, and still get this error.

I think I read something about a similar problem, but can't find where...

Can anyone point me in the right direction?

What I tried:

Original workspace / dummy feature / original featurewriter = fail

Original workspace / create new featurewriter = fail

Original workspace / dummy feature / new featurewriter = fail

New workspace / create dummy feature / new featurewriter = success

New workspace / copy all transformers from old workspace and paste in new workspace = fail

Best answer by daveatsafe

Hi @nielsgerrits,

This problem has been reported before, and was tracked to a DLL version conflict between the geodatabase reader/writer (ArcObjects) and the RealDWG plugin. Unfortunately, we have no control over either library, and so cannot resolve it ourselves.

We have found the best workaround is to have RealDWG called first, since it uses the newest version of the DLL. This is difficult in your case, since you are reading from GDB and writing to AutoCAD. You may need to add a RealDWG reader to your workspace to read an empty DWG file, then move it to the top of the reader list, to ensure it is called first.

View original
Did this help you find an answer to your question?

8 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • July 3, 2019

Hi @nielsgerrits,

This problem has been reported before, and was tracked to a DLL version conflict between the geodatabase reader/writer (ArcObjects) and the RealDWG plugin. Unfortunately, we have no control over either library, and so cannot resolve it ourselves.

We have found the best workaround is to have RealDWG called first, since it uses the newest version of the DLL. This is difficult in your case, since you are reading from GDB and writing to AutoCAD. You may need to add a RealDWG reader to your workspace to read an empty DWG file, then move it to the top of the reader list, to ensure it is called first.


nielsgerrits
VIP
Forum|alt.badge.img+54
daveatsafe wrote:

Hi @nielsgerrits,

This problem has been reported before, and was tracked to a DLL version conflict between the geodatabase reader/writer (ArcObjects) and the RealDWG plugin. Unfortunately, we have no control over either library, and so cannot resolve it ourselves.

We have found the best workaround is to have RealDWG called first, since it uses the newest version of the DLL. This is difficult in your case, since you are reading from GDB and writing to AutoCAD. You may need to add a RealDWG reader to your workspace to read an empty DWG file, then move it to the top of the reader list, to ensure it is called first.

Hey @daveatsafe, thank you very much for your reaction! Going to try the workaround, no issue for me to implement this. Very happy if this works.


nielsgerrits
VIP
Forum|alt.badge.img+54
daveatsafe wrote:

Hi @nielsgerrits,

This problem has been reported before, and was tracked to a DLL version conflict between the geodatabase reader/writer (ArcObjects) and the RealDWG plugin. Unfortunately, we have no control over either library, and so cannot resolve it ourselves.

We have found the best workaround is to have RealDWG called first, since it uses the newest version of the DLL. This is difficult in your case, since you are reading from GDB and writing to AutoCAD. You may need to add a RealDWG reader to your workspace to read an empty DWG file, then move it to the top of the reader list, to ensure it is called first.

Simply adding an Autodesk AutoCAD Map 3D Object Data FeatureReader pointing to nothing did the trick. Thanks again Dave.


nielsgerrits wrote:

Simply adding an Autodesk AutoCAD Map 3D Object Data FeatureReader pointing to nothing did the trick. Thanks again Dave.

Hi @nielsgerrits​ , I know it's a long time ago, but could you elaborate a bit on your solution? I'm running into similar problems (with other dll's). If I understand correctly, your solution was to still read the gdb, and write to the dwg file, but to add an Autodesk AutoCAD Map 3D Object Data FeatureReader in between, that points to nothing.? I'm a bit confused to how that would solve the problem.. Hope you still remember ;)


nielsgerrits
VIP
Forum|alt.badge.img+54
nielsgerrits wrote:

Simply adding an Autodesk AutoCAD Map 3D Object Data FeatureReader pointing to nothing did the trick. Thanks again Dave.

Hej @yannick-m​ , what I did is add a FeatureReader (Autodesk AutoCAD Map 3D Object Data) reading only 1 feature from a small file in the very beginning of the process to force those DLL's being used first. Later in the process I read from SDE and write to GDB / DWG.


nielsgerrits wrote:

Simply adding an Autodesk AutoCAD Map 3D Object Data FeatureReader pointing to nothing did the trick. Thanks again Dave.

Thanks for the quick reply, helps a lot. I have an idea how to solve the issue now.


nielsgerrits
VIP
Forum|alt.badge.img+54
nielsgerrits wrote:

Simply adding an Autodesk AutoCAD Map 3D Object Data FeatureReader pointing to nothing did the trick. Thanks again Dave.

Let me know when I can help more. Curious, which formats are causing this in your process?


nielsgerrits wrote:

Simply adding an Autodesk AutoCAD Map 3D Object Data FeatureReader pointing to nothing did the trick. Thanks again Dave.

I'm having issues with the Module 'ACAD' (ACAD.dll) for AutoCad files, and with the Module 'TEXTLINE' (TEXTLINE.dll) for writing text files.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings