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

Questions about IFC_predefinedtype GDL parameters ?

Nader Belal
Mentor
Hi there,

As many of you may know IFC_predefinedtype is an Archicad predefined integer parameter to communicate the library part with the Archicad's IFC add-on.

Does any of you have an insight for the values' definition of IFC_predefinedtype in your API documentation? Because I have checked the GDL references in PDF and online and there is nothing.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Nader Belal
Mentor
Hi there,

I'm putting the answer to this question, based on @Akos Somorjai recomendation.
Péter Baksa wrote:

I got some clarification from the developers:

An IFC translator has a "Type Mapping" preset, where a classification-based or element-based rule set can be defined. In the template shipped with AC, the classification system "ARCHICAD Classification" is set up to work with the IFC translators, always defining an IFC type and Predefined Type. Using these translators, IFC_predefinedtype has no effect.

When an IFC translator is set up to use element mapping, the mapping is not customizable by the user, and depends on the AC version. For AC23 this document shows two MEP element types where IFC_predefinedtype is handled by the translator. On the AC side, these parameters are handled by the MEP add-on.

So IFC_predefinedtype is retired, it exists in GDL elements only for compatibility.
source: http://gdl.graphisoft.com/forums/topic/questions-about-ifc_predefinedtype-gdl-parameters/#post-18588
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

View solution in original post

3 REPLIES 3
Akos Somorjai
Graphisoft
Graphisoft
Hi,

This is more of a question for the https://gdl.graphisoft.com forums.

Sorry, Akos
Nader Belal
Mentor
Thank you Akos
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
Solution
Nader Belal
Mentor
Hi there,

I'm putting the answer to this question, based on @Akos Somorjai recomendation.
Péter Baksa wrote:

I got some clarification from the developers:

An IFC translator has a "Type Mapping" preset, where a classification-based or element-based rule set can be defined. In the template shipped with AC, the classification system "ARCHICAD Classification" is set up to work with the IFC translators, always defining an IFC type and Predefined Type. Using these translators, IFC_predefinedtype has no effect.

When an IFC translator is set up to use element mapping, the mapping is not customizable by the user, and depends on the AC version. For AC23 this document shows two MEP element types where IFC_predefinedtype is handled by the translator. On the AC side, these parameters are handled by the MEP add-on.

So IFC_predefinedtype is retired, it exists in GDL elements only for compatibility.
source: http://gdl.graphisoft.com/forums/topic/questions-about-ifc_predefinedtype-gdl-parameters/#post-18588
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.