几何尺寸与公差论坛

 找回密码
 注册
查看: 953|回复: 0

【转帖】pdmwe api question get configuration from iedmreference5

[复制链接]
发表于 2009-4-12 22:01:05 | 显示全部楼层 |阅读模式
pdmwe api question: get configuration from iedmreference5
pdmwe api question
we have a sldasm file (a.sldasm) who references another one (b.sldasm) 3 times (so the reference count is 3).
(each of those 3 times occurs in a different configuration of the b.sldasm file.
our pourpose is building a treeview in an external application representing exactly the structure of the a.sldasm file and its children.
this means that the a.sldasm file node is supposed to have 3 child nodes (b.sldasm) each one representing one of the given configurations.
we are using the iedmreference5 or 6 interface and by a recursive function we reached our goal althought we had to iterate 3 times in order to show the 3 children nodes because despite of the child (b.sldasm) occurs three times, the interface of course see it only once.
our problem is that we can not access the configuration of the three occurences, we'would need a sort of collections of refs (3 as the refcount property exposes) in order to retrieve for each one of them the configuration used.
as long as we tried we never found an object who could help us and we are near to
build an object by ourselves that querying the vault_sql_db (xrefs, xrefsconfiguration... tables) will be able to retrieve those infos.
does another easier method exist to get it?
thanks.
e.c.
use the bom interfaces of epdm 2009.
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 15:10 , Processed in 0.035509 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表