We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Config IFC Translators Settings by C++

rubbcs
Contributor

Hi,

I am new on Archicad C++ API and using Archicad 26.

As I would like to design a workflow to export IFC, I found "ACAPI_Automate(APIDo_SaveID, &fsp, &pars_ifc)" can be used to select IFC translator and save as IFC.

However, i cannot find any way to change the IFC translator's setting by C++ API. For example, to change the "Property Mapping" setting shown as attached image. 

 

May I know that is it possible to change the IFC translator setting by C++ API or have any other way? 

Thank you for your time and help.


mapping.png
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
LChen
Graphisoft
Graphisoft

Hi,

You can get a translator list using following code:

GS::Array<API_IFCTranslatorIdentifier> ifcExportTranslators;
lastErr = ACAPI_IFC_GetIFCExportTranslatorsList (ifcExportTranslators);

But, as I know, you cannot change the mapping setting of those translator.

HTH.

View solution in original post

2 REPLIES 2
Solution
LChen
Graphisoft
Graphisoft

Hi,

You can get a translator list using following code:

GS::Array<API_IFCTranslatorIdentifier> ifcExportTranslators;
lastErr = ACAPI_IFC_GetIFCExportTranslatorsList (ifcExportTranslators);

But, as I know, you cannot change the mapping setting of those translator.

HTH.

Got it thank you!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!