Applies To
InspectObj command
Description
This example demonstrates how to use the InspectObj command.
Code
/*
This example shows how to create a temporary instance of the Self-Installed
Custom Property called "CustomColor".
*/
var oColor = XSIFactory.CreateObject( "CustomColor" )
bCancelled = InspectObj( oColor,null,"Pick your favorite color",siModal,false ) ;
if ( !bCancelled )
{
LogMessage( "You picked " + oColor.Color_R.Value + "," + oColor.Color_G.Value + "," + oColor.Color_B.Value ) ;
}Related Examples
Keywords
InspectObj
Autodesk Softimage 2011