|
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 |
|