Indexes
+-----------+
| Product |<-----------------+
+-----------+ |
| |
| |
| |
| |
| |
| +-----------------+ |
+-->| Reference Part | |Contextual Link
| +-----------------+ |
| ^ |
| | |
| | Design Link |
| | |
| | |
| +-----------------+ |
+-->| Contextual Part |-----+
+-----------------+
| Child Number | CATIAStiDBItem | Link Type |
|---|---|---|
| Child n°1 | Reference Part | Product Link |
| Child n°2 | Contextual Part | Product Link |
| Child Number | CATIAStiDBItem | Link Type |
|---|---|---|
| Child n°1 | Reference Part | Design Link |
| Child n°2 | Product | Contextual Link |
| Child Number | CATIAStiDBItem | Link Type |
|---|---|---|
| CATIA Link Behavior | Description |
|---|---|
| CATIA Product Link | Defines the basic Product Structure Link -i.e.: the link between either a Product and its Sub-Products or a Product and its Representation |
| CATIA Design Link | Defines Design Link -i.e.: Part to Part Link created with 'Copy/Paste ... with link' or as Contextual Link It can also be used for Link to external Parameters |
| CATIA Design Table Link | Defines the Link to a Design Table |
| CATIA Rule Base Link | Defines the Link to Document defining Rule Base |
| CATIA Downstream Application Link | Defines for instance the Link between a Drawing or an Analysis Document and a Part Document |
| CATIA Contextual Link | Defines the Link from a Part Document to its Context |
| CATIA Result Link | Defines the Link to "Result" document, like Analysis Reports, ... |
| CATIA Is Composed Of Link | Defines a simple "Composed Of" Link, like a Catalog Document Composed Of Sub-Catalog Documents |
| CATIA Reference Link | Defines any kind of Link that does not belong to one type described above including for instance OLE links, Link from a Catalog Document to a Part, Link to Material Document, ... |
| o Property Count( | ) As (Read Only) |
Dim oStiEngine As StiEngine
Set oStiEngine = CATIA.GetItem("CAIEngine")
Dim oStiDBItem As StiDBItem
Set oStiDBItem = oStiEngine.GetStiDBItemFromCATBSTR("E:\CATIAFiles\Assembly.CATProduct")
Dim oStiDBChildren As StiDBChildren
Set oStiDBChildren = oStiDBItem.GetChildren()
(...)
Dim oNbChildren As long
oNbChildren = oStiDBChildren.Count
| o Func Item( | iIndex) As |
Dim oStiEngine As StiEngine
Set oStiEngine = CATIA.GetItem("CAIEngine")
Dim oFatherStiDBItem As StiDBItem
Set oFatherStiDBItem = oStiEngine.GetStiDBItemFromCATBSTR("E:\CATIAFiles\Assembly.CATProduct")
Dim oStiDBChildren As StiDBChildren
Set oStiDBChildren = oFatherStiDBItem.GetChildren()
(...)
Dim oStiDBItem As StiDBItem
Set oStiDBItem = oStiDBChildren.Item(3)
| o Func LinkType( | iIndex) As |
Dim oStiEngine As StiEngine
Set oStiEngine = CATIA.GetItem("CAIEngine")
Dim oFatherStiDBItem As StiDBItem
Set oFatherStiDBItem = oStiEngine.GetStiDBItemFromCATBSTR("E:\CATIAFiles\Assembly.CATProduct")
Dim oStiDBChildren As StiDBChildren
Set oStiDBChildren = oFatherStiDBItem.GetChildren()
(...)
Dim oLinkType As CATBSTR
oLinkType = oStiDBChildren.LinkType(3)
Copyright © 2006, Dassault Systèmes. All rights reserved.