PK_PART_ask_all_attdefs   

PK_ERROR_code_t     PK_PART_ask_all_attdefs
(
--- received arguments ---
PK_PART_t           part,           --- part

--- returned arguments ---
int          *const n_attdefs,      --- number of attdefs (>= 0)
PK_ATTDEF_t **const attdefs         --- attdefs (optional)
)


This function returns the attribute definitions of all the attributes attached
to entities within the given part. If the part is an assembly, only the
attribute definitions of attributes directly attached to the assembly and its
instances are returned.


Specific Errors:
    PK_ERROR_child_body             (MILD) 'part' is a child body


If there is more than one attribute in the part with a given definition, then
that definition is only returned once.

The output array 'attdefs' is optional. If it is set to NULL, the function
will only compute the number of different attribute definitions used within
the part.