/// <summary>
/// 批量选择点(框选或者多选)
/// </summary>
/// <param name="points"></param>
public static void SelectPointsByClass(out Point[] points)
{
try
{
workPart = theSession.Parts.Work;
string mes = "框选点";
UFUi.SelectionOption opts = new UFUi.SelectionOption();
UFUi.Mask[] mask = new UFUi.Mask[1];
mask[0].solid_type = UFConstants.UF_UI_SEL_SCOPE_WORK_PART_AND_OCC;
mask[0].object_type = UFConstants.UF_point_type;
mask[0].object_subtype = 0;
opts.other_options = 0;
opts.num_mask_triples = 1;
opts.scope = UFConstants.UF_UI_SEL_SCOPE_WORK_PART_AND_OCC;
opts.mask_triples = mask;
opts.reserved = IntPtr.Zero;
opt