pycatia.navigator_interfaces.annotated_views¶
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.navigator_interfaces.annotated_views.AnnotatedViews(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionAnnotatedViewsA collection of AnnotatedView objects.The method Product.GetTechnologicalObject (“AnnotatedViews”) on the rootproduct retrieves this collection.- add() → AnnotatedView¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Add() As AnnotatedViewCreates an annotated view using the current viewpoint and adds it to theAnnotatedView collection.Returns:The created AnnotatedViewExample:This example creates a new AnnotatedView in the TheAnnotatedViewscollection.Dim NewAnnotatedView As AnnotatedViewSet NewAnnotatedView = TheAnnotatedViews.Add
- Return type:
- add_from_viewpoint(i_viewpoint: ViewPoint3D) → AnnotatedView¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddFromViewpoint(Viewpoint3D iViewpoint) AsAnnotatedViewCreates an annotated view using a given viewpoint and adds it to theAnnotatedView collection.Parameters:iViewpointThe viewpoint.Returns:The created AnnotatedViewExample:This example creates a new AnnotatedView in the TheAnnotatedViewscollection using aAViewpoint viewpoint object.Dim NewAnnotatedView As AnnotatedViewSet NewAnnotatedView = TheAnnotatedViews.AddFromViewpoint(AViewpoint)
- Parameters:
i_viewpoint (ViewPoint3D) –
- Return type:
- item(i_index: cat_variant) → AnnotatedView¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Item(CATVariant iIndex) As AnnotatedViewReturns an annotated view using its index or its name from theAnnotatedViews collection.Parameters:iIndexThe index or the name of the AnnotatedView to retrieve from thecollection of AnnotatedViews. As a numerics, this index is the rank of theAnnotatedView in the collection. The index of the first AnnotatedView in thecollection is 1, and the index of the last AnnotatedView is Count. As a string,it is the name you assigned to the AnnotatedView.Returns:The retrieved AnnotatedViewExample:This example retrieves in ThisAnnotatedView the ninthAnnotatedView,and in ThatAnnotatedView the AnnotatedView namedAnnotatedView3 from the TheAnnotatedViews collection.Dim ThisAnnotatedView As AnnotatedViewSet ThisAnnotatedView = TheAnnotatedViews.Item(9)Dim ThatAnnotatedView As AnnotatedViewSet ThatAnnotatedView = TheAnnotatedViews.Item(“AnnotatedView3”)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) → None¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub Remove(CATVariant iIndex)Removes an annotated view from the AnnotatedViewscollection.Parameters:iIndexThe index or the name of the AnnotatedView to retrieve from hecollection of AnnotatedViews. As a numerics, this index is the rank of theAnnotatedView in the collection. The index of the first AnnotatedView in thecollection is 1, and the index of the last AnnotatedView is Count. As a string,it is the name you assigned to the AnnotatedView.Example:The following example removes the tenth AnnotatedView and theAnnotatedView namedAnnotatedView2 from the TheAnnotatedViewscollection.TheAnnotatedViews.Remove(10)TheAnnotatedViews.Remove(“AnnotatedView2”)
- Parameters:
i_index (cat_variant) –
- Return type:
None