Features::TubeBuilder从Block UI获取路径pathsection()的问题

ruilinhua 1年前 347 0

//从Block UI(截面构建器)获取曲线,赋值给vector <NXOpen::TaggedObject *>类型变量tagObjArray

NXOpen::BlockStyler::PropertyList* SectionToTubeproplist = SectionToTube->GetProperties();
std::vector<NXOpen::TaggedObject *>tagObjArray = SectionToTubeproplist->GetTaggedObjectVector("SelectedObjects");

NXOpen::Features::Feature* nullFeatures_Feature = NULL;
NXOpen::Features::TubeBuilder* tubeBuilder1 = workPart->Features()->CreateTubeBuilder(nullFeatures_Feature);

//定义管道路径

tubeBuilder1->PathSection()->AddToSection();

到这一步需要如何把tagObjArray对应的曲线转成管道路径?

求大神指导!

谢谢。

0

承接UG NX二次开发、功能定制、毕业设计、疑难解决、远程培训,胡君QQ:85585969
最新回复 (0)
请登录后发表新帖