API Reference > OdDg Classes > OdDgSelectionSet Class > OdDgSelectionSet Methods > select Method > OdDgSelectionSet::select Method (OdDgElementId&, int, OdGePoint3d*, OdDbVisualSelection::Mode, OdDbVisualSelection::SubentSelectionMode, OdRxObject*)
OdDgSelectionSet::select Method (OdDgElementId&, int, OdGePoint3d*, OdDbVisualSelection::Mode, OdDbVisualSelection::SubentSelectionMode, OdRxObject*)
Syntax
C++
static OdDgSelectionSetPtr select(const OdDgElementId& vpId, int nPoints, const OdGePoint3d* wcsPts, OdDbVisualSelection::Mode mode = OdDbVisualSelection::kCrossing, OdDbVisualSelection::SubentSelectionMode sm = OdDbVisualSelection::kDisableSubents, const OdRxObject* pFilter = 0);
Parameters 
Description 
const OdDgElementId& vpId 
[in] id of OdDgViewportTableRecord record or OdDgViewport entity in which to select.  
int nPoints 
[in]  
const OdGePoint3d* wcsPts 
[in]  
OdDbVisualSelection::Mode mode = OdDbVisualSelection::kCrossing 
[in]  
const OdRxObject* pFilter = 0 
[in] object of type OdDgSelectionFilter or pointer to a OdResBuf chain defining the filter. 

Filter selection only. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.