Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MEMatthew Elgie28/10/2015
I can't seem to find the correct function to create a projected view from a selected view programmatically. Does anyone know what the function is? All of my searching only gives me back "Link to Parent Configuration" but that is only for ALREADY created projected views.
This is what my Macro Recording gives me, yet when I try to apply it in my VB.Net application, it does nothing.
Dim SldView As View = SldDrw.CreateFlatPatternViewFromModelView3(SldModel.GetPathName, swConfig.Name, (sheetHeight / 4) * 3, sheetWidth / 4, 0, False, False)
Dim childView As View = SldDrw.CreateUnfoldedViewAt3(SldModel.GetPathName, sheetHeight / 4, SldView.Position(1), False)