Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
pls, how can I change visibility of a plane of a part of an assembly in a drawing view in VBA? I select a part in a view and then I want set visibility of a plane of the choosed part.
I can get the part like this :
Sub p()
Dim doc As DrawingDocument
Set doc = ThisApplication.ActiveDocument
Set selSet = doc.SelectSet(1)
Dim oView As DrawingView
Dim obj As Object
Call doc.ProcessViewSelection(selSet, oView, obj)
'Call oView.SetVisibility(planeYZ, True)
End Sub
But I dont know, how to get planeYZ for setting of the visibility. If it is deep in oView or from the obj?
Thanks
Solved! Go to Solution.