std::vector<NXOpen::TaggedObject*> tSel = point0->GetProperties()->GetTaggedObjectVector("SelectedObjects");
tag_t staCurve = 0, endCurve = 0;
int n_parents;
tag_p_t parents;
for (int i = 0; i < tSel.size(); i++) {
UF_SO_ask_parents(tSel[i]->Tag(), UF_SO_ASK_ALL_PARENTS, &n_parents, &parents);
for (int i = 0; i < n_parents; i++)
{
int type = 0, subtype = 0;
UF_OBJ_ask_type_and_subtype(parents[i], &type, &subtype);
if (type == UF_line_type || type == UF_spline_type || type == UF_circle_type) {
staCurve = parents[i];//像截面选择器一样返回一