pObject是Part::Feature的派生类,但此句代码执行时,结果为pObject不是Part::Feature的派生类
if (!pObject->isDerivedFrom(Part::Feature::getClassTypeId())),原因:
1.运行程序加载了多个part.pyd,一个在d:\uelib\libd9下,一个在d:\uelib\mod\part下,调试时,用vs打开模块窗口可以看到:
记录freeCAD开发问题
最新推荐文章于 2024-09-26 19:37:43 发布