Jump to content
Developer Wiki and Function Reference Links ×

Import IFC Data Mapping by SDK


KN_Dabi

Recommended Posts

Dear Community,

 

I am trying to import a IFC Data Mapping Settings File without using the menue IFC Data Mapping. The SDK provides the function gIFC->IFC_LoadMapSettings(TXString("TestALL")).

TestAll.xml is a from IFC Data Mapping exported file. Location is the Userfolder, where all Mapping files are located. The problem is that the function gIFC->IFC_LoadMapSettings does nothing. As return value, I get kVCOMError_NoError, which means the function succeeded. I tried the function also in Phyton-Script. Same behaviour. It seems that it can´t set the imported Data Mapping as the Active Data Mapping (I proved it in the menu IFC Data Mapping). After IFC_LoadMapSettings, I tried gIFC->IFC_SaveMapSettings(TXString("TestA"), "", true), which exports the Active IFC Data Mapping. Also in the export, I see that my loaded mapping is not the active one.

 

How can I set my Mapping File as the active one, without using the menue "IFC Data Mapping"?   

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...