API Reference > OdDb Classes > OdDbSelectionSet Class > OdDbSelectionSet Methods > select Method > OdDbSelectionSet::select Method (OdDbObjectId&, int, OdGePoint3d*, OdDbVisualSelection::Mode, OdUInt32, OdRxObject*)
OdDbSelectionSet::select Method (OdDbObjectId&, int, OdGePoint3d*, OdDbVisualSelection::Mode, OdUInt32, OdRxObject*)
Syntax
C++
static OdDbSelectionSetPtr select(const OdDbObjectId& vpId, int nPoints, const OdGePoint3d* wcsPts, OdDbVisualSelection::Mode mode = OdDbVisualSelection::kCrossing, OdUInt32 sm = OdDbVisualSelection::kDisableSubents, const OdRxObject* pFilter = 0);
Parameters 
Description 
const OdDbObjectId& vpId 
[in] id of OdDbViewportTableRecord record or OdDbViewport entity in which to select.  
int nPoints 
[in] Number of points into selection shape.  
const OdGePoint3d* wcsPts 
[in] Selection shape as set of World Coordinate Space points.  
OdDbVisualSelection::Mode mode = OdDbVisualSelection::kCrossing 
[in] Selection mode.  
OdUInt32 sm = OdDbVisualSelection::kDisableSubents 
[in] Subentities selection mode.  
const OdRxObject* pFilter = 0 
[in] object of type OdDbSelectionFilter or pointer to a OdResBuf chain defining the filter. 

Filter selection only. 

 

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