PF_QueUserData Function

Returns the user data (real value) registered to the parts coordinates queue

Syntax
PF_QueUserData (part ID [, index])

Parameters

  • Part ID
    Specify the part ID. (Use an integer from 1 to 32.)
  • Index
    Specify the index of the queue data to retrieve as an integer value.
    (the first index number is 0). This can be omitted.

Return values
Returns user data (real value).

Description
PF_QueUserData retrieves the user data from the parts coordinates queue. If the index is omitted, this function will retrieve the initial queue data entry. If an index is specified, part orientation for the specified index will be returned.

Examples

Real r  
r = PF_QueUserData(1, 1)