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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
DrawingViewGenerativeLinks

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.
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 the
MyView drawing view.

Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
viewLinks.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 MyLinks
object.

Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
Dim MyLinks As DrawingViewGenerativeLinks
viewLinks.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 AnyObject

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()
Return type:

AnyObject

next_link() → AnyObject¶

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Func NextLink() As AnyObject

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()
Return type:

AnyObject

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 drawing
view.

Dim viewLinks As DrawingViewGenerativeLinks
Set viewLinks = MyView.GenerativeLinks
viewLinks.RemoveAllLinks()
Return type:

None

Logo

Navigation

Contents:

  • Installation
  • Getting Started
  • Create And Run A Script
  • Windows Builds
  • Examples
  • User Scripts

Programmer Reference:

  • pycatia API Tree
  • API

Related Topics

  • Documentation overview
    • API
      • pycatia.drafting_interfaces
        • Previous: pycatia.drafting_interfaces.drawing_view_generative_behavior
        • Next: pycatia.drafting_interfaces.drawing_views

Quick search

©2026, Paul Bourne. | Powered by Sphinx 7.2.6 & Alabaster 0.7.16 | Page source