Does anyone know of or have a macro that they are willing to share that detects the view on the current sheet and locks all view positions ?
Thank you in advance.
Check if these help
Dim swApp As SldWorks.SldWorks
Dim swDraw As SldWorks.DrawingDoc
Dim swView As SldWorks.View
Set swApp = Application.SldWorks
Set swDraw = swApp.ActiveDoc
Set swView = swDraw.GetFirstView
Do While Not swView Is Nothing
swView.PositionLocked = True
Set swView = swView.GetNextView
Short and sweet and does the job.
Thank you most kindly.
Have a nice one
Retrieving data ...