cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
rubbcs
Contributor

Config IFC Translators Settings by C++

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 Solution

Accepted Solutions
Hiromichi Shinkawa
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.

Go to post

2 Replies 2
Hiromichi Shinkawa
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.

rubbcs
Contributor

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!