InspectObj.6.js Example

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

InspectObj.7.js

InspectObj.1.vbs

InspectObj.2.vbs

InspectObj.3.vbs

InspectObj.4.vbs

InspectObj.5.vbs

Keywords

InspectObj


Autodesk Softimage 2011