Clusters2ObjsAbstract: Creates new objects from all polygonal clusters in a mesh.Description: This tool searches for polygonal clusters in the selected mesh and creates a new mesh based on these clusters by duplicating the mesh and deleting all other components. Working Scenarios: This tool is used for the same purposes as with the “extract from polygons” command, but instead of just retaining the modeling relationship it also preserves all other properties such as UVs, clusters and animation. This is very handy especially if you’re not using XSI 4 where all properties are propagated when you extract polygons. User Usage: Select any polygonal mesh with clusters then run the script. Developer Usage: You can call this tool from any other scripts using the following function call: Clusters2Objects( oObjects ) Where oObjects is an XSI objects collection that contains all objects you want to include in the process. This tool returns true if it succeeds and false if it failed for any reason. Nature: Script Applies To: XSI 3.5 on NT,Win2K,XP Languages: VBScript |