[英]Extract CAD from Windchill PLM
I am trying to retrieve the CAD model of a part in order to store it in an external application. 我试图检索零件的CAD模型以便将其存储在外部应用程序中。
I started doing that with info*engine. 我开始使用info * engine。 With info*engine i can retrieve the history of a part, or link two parts together but i didn't find a way to extract the part from windchill.
使用info * engine,我可以检索零件的历史记录,或将两个零件链接在一起,但是我找不到从windchill中提取零件的方法。
Any one have an idea how to proceed? 有人知道如何进行吗? Is the use of info*engine the correct way to do that?
使用info * engine是正确的方法吗?
You can do this by Windchill specific API in your java code. 您可以通过Java代码中特定于Windchill的API来执行此操作。 Info*engine not needed.
无需信息*引擎。
QueryResult qresult = PersistenceHelper.manager.navigate(prt, EPMBuildRule.ROLE_AOBJECT_ROLE, EPMBuildRule.class, true);
Here prt
is your wtpart which have cad data in it. 在这里,
prt
是您的wtpart,其中包含cad数据。
还有一个带有静态方法的帮助程序类,可以帮助您:
EPMDocument[] epmDocs = ObjectDependencyUtility.getAssociated(part);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.