Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to include plane in a drawing View

1 REPLY 1
SOLVED
Reply
Message 1 of 2
markstruck
557 Views, 1 Reply

How to include plane in a drawing View

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?

 

1 REPLY 1
Message 2 of 2

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report