Category Selection, Object ProSelection

Function ProSelectionDtlsyminstEntityGet


Description
Get entity in symbol instance from selection.
Synopsis
#include <ProDtlsyminst.h>
ProErrorProSelectionDtlsyminstEntityGet(
ProSelection* selection
/* (In)
Selection of the entity in symbol instance.
*/
ProDtlsyminst* symbol
/* (Out)
Symbol instance containing entity.
*/
int* entity_id
/* (Out)
id of the entity.
*/
double* param
/* (Out)
Location of attachment. 0 indicates start of the entity and 1 indicates end of the entity.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSNULL Inputs.
PRO_TK_INVALID_ITEMSelection is not of the entity in symbol instance.
PRO_TK_BAD_CONTEXTSelection is not owned by drawing.