I am writing a macro where user select the hidden line in drawing view
then user selects hidden line immediately after this I want to call convert entities property page manager
so that line will be created on view
Sub main()
Set swApp = _
Application.SldWorks
Set Part = swApp.ActiveDoc
Set swModel = swApp.ActiveDoc
Set Part = swModel
Set swModelDocExt = swModel.Extension
Set swModelView = swModel.GetFirstModelView
Set TheMouse = swModelView.GetMouse
obj.init TheMouse
Part.ClearSelection2 True
swApp.SendMsgToUser "PLEASE SELECT THE VIEW"
boolstatus = Part.ActivateView("")
boolstatus = Part.Extension.SelectByID2("", "DRAWINGVIEW", 0, 0, 0, False, 0, Nothing, 0)
Part.ViewDisplayHiddengreyed
swApp.SendMsgToUser "SELECT THE LINE\LINES 2 CONVERT"
'''''''here I want to call property page manager dialog''''''''''''''
end sub
SolidworksApi macros