How to include plane in a drawing View

How to include plane in a drawing View

Anonymous
Not applicable
696 Views
1 Reply
Message 1 of 2

How to include plane in a drawing View

Anonymous
Not applicable

I have adrawing view with many recurring instances of the same part. I want to include the "XY Plane of each of these occurrences using the API. My code appears to be correct but the projected planes just won't show up. I get an error when I try to include the plane that is not normal the the view so I know it is doing something. Any suggestions?

 

0 Likes
Accepted solutions (1)
697 Views
1 Reply
Reply (1)
Message 2 of 2

philippe.leefsma
Alumni
Alumni
Accepted solution

Did you try to replace

 

     Call oDrawingDoc.Sheets(1).DrawingViews(1).SetVisibility(oWPpx, False)

 

with

 

     Call oDrawingDoc.Sheets(1).DrawingViews(1).SetVisibility(oWPpx, True)

 

The code works fine on my side.

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

0 Likes