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

public const string IFCEngineDLL = @"IFCEngine.dll";

[DllImport(IFCEngineDLL, EntryPoint = "engiSetComment")]
public static extern void engiSetComment(Int64 instance, string comment);

[DllImport(IFCEngineDLL, EntryPoint = "engiSetComment")]
public static extern void engiSetComment(Int64 instance, byte[] 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.