Solid Edge Framework Type Library > SolidEdgeTCE Object : DeleteProject Method |
Visual Basic |
---|
Public Sub DeleteProject( _ ByVal bstrProjectName As String _ ) |
Option Explicit Sub Example() Dim objApplication As SolidEdgeFramework.Application Dim objTCE As SolidEdgeFramework.SolidEdgeTCE Dim ProjectName As String Set objApplication = GetObject(, "SolidEdge.Application") Set objTCE = objApplication.SolidEdgeTCE ProjectName = "TEST" Call objTCE.DeleteProject(ProjectName) If Not objApplication Is Nothing Then Call objApplication.Quit End If Set objTCE = Nothing Set objApplication = Nothing End Sub