API 文档 > Sketches and sections > Object ProSection > Function ProSectionEntityGetSelected
Function ProSectionEntityGetSelected
Description
Get the selection reference of the entity
Synopsis
#include <ProSection.h>
ProSectionEntityGetSelected
(
ProSection handle
/* (In)
The section handle
*/
int entity_id
/* (In)
The entity identifier
*/
/* (In)
selected point type.
*/
/* (In)
location on the entity geometry (may be NULL)
*/
int idx_pnt
/* (In)
Index of interpolation spline point (PRO_VALUE_UNUSED if not a spline entity) Used interpolation point instead pnt in creation ProSelection if idx_pnt is set up.
*/
ProSelection* p_ref_entity
/* (Out)
The allocated selection object.
*/
)
Returns
The function successfully executed.
One or more of the input arguments are invalid.
Sample Code References
User Guide References
这对您有帮助吗?