Considering page with drawing like a sheet of paper, i want if model "enter" in sheet, automatically flip!
One way to acheive this would be to ensure the 'fixed face' is set to the correct side in the part file. This determines the top face for the flat pattern. If the fixed fax is set consistently to the face that remains flat then the drawing views will remain consistent when you place them on the drawing.
Graphics Systems' SolidNotes: Changing the Fixed Face for a Sheet Metal Flat Pattern
You're right ... I have not thought about it... How can automate this with API?
I believe you are looking for this option which is seems to be missing in API.
Don't think you can automate that but you can flip the view using swView.FlipView
Wow, missed that one. Great catch Deepak! I think you can use DDrawingDocEvents_AddItemNotifyEvent, then check whether new item is a drawing view (EntityType = swNotifyDrawingView). The check if the view is the sheet metal flat pattern (View::IsFlatPatternView) and if this oriented towards the sheet (this may be a bit tricky) and finally call the IView::FlipView. Better to do as add-in rather than macro.
I agree that this would be tricky.
2016 SOLIDWORKS API Help - Get Fixed Face of Flat-Pattern Feature Example (VBA)
I keep thinking ... would not be able to select the desired face with API?
After a set here appears in the drawing directly properly....
Retrieving data ...