Role: It represents the structure of an ENOVIA V6 root object on which it is possible to include some sub components. Its final purpose is to perform a Partial Open on it, showing only the root and the sub components that were previously included. It is managed by .
- See also:
- ,
Methods
- Func GetRoot() As
-
Returns the root ENOVIA V6 Identifier of the CD5Structure.
- Returns:
- The CD5ID. dd>
- Example:
-
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()
- Sub Include( iID)
-
Includes an sub component (identified by its ENOVIA V6 Identifier) for a future Partial Open operation.
- Parameters:
-
- iID
- The ENOIACD5ID of the sub component to include. dd>
- Example:
-
The following example creates a Structure from "RootProduct" and includes the object "IncludedPart".
Dim oCD5Engine As CD5Engine Set oCD5Engine = CATIA.GetItem("CD5Engine") Dim iRootCD5ID, iIncludedCD5ID As CD5ID Set iRootCD5ID = oCD5Engine.GetIDFromTNR("CATProduct For Team", "RootProduct", "---") Set iIncludedCD5ID = oCD5Engine.GetIDFromTNR("CATProduct For Team", "IncludedPart", "---") Dim oCD5Structure As CD5Structure Set oCD5Structure = oCD5Engine.GetStructure(iRootCD5ID) oCD5Structure.Include(iIncludedCD5ID)