engiSetComment

This call can be used to add a comment to an instance when exporting the content. The comment is available in the exported/saved IFC file.

Syntax

//   Visual Studio for Windows
public:
void __declspec(dllexport) __stdcall engiSetComment(
            __int64 instance,
            char    * comment
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
void engiSetComment(
            int64_t instance,
            char    * comment
        );    

Property instance

Size: 64 bit / 8 byte (value)
Handle of an instance within an IFC file, for example #31313 = IFCWALLSTANDARDCASE(...)

Property comment

Size: 64 bit / 8 byte (reference)
A string value that will be included in the exported IFC file as comment to the instance.

Examples

Here you can find code snippits that show how the API call engiSetComment can be used.