XSIApplication.ExecuteScriptCommand.1.vbs Example
Applies To
Description
This example illustrates how to create a image clip and inspect it using a modal property page.
Code
Dim clip, args args = Array(Application.InstallationPath( siFactoryPath ) & "\Data\XSI_SAMPLES\Pictures\A_Green_Suit.JPG") set clip = ExecuteScriptCommand( "CreateImageClip", args ) On Error Resume Next ExecuteScriptCommand "InspectObj", Array( clip,,,siModal) if Err.Number = siErrCancelled then Application.LogMessage "command cancelled" end if On Error Goto 0
Related Examples
Keywords
XSIApplication ExecuteScriptCommand
Autodesk Softimage 2011