 |
PK_PART_delete_attribs |
|
PK_ERROR_code_t PK_PART_delete_attribs
(
--- received arguments ---
PK_PART_t part, --- part within which to delete
--- attributes
int n_attdefs, --- number of attribute
--- definitions (> 0)
const PK_ATTDEF_t attdefs[], --- attribute definitions
const PK_PART_delete_attribs_o_t *options, --- options
--- returned arguments ---
int *const n_deleted --- number of attributes
--- deleted (>= 0)
)
This function deletes attributes of given attribute definitions from entities
within the given 'part'.
Specific Errors:
PK_ERROR_child_body (MILD) 'part' is a child body
The attribute definitions of attributes to be deleted are given in the array
'attdefs'. If any of the definitions is PK_ENTITY_null, all attributes
are deleted, regardless of definition. If the 'part' is an assembly, only the
attributes directly attached to the assembly and its instances are deleted.
The subset of entities from which to delete attributes may be specified in
'options'.
The function returns the number of such attributes deleted.