GetTaggedObjectVector返回为空
我用block UI的面收集器选取面,然后用如下代码提取:PropertyList* FaceSelectProps = face_sampling->GetProperties();
std::vector<NXOpen::TaggedObject *> faces = FaceSelectProps->GetTaggedObjectVector("SelectedObjects");
char str;
sprintf_s(str, "%d", faces.size());
uc1601(str, 1);
但是无论选几个面最后得到的都是0,然后UG会崩溃,查原因有说VS和UG版本不匹配,求高人指点,非常感谢!
页:
[1]