This version allows to manage groups and annotated views. WARNING: this method will be DEPRECATED in the next release. It is recommended to use the method
GetTechnologicalObject("AnnotatedViews") on the root product, to retrieve the AnnotatedViews collection.
WARNING: this method will be DEPRECATED in the next release. It is recommended to use the method
GetTechnologicalObject("Groups") on the root product, to retrieve the Groups collection.
WARNING: this method will be DEPRECATED in the next release. It is recommended to use the method
GetTechnologicalObject("Hyperlinks") on the root product, to retrieve the Hyperlinks collection.
WARNING: this method will be DEPRECATED in the next release. It is recommended to use the method
GetTechnologicalObject("Marker3Ds") on the root product, to retrieve the Marker3Ds collection.
Properties
This example retrieves the AnnotatedViews collection of the active document.
Dim TheNavigatorWorkbench As Workbench
Set TheNavigatorWorkbench = CATIA.ActiveDocument.GetWorkbench ( "NavigatorWorkbench" )
Dim TheAnnotatedViewsList As AnnotatedViews
Set TheAnnotatedViewsList = TheNavigatorWorkbench.AnnotatedViews
This example retrieves the Groups collection of the active document.
Dim TheNavigatorWorkbench As Workbench
Set TheNavigatorWorkbench = CATIA.ActiveDocument.GetWorkbench ( "NavigatorWorkbench" )
Dim TheGroupsList As Groups
Set TheGroupsList = TheNavigatorWorkbench.Groups
This example retrieves the Hyperlinks collection of the active document.
Dim TheNavigatorWorkbench As Workbench
Set TheNavigatorWorkbench = CATIA.ActiveDocument.GetWorkbench ( "NavigatorWorkbench" )
Dim HyperlinksList As Hyperlinks
Set HyperlinksList = TheNavigatorWorkbench.Hyperlinks
This example retrieves the Marker3Ds collection of the active document.
Dim TheNavigatorWorkbench As Workbench
Set TheNavigatorWorkbench = CATIA.ActiveDocument.GetWorkbench ( "NavigatorWorkbench" )
Dim TheMarker3DsList As AnnotatedViews
Set TheMarker3DsList = TheNavigatorWorkbench.Marker3Ds
Methods
dd>
This example applies the view of the NewAnnotatedView AnnotatedView.
TheNavigatorWorkbench.View,CatAnnotatedViewCmdOption_NoAnimation+CatAnnotatedViewCmdOption_NoToolbar(NewAnnotatedView)
This example creates an annotated view NewAnnotatedView and returns its position.
Dim TheNavigatorWorkbench As Workbench
Set TheNavigatorWorkbench = CATIA.ActiveDocument.GetWorkbench ( "NavigatorWorkbench" )
Dim NewAnnotatedView As AnnotatedView
Set NewAnnotatedView = TheAnnotatedViews.Add
Dim iOrder As Integer
iOrder = TheNavigatorWorkbench.GetOrder(NewAnnotatedView)
This example creates an annotated view NewAnnotatedView and move it to the first position.
Dim TheNavigatorWorkbench As Workbench
Set TheNavigatorWorkbench = CATIA.ActiveDocument.GetWorkbench ( "NavigatorWorkbench" )
Dim NewAnnotatedView As AnnotatedView
Set NewAnnotatedView = TheAnnotatedViews.Add
TheNavigatorWorkbench.SetOrder NewAnnotatedView, 1
This example applies the view of the NewAnnotatedView AnnotatedView.
TheNavigatorWorkbench.View(NewAnnotatedView)