Category Selection, Object ProSelection

Function ProSelectionDtlsyminstEntitySet


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