Category Drawings and detail, Object ProDtlentity

Function ProDtlentityModify


Description
Modifies any part of the description of an existing detail item. The function does not update the display.

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

Replacement in Object TOOLKIT: pfcDetailEntityItem::Modify
Synopsis
#include <ProDtlentity.h>
ProErrorProDtlentityModify(
ProDtlentity* entity
/* (In)
The drawing handle.
*/
ProDtlsymdef* symbol
/* (In)
If you are modifying a detail item in the drawing, set the parent to NULL. If you are modifying draft entity in a symbol definition, set the parent to be that symbol definition.
*/
ProDtlentitydata entdata
/* (In)
The draft entity data.
*/
)
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 )