sdaiFindInstanceUsedInBN

The function returns the identifiers of all the entity instances in the defined domain that reference the specified entity instance by the specified attribute (with roleName). Technically sdaiFindInstanceUsedInBN will transform into the following call sdaiFindInstanceUsedIn( instance, sdaiGetAttrDefinition( sdaiGetInstanceType( instance ), roleName ), domain, resultList );

Syntax

public const string ifcenginedll = @"ifcengine.dll";

[DllImport(IFCEngineDLL, EntryPoint = "sdaiFindInstanceUsedInBN")]
public static extern Int64 sdaiFindInstanceUsedInBN(int_t instance, string roleName, int_t domain, int_t resultList);

[DllImport(IFCEngineDLL, EntryPoint = "sdaiFindInstanceUsedInBN")]
public static extern Int64 sdaiFindInstanceUsedInBN(int_t instance, byte[] roleName, int_t domain, int_t resultList);    

Property instance

Size: 64 bit / 8 byte (value)
...

Property roleName

Size: 64 bit / 8 byte (reference)
???.

Property domain

Size: 64 bit / 8 byte (reference)
???.

Property resultList

Size: 64 bit / 8 byte (reference)
???.