Lea75
Mechanical
- Feb 24, 2009
- 51
Hello, how can I hide a Drawing view with VB6?
For example, the Front View.
Thank you in advance
For example, the Front View.
Thank you in advance
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Option Explicit
Sub HideView()
Dim drwViews As DrawingViews
Set drwViews = CATIA.ActiveDocument.Sheets.ActiveSheet.Views
Dim myView As DrawingView
Set myView = drwViews.Item(3)
Dim sel As Selection
Set sel = CATIA.ActiveDocument.Selection
sel.Clear
sel.Add myView
Dim visProp As VisPropertySet
Set visProp = sel.VisProperties
visProp.SetShow catVisPropertyNoShowAttr
sel.Clear
End Sub