Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: ENOCD5Interfaces CD5Structure (Object)
Cevap:
The following example creates a Structure from "RootProduct" and gets its root identifier.
 

 
Dim
 oCD5Engine 
As
 CD5Engine
 
Set
 oCD5Engine = CATIA.GetItem("CD5Engine")
 
Dim
 iRootCD5ID, oDummyCD5ID 
As
 CD5ID
 
Set
 iRootCD5ID = oCD5Engine.
GetIDFromTNR
("CATProduct For Team", "RootProduct", "---")
 
Dim
 oCD5Structure 
As
 CD5Structure
 
Set
 oCD5Structure = oCD5Engine.
GetStructure
(iRootCD5ID)
 Set oDummyCD5ID = oCD5Structure.
GetRoot
()