*idw part visibility

*idw part visibility

Anonymous
Not applicable
345 Views
2 Replies
Message 1 of 3

*idw part visibility

Anonymous
Not applicable
I am looking for some pointers on where to start on finding Browser nodes in an *.idw. Do I need to select the view first then sort throught the nodes to find a part match..? Basically I am looking to write some vba code to turn part visibility on and off. Trying to find the part in the browser and then RMB to turn off visibility is getting old..
Thanks
wayne
0 Likes
346 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

You need to use the DrawingView.SetVisibility
method. In your case, the first input argument to the method should be a
specific ComponentOccurrence object that you obtain from the assembly referenced
by the drawing view.

 

Sanjay-
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks Sanjay, works like a charm!!
Wayne
0 Likes