Click or drag to resize
SoMFEnumEnumTypeSetValuesBuffer Method

Sets the field to contain the num values stored in userData array.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetValuesBuffer(
	int[] userData
)

Parameters

userData
Type: SystemInt32
Remarks

This array will not be copied into the field: it will be directly used by the field. If num and userData are not correctly specified, the results are undefined (and probably undesirable). param num is the number of values that userData contains and must be a positive integer. param userData is an array allocated by malloc or realloc and can be deallocated by free (no constructor or destructor is called). userData must not be NULL. Its size must be at least num*sizeof(valueType).

See Also