pycatia.drafting_interfaces.drawing_view_generative_links¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.drafting_interfaces.drawing_view_generative_links.DrawingViewGenerativeLinks(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchDrawingViewGenerativeLinksRepresents the generative links of a drawing view.The generative links of a drawing view is an object that manages the way thegenerative view points at the 3D document.- add_link(i_link: AnyObject) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub AddLink(AnyObject iLink)Adds a link to the drawing view.Example:This example adds a link to the Part document MyPartDocument to theMyView drawing view.Dim viewLinks As DrawingViewGenerativeLinksSet viewLinks = MyView.GenerativeLinksviewLinks.AddLink(MyPartDocument)
- Parameters:
i_link (AnyObject) –
- Return type:
None
- copy_links_to(i_links: DrawingViewGenerativeLinks) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub CopyLinksTo(DrawingViewGenerativeLinks iLinks)Copies the links of the drawing view.Example:This example copies the links of the MyView drawing view to the MyLinksobject.Dim viewLinks As DrawingViewGenerativeLinksSet viewLinks = MyView.GenerativeLinksDim MyLinks As DrawingViewGenerativeLinksviewLinks.CopyLinksTo(MyLinks)
- Parameters:
i_links (DrawingViewGenerativeLinks) –
- Return type:
None
- first_link() AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func FirstLink() As AnyObjectReturns the first link of the drawing view.Example:This example retrieves the first link of the MyView drawingview.Dim viewLinks As DrawingViewGenerativeLinksSet viewLinks = MyView.GenerativeLinksDim firstLink As AnyObjectSet firstLink = MyView.FirstLink()
- Return type:
- next_link() AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func NextLink() As AnyObjectReturns the next link of the drawing view.Example:This example retrieves the next link of the MyView drawingview.Dim viewLinks As DrawingViewGenerativeLinksSet viewLinks = MyView.GenerativeLinksDim nextLink As AnyObjectnextLink = viewLinks.NextLink()
- Return type:
- remove_all_links() None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub RemoveAllLinks()Removes all links of the drawing view.Example:This example retrieves all links of the MyView drawingview.Dim viewLinks As DrawingViewGenerativeLinksSet viewLinks = MyView.GenerativeLinksviewLinks.RemoveAllLinks()
- Return type:
None