HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Attributes

Functions

HAPI_DECL HAPI_GetAttributeInfo (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeOwner owner, HAPI_AttributeInfo *attr_info)
 Get the attribute info struct for the attribute specified by name. More...
 
HAPI_DECL HAPI_GetAttributeNames (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_AttributeOwner owner, HAPI_StringHandle *attribute_names_array, int count)
 Get list of attribute names by attribute owner. Note that the name string handles are only valid until the next time this function is called. More...
 
HAPI_DECL HAPI_GetAttributeIntData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, int *data_array, int start, int length)
 Get attribute integer data. More...
 
HAPI_DECL HAPI_GetAttributeIntArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More...
 
HAPI_DECL HAPI_GetAttributeUInt8Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_UInt8 *data_array, int start, int length)
 Get attribute unsigned 8-bit integer data. More...
 
HAPI_DECL HAPI_GetAttributeUInt8ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_UInt8 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute unsigned 8-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More...
 
HAPI_DECL HAPI_GetAttributeInt8Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int8 *data_array, int start, int length)
 Get attribute 8-bit integer data. More...
 
HAPI_DECL HAPI_GetAttributeInt8ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_Int8 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute 8-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More...
 
HAPI_DECL HAPI_GetAttributeInt16Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int16 *data_array, int start, int length)
 Get attribute 16-bit integer data. More...
 
HAPI_DECL HAPI_GetAttributeInt16ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_Int16 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute 16-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More...
 
HAPI_DECL HAPI_GetAttributeInt64Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int64 *data_array, int start, int length)
 Get attribute 64-bit integer data. More...
 
HAPI_DECL HAPI_GetAttributeInt64ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_Int64 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute 64-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More...
 
HAPI_DECL HAPI_GetAttributeFloatData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, float *data_array, int start, int length)
 Get attribute float data. More...
 
HAPI_DECL HAPI_GetAttributeFloatArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, float *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute float data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More...
 
HAPI_DECL HAPI_GetAttributeFloat64Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, double *data_array, int start, int length)
 Get 64-bit attribute float data. More...
 
HAPI_DECL HAPI_GetAttributeFloat64ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, double *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute 64-bit float data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More...
 
HAPI_DECL HAPI_GetAttributeStringData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_array, int start, int length)
 Get attribute string data. Note that the string handles returned are only valid until the next time this function is called. More...
 
HAPI_DECL HAPI_GetAttributeStringArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute string data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. Note that the string handles returned are only valid until the next time this function is called. More...
 
HAPI_DECL HAPI_GetAttributeDictionaryData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_array, int start, int length)
 Get attribute dictionary data. More...
 
HAPI_DECL HAPI_GetAttributeDictionaryArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length)
 Get array attribute dictionary data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More...
 
HAPI_DECL HAPI_AddAttribute (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info)
 Add an attribute. More...
 
HAPI_DECL HAPI_DeleteAttribute (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info)
 Delete an attribute from an input geo. More...
 
HAPI_DECL HAPI_SetAttributeIntData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_array, int start, int length)
 Set attribute integer data. More...
 
HAPI_DECL HAPI_SetAttributeUInt8Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_array, int start, int length)
 Set unsigned 8-bit attribute integer data. More...
 
HAPI_DECL HAPI_SetAttributeInt8Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_array, int start, int length)
 Set 8-bit attribute integer data. More...
 
HAPI_DECL HAPI_SetAttributeInt16Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_array, int start, int length)
 Set 16-bit attribute integer data. More...
 
HAPI_DECL HAPI_SetAttributeInt64Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_array, int start, int length)
 Set 64-bit attribute integer data. More...
 
HAPI_DECL HAPI_SetAttributeFloatData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_array, int start, int length)
 Set attribute float data. More...
 
HAPI_DECL HAPI_SetAttributeFloat64Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_array, int start, int length)
 Set 64-bit attribute float data. More...
 
HAPI_DECL HAPI_SetAttributeStringData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_array, int start, int length)
 Set attribute string data. More...
 
HAPI_DECL HAPI_SetAttributeIndexedStringData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **string_array, int string_count, const int *indices_array, int indices_start, int indices_length)
 Set attribute string data by index. More...
 
HAPI_DECL HAPI_SetAttributeStringUniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char *data_array, int data_length, int start_index, int num_indices)
 Set multiple attribute string data to the same unique value. More...
 
HAPI_DECL HAPI_SetAttributeIntUniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_array, int data_length, int start_index, int num_indices)
 Set multiple attribute int data to the same unique value. More...
 
HAPI_DECL HAPI_SetAttributeUInt8UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_array, int data_length, int start_index, int num_indices)
 Set multiple attribute unsigned 8-bit int data to the same unique value. More...
 
HAPI_DECL HAPI_SetAttributeInt8UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_array, int data_length, int start_index, int num_indices)
 Set multiple attribute 8-bit int data to the same unique value. More...
 
HAPI_DECL HAPI_SetAttributeInt16UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_array, int data_length, int start_index, int num_indices)
 Set multiple attribute 16-bit int data to the same unique value. More...
 
HAPI_DECL HAPI_SetAttributeInt64UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_array, int data_length, int start_index, int num_indices)
 Set multiple attribute 64-bit int data to the same unique value. More...
 
HAPI_DECL HAPI_SetAttributeFloatUniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_array, int data_length, int start_index, int num_indices)
 Set multiple attribute float data to the same unique value. More...
 
HAPI_DECL HAPI_SetAttributeFloat64UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_array, int data_length, int start_index, int num_indices)
 Set multiple attribute 64-bit float data to the same unique value. More...
 
HAPI_DECL HAPI_SetAttributeDictionaryData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_array, int start, int length)
 Set attribute dictionary data. The dictionary data should be provided as JSON-encoded strings. More...
 
HAPI_DECL HAPI_SetAttributeIntArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 
HAPI_DECL HAPI_SetAttributeUInt8ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 
HAPI_DECL HAPI_SetAttributeInt8ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 
HAPI_DECL HAPI_SetAttributeInt16ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 
HAPI_DECL HAPI_SetAttributeInt64ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 
HAPI_DECL HAPI_SetAttributeFloatArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 
HAPI_DECL HAPI_SetAttributeFloat64ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 
HAPI_DECL HAPI_SetAttributeStringArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 Set attribute string array data. More...
 
HAPI_DECL HAPI_SetAttributeDictionaryArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length)
 Set attribute dictionary array data. The dictionary data should be provided as JSON-encoded strings. More...
 

Detailed Description

Functions for working with attributes.

Function Documentation

HAPI_DECL HAPI_AddAttribute ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info 
)

Add an attribute.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo stores attribute properties.
HAPI_DECL HAPI_DeleteAttribute ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info 
)

Delete an attribute from an input geo.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo stores attribute properties.
HAPI_DECL HAPI_GetAttributeDictionaryArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
HAPI_StringHandle data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute dictionary data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.

Dictionary data is serialized as JSON-encoded strings. Note that the string handles returned are only valid until the next time this function is called.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for the. totalArrayElements. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn HAPI_StringHandle array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeDictionaryData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
HAPI_StringHandle data_array,
int  start,
int  length 
)

Get attribute dictionary data.

Dictionary data is serialized as JSON-encoded strings. Note that the string handles returned are only valid until the next time this function is called.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_arrayAn HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeFloat64ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
double *  data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute 64-bit float data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for the. totalArrayElements. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn 64-bit float array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeFloat64Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
int  stride,
double *  data_array,
int  start,
int  length 
)

Get 64-bit attribute float data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]strideSpecifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size. Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride.
[out]data_arrayAn 64-bit float array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeFloatArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
float data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute float data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn float array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeFloatData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
int  stride,
float data_array,
int  start,
int  length 
)

Get attribute float data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]strideSpecifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size. Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride.
[out]data_arrayAn float array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeInfo ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeOwner  owner,
HAPI_AttributeInfo attr_info 
)

Get the attribute info struct for the attribute specified by name.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]ownerAttribute owner.
[out]attr_infoHAPI_AttributeInfo to be filled. Check HAPI_AttributeInfo::exists to see if this attribute exists.
HAPI_DECL HAPI_GetAttributeInt16ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
HAPI_Int16 data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute 16-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn 16-bit integer array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeInt16Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
int  stride,
HAPI_Int16 data_array,
int  start,
int  length 
)

Get attribute 16-bit integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]strideSpecifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size. Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride.
[out]data_arrayAn 16-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeInt64ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
HAPI_Int64 data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute 64-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn 64-bit integer array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeInt64Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
int  stride,
HAPI_Int64 data_array,
int  start,
int  length 
)

Get attribute 64-bit integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]strideSpecifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size. Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride.
[out]data_arrayAn 64-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeInt8ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
HAPI_Int8 data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute 8-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn 8-bit integer array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeInt8Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
int  stride,
HAPI_Int8 data_array,
int  start,
int  length 
)

Get attribute 8-bit integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]strideSpecifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size. Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride.
[out]data_arrayAn 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeIntArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
int data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn integer array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeIntData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
int  stride,
int data_array,
int  start,
int  length 
)

Get attribute integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]strideSpecifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size. Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride.
[out]data_arrayAn integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeNames ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
HAPI_AttributeOwner  owner,
HAPI_StringHandle attribute_names_array,
int  count 
)

Get list of attribute names by attribute owner. Note that the name string handles are only valid until the next time this function is called.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]ownerThe HAPI_AttributeOwner enum value specifying the owner of the attribute.
[out]attribute_names_arrayArray of ints (string handles) to house the attribute names. Should be exactly the size of the appropriate attribute owner type count in HAPI_PartInfo.
[in]countSanity check count. Must be equal to the appropriate attribute owner type count in HAPI_PartInfo.
HAPI_DECL HAPI_GetAttributeStringArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
HAPI_StringHandle data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute string data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. Note that the string handles returned are only valid until the next time this function is called.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for the. totalArrayElements. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn HAPI_StringHandle array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeStringData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
HAPI_StringHandle data_array,
int  start,
int  length 
)

Get attribute string data. Note that the string handles returned are only valid until the next time this function is called.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_arrayAn HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeUInt8ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
HAPI_UInt8 data_fixed_array,
int  data_fixed_length,
int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Get array attribute unsigned 8-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[out]data_fixed_arrayAn unsigned 8-bit integer array at least the size of HAPI_AttributeInfo::totalArrayElements.
[in]data_fixed_lengthMust be HAPI_AttributeInfo::totalArrayElements.
[out]sizes_fixed_arrayAn integer array at least the size of sizes_fixed_length to hold the size of each entry.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_GetAttributeUInt8Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
HAPI_AttributeInfo attr_info,
int  stride,
HAPI_UInt8 data_array,
int  start,
int  length 
)

Get attribute unsigned 8-bit integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe node id.
[in]part_idThe part id.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]strideSpecifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size. Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride.
[out]data_arrayAn unsigned 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start. Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS.
HAPI_DECL HAPI_SetAttributeDictionaryArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const char **  data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Set attribute dictionary array data. The dictionary data should be provided as JSON-encoded strings.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the dictionary values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeDictionaryData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const char **  data_array,
int  start,
int  length 
)

Set attribute dictionary data. The dictionary data should be provided as JSON-encoded strings.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeFloat64ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const double *  data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)
Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the double values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeFloat64Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const double *  data_array,
int  start,
int  length 
)

Set 64-bit attribute float data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn 64-bit float array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeFloat64UniqueData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const double *  data_array,
int  data_length,
int  start_index,
int  num_indices 
)

Set multiple attribute 64-bit float data to the same unique value.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayA floating point array at least the size of HAPI_AttributeInfo::tupleSize.
[in]data_lengthAn integer of at least the size of HAPI_AttributeInfo::tupleSize.
[in]start_indexFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]num_indicesMust be at least 0 and at most HAPI_AttributeInfo::count - start_index.
HAPI_DECL HAPI_SetAttributeFloatArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const float data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)
Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the float values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeFloatData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const float data_array,
int  start,
int  length 
)

Set attribute float data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn float array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeFloatUniqueData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const float data_array,
int  data_length,
int  start_index,
int  num_indices 
)

Set multiple attribute float data to the same unique value.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayA floating point array at least the size of HAPI_AttributeInfo::tupleSize.
[in]data_lengthAn integer of at least the size of HAPI_AttributeInfo::tupleSize.
[in]start_indexFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]num_indicesMust be at least 0 and at most HAPI_AttributeInfo::count - start_index.
HAPI_DECL HAPI_SetAttributeIndexedStringData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const char **  string_array,
int  string_count,
const int indices_array,
int  indices_start,
int  indices_length 
)

Set attribute string data by index.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]string_arrayAn array of strings at least the size of string_count/tt>.
[in]string_count Number of strings that are indexed.
[in]indices_array integer array at least the size of length * HAPI_AttributeInfo::tupleSize. Each entry indexes string_array.
[in]indices_start First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]indices_length Must be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeInt16ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int16 data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)
Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the HAPI_Int16 values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeInt16Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int16 data_array,
int  start,
int  length 
)

Set 16-bit attribute integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn 16-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeInt16UniqueData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int16 data_array,
int  data_length,
int  start_index,
int  num_indices 
)

Set multiple attribute 16-bit int data to the same unique value.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayA integer array at least the size of HAPI_AttributeInfo::tupleSize.
[in]data_lengthAn integer of at least the size of HAPI_AttributeInfo::tupleSize.
[in]start_indexFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]num_indicesMust be at least 0 and at most HAPI_AttributeInfo::count - start_index.
HAPI_DECL HAPI_SetAttributeInt64ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int64 data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)
Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the HAPI_Int64 values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeInt64Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int64 data_array,
int  start,
int  length 
)

Set 64-bit attribute integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn 64-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeInt64UniqueData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int64 data_array,
int  data_length,
int  start_index,
int  num_indices 
)

Set multiple attribute 64-bit int data to the same unique value.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayA integer array at least the size of HAPI_AttributeInfo::tupleSize.
[in]data_lengthAn integer of at least the size of HAPI_AttributeInfo::tupleSize.
[in]start_indexFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]num_indicesMust be at least 0 and at most HAPI_AttributeInfo::count - start_index.
HAPI_DECL HAPI_SetAttributeInt8ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int8 data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)
Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the HAPI_Int8 values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeInt8Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int8 data_array,
int  start,
int  length 
)

Set 8-bit attribute integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeInt8UniqueData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_Int8 data_array,
int  data_length,
int  start_index,
int  num_indices 
)

Set multiple attribute 8-bit int data to the same unique value.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayA integer array at least the size of HAPI_AttributeInfo::tupleSize.
[in]data_lengthAn integer of at least the size of HAPI_AttributeInfo::tupleSize.
[in]start_indexFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]num_indicesMust be at least 0 and at most HAPI_AttributeInfo::count - start_index.
HAPI_DECL HAPI_SetAttributeIntArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const int data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)
Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the int values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeIntData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const int data_array,
int  start,
int  length 
)

Set attribute integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeIntUniqueData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const int data_array,
int  data_length,
int  start_index,
int  num_indices 
)

Set multiple attribute int data to the same unique value.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayA integer array at least the size of HAPI_AttributeInfo::tupleSize.
[in]data_lengthAn integer of at least the size of HAPI_AttributeInfo::tupleSize.
[in]start_indexFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]num_indicesMust be at least 0 and at most HAPI_AttributeInfo::count - start_index.
HAPI_DECL HAPI_SetAttributeStringArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const char **  data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)

Set attribute string array data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the string values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeStringData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const char **  data_array,
int  start,
int  length 
)

Set attribute string data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeStringUniqueData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const char *  data_array,
int  data_length,
int  start_index,
int  num_indices 
)

Set multiple attribute string data to the same unique value.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayA string
[in]data_lengthMust be the length of string data.
[in]start_indexMust be at least 0 and at most HAPI_AttributeInfo::count - start.
[in]num_indicesMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeUInt8ArrayData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_UInt8 data_fixed_array,
int  data_fixed_length,
const int sizes_fixed_array,
int  start,
int  sizes_fixed_length 
)
Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo that contains the description for the attribute that is being set.
[in]data_fixed_arrayAn array containing the HAPI_UInt8 values of the attribute.
[in]data_fixed_lengthThe total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute.
[in]sizes_fixed_arrayAn array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]sizes_fixed_lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeUInt8Data ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_UInt8 data_array,
int  start,
int  length 
)

Set unsigned 8-bit attribute integer data.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayAn unsigned 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize.
[in]startFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]lengthMust be at least 0 and at most HAPI_AttributeInfo::count - start.
HAPI_DECL HAPI_SetAttributeUInt8UniqueData ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_PartId  part_id,
const char *  name,
const HAPI_AttributeInfo attr_info,
const HAPI_UInt8 data_array,
int  data_length,
int  start_index,
int  num_indices 
)

Set multiple attribute unsigned 8-bit int data to the same unique value.

Parameters
[in]sessionThe session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe SOP node id.
[in]part_idCurrently not used. Just pass 0.
[in]nameAttribute name.
[in]attr_infoHAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo().
[in]data_arrayA integer array at least the size of HAPI_AttributeInfo::tupleSize.
[in]data_lengthAn integer of at least the size of HAPI_AttributeInfo::tupleSize.
[in]start_indexFirst index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1.
[in]num_indicesMust be at least 0 and at most HAPI_AttributeInfo::count - start_index.