Category Drawings and detail, Object ProDtlentity

Function ProDtlentityDelete


Description
Permanently deletes the specified detail item from the Creo Parametric database.

Note : The function cannot access symbol definitions for special symbols, such as, datum targets or parametric connector symbols.

Synopsis
#include <ProDtlentity.h>
ProErrorProDtlentityDelete(
ProDtlentity* entity
/* (In)
The entity handle.
*/
ProDtlsymdef* symbol
/* (In)
If you are deleting a detail item in the drawing, set the parent to NULL. If you are deleting draft entity in a symbol definition, set the parent to be that symbol definition.
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSInvalid input argument(s).
PRO_TK_GENERAL_ERRORThe function failed.

Manual References:

  1. Drawings: Creating, Modifying and Reading Detail Items
  2. Drawings: Creating, Modifying and Reading Detail Items

Sample Code References:

  1. pt_examples ( TestDtlentity.c )