DraftingInterfaces DrawingViewGenerativeLinks (Object)
All Frameworks Object Hierarchy This Framework Indexes
DrawingViewGenerativeLinks (Object)
Represents the generative links of a drawing view.
The generative links of a drawing view is an object that manages
the way the generative view points at the 3D document.
Method Index
-
AddLink
- Adds a link to the drawing view.
-
CopyLinksTo
- Copies the links of the drawing view.
-
FirstLink
- Returns the first link of the drawing view.
-
NextLink
- Returns the next link of the drawing view.
-
RemoveAllLinks
- Removes all links of the drawing view.
Methods
-
Adds a link to the drawing view.
- Example:
-
This example adds a link to the Part document MyPartDocument
to the MyView drawing view.
Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
viewLinks.AddLink(MyPartDocument)
o Sub CopyLinksTo( | | iLinks) |
-
Copies the links of the drawing view.
- Example:
-
This example copies the links of the MyView drawing view
to the MyLinks object.
Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
Dim MyLinks As DrawingViewGenerativeLinks
viewLinks.CopyLinksTo(MyLinks)
-
Returns the first link of the drawing view.
- Example:
-
This example retrieves the first link of the MyView drawing view.
Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
Dim firstLink As AnyObject
Set firstLink = MyView.FirstLink()
-
Returns the next link of the drawing view.
- Example:
-
This example retrieves the next link of the MyView drawing view.
Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
Dim nextLink As AnyObject
nextLink = viewLinks.NextLink()
-
Removes all links of the drawing view.
- Example:
-
This example retrieves all links of the MyView drawing view.
Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
viewLinks.RemoveAllLinks()
Copyright © 2003, Dassault Systèmes. All rights reserved.