Hi,
How can make from this...
to appear like this...
and it's not view focus
I try with rebuild, force rebuild and nothing happens... If is pink i can't insert nothing in that view... My macro insert scketch in drawing view but if is with pik border not work corect..
How can I do?
SolidworksApi macros
the main problem is after i run this
2016 SOLIDWORKS API Help - Insert Weld Symbol Example (VBA)
Hi Hrituc,
Try this following macro.it will unlock all view focus on the sheet.
Sub main()
Dim swApp As SldWorks.SldWorks
Dim swModel As SldWorks.ModelDoc2
Dim swDraw As SldWorks.DrawingDoc
Dim swView As SldWorks.View
Dim swBaseView As SldWorks.View
Dim bRet As Boolean
Set swApp = Application.SldWorks
Set swModel = swApp.ActiveDoc
Set swDraw = swModel
Set swView = swDraw.GetFirstView
Do While Not swView Is Nothing
swView.FocusLocked = False
Set swView = swView.GetNextView
Loop
End Sub
Let me know if you have any query.
You can also try the following to deactivate the view
Thanks,
Artem
Hi Raghvendra,
It not work... The frame remain somewhere between normal and focus... it's annoying!... I succeeded inserting a point in view and then wiping it...
You can double click on view to switch between pink and orange outlines.