Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CATSmarTeamIntegInterfaces StiDBItem (Object)
Cevap:
The following example returns in 
ochildrenList
 both all the Children 
 and their Link Types with their CATIAStiDBItem Father 
oStiDBItem
.
 

 
Dim
 oStiDBItem 
As
 StiDBItem
 
Dim
 ochildrenList 
As StiDBChildren

 
Set
 ochildrenList = oStiDBItem.
GetChildren

 
Dim
 lChildrenNumber 
As
 long
 lChildrenNumber = ochildrenList.Count
 
For
 i = 1 
To
 lChildrenNumber
    
Dim
 oChildStiDBItem 
As
 StiDBItem
    
Set
 oChildStiDBItem = ochildrenList.Item(i)
    
Dim
 sChildLinkType 
As
 CATBSTR
    sChildLinkType = ochildrenList.LinkType(i)
 
Next