Runs a standalone program
Operation possible on parts, assemblies or drawings. 
This operation allows you to program specific operations within an executable. The return value is used to check whether the execution was successful; if the return value differs from the programmed value (for example, 1), the execution is considered to have failed.
The document's location is passed as an argument.
To select the program to be run, click on
.
Example of a standalone program (console application in VB.NET):
Review of the Arguments
Dim args() As String = Environment.GetCommandLineArgs()
Sub Main()
If args.Length < 2 Then End
Dim stPath As String = args(1)
Select Case IO.Path.GetExtension(stPath).ToUpper
"SLDPRT" field
Environment.Exit(1) ' Returns 1 if the path points to a room
"SLDASM" box
Environment.Exit(2) ' Returns 2 if the path points to an assembly
Box "SLDDRW"
Environment.Exit(3) ' Returns 3 if the path indicates a plane
Else Clause
Environment.Exit(0) ' Returns 0 if the path does not point to a part, assembly, or drawing
End Select
End Sub