 |
PK_PART_remove_geoms |
|
PK_ERROR_code_t PK_PART_remove_geoms
(
--- received arguments ---
PK_PART_t part, --- part to have geoms removed
int n_geoms, --- number of geoms to be removed
const PK_GEOM_t geoms[], --- geoms to be removed from part
--- returned arguments ---
int *const n_removed --- number of geoms removed
)
This function removes from the part's construction geometry, any geometric
entities which are also in the given array of geoms.
Specific Errors:
PK_ERROR_wrong_entity (MILD) 'part' or 'geoms' is not the correct
type
PK_ERROR_not_connected (MILD) geometry not attached to 'part'
PK_ERROR_child_body (MILD) 'part' is a child body