AnsweredAssumed Answered

How can use the sheet metal export to DXF/DWG to select a right, front or top view in my macro?

Question asked by Jason Martin on May 16, 2017
Latest reply on Aug 24, 2017 by Jason Martin

I have used the macro for the 6.0 Beta in this forum Batch export to dwg and it works perfectly for everything that I need. I'm using SW2016

But, How can I add to this macro to include a specific view of either front, right, or top? The manual way of sheet metal converting to dxf/dwg allows you to specify a view, but how can I get that in the macro?

 

Sorry, but I have very limited experience with the API.

I have recorded a macro to find where the information is that I'm looking for but I'm not sure how to add it to my macro.

 

Set myView = Part.CreateDrawViewFromModelView3("C:\Users\51-3-2297.SLDPRT", "*Right", 0, 0, 0)

Outcomes