This C++ example demonstrates how to navigate through the ICE attributes of a geometry or property and how to log all attribute values. The sample code uses a C++ class template to log the values and operates with generic ICEAttribute types.
Location | |
Files |
InspectICEAttributes.cpp
InspectICEAttributes.vcproj
GNUmakefile
|
To install the example
Connect to the Softimage SDK workgroup at %XSISDK_ROOT%\examples\workgroup.
To view the help page for an example
To run the InspectICEAttribute example
Softimage SDK includes a compiled version of InspectICEAttributes. If you want to modify the code, you can rebuild the example by following these instructions.
To build the example on Windows
Open a Softimage command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from an Softimage command prompt ensures that environment variables such as XSISDK_ROOT are set (otherwise you'll get build and link errors).
Tip To load the InspectICEAttributes project from the command line, type:
devenv InspectICEAttributes.vcproj
To build the example on Linux
In a shell (tcsh) window, type:
source $XSI_HOME/.xsi_<xsi_version>
Change directories to
cppsrc
To remove all intermediate files before building the example, run this command:
gmake clean
To compile the example, run this command:
gmake
This example uses the following keywords:
C++, ICEAttribute