Hi,
I'm try to delete a sheet in a draw, but SW doesn't want. But, manually it's possible...
I use the same sentence of "swxJRNL.swj" :
Set Part = swApp.NewDocument("E:\\DESSIN\\3D\\Template\\Modèles\\FORMAT A.slddrt", 12, 0.2159, 0.2794)
swApp.ActivateDoc2 "Mise en plan2 - STR", False, longstatus
Set Part = swApp.ActiveDoc
Set myModelView = Part.ActiveView
myModelView.FrameState = swWindowState_e.swWindowMaximized
Part.ViewZoomtofit2
Part.EditDelete
But, when it is in macro ".swp" : nothing
Can you help me
Jacques
SolidworksApi macros