How to export DXF/DWG 2D files into STEP/SCS?

Not sure if this is a Communicator or an Exchange server question.

I can’t find anywhere on how to do this. I tried running the converter from /authoring/converter/bin/linux64but it gave me an error:

[09/22/2025 11-23-08-000 D:0 PID:43463 M:1264MB]ERROR 0: This file appears to contain only 2D information. Exporting to 3D formats is not supported.

How do you convert DXF/DWG 2D or 3D files to STEP/SCS files on exchange? Is this possible? Or are we stuck for only supporting 3D files as input?

Thank you!

Edit: There is also something called ImportExport.cpp in HOOPS_Exchange_Publish_2024.5.0/samples/exchange/exchangesource. Can this be used? How do I use this?

Edit 2:
Tried following these instructions 1. Set Up Your Environment — HOOPS Exchange Documentation

ran:
~/Downloads/HOOPS_Exchange_Publish_2024.5.0_Lin/HOOPS_Exchange_Publish_2024.5.0/samples/exchange/exchangesource/ImportExport$ ./ImportExport ..\samples\data\catiaV5_Aquo Bottle.CATProduct ..\samples\data\catiaV5_Aquo Bottle.CATProduct.prc

Got this error:

ERROR: ../../../../bin/linux64/libA3DLIBS.so: cannot open shared object file: No such file or directory
sHoopsExchangeLoader.m_eSDKStatus returned error -1

Even though libA3DLIBS.so file is present in that folder…

Last question first… :smiley:

You need to put the path to the .so in the LD_LIBRARY_PATH environment variable.

Converter (and Exchange) support 2D formats but you can’t ask it to create a 3D model from 2D data.

Try using the --drawings_mode option (cf. Converter Application — HOOPS Communicator Documentation).