Description
Generates a UV projection where the UV coordinates on the polygon meshes are set such that no two polygons overlap in the UV domain.
Note: This command uses output arguments. C# and some scripting languages (such as JScript, PerlScript and Python) don't support arguments passed by reference so you need to use the best workaround for your situation:
For scripting languages this command returns an ISIVTCollection which you can use to get the output arguments.
For C# you can use the XSIApplication.ExecuteCommand method to call this command. ExecuteCommand packs the output arguments into a C# System.Object containing an Array of the output arguments (see Calling Commands from C#).
Scripting Syntax
GenerateUniqueUVs( [InputObjs], PropertyName, [LowU], [LowV], [Width], [Height], [SpaceU], [SpaceV], [Properties] )
Parameters
|
Parameter |
Type |
Description |
|
InputObjs |
List of objects to which the texture support is applied. Default Value: Selected objects |
|
|
PropertyName [in/out] |
Name for the texture projection name. Returns the actual name. |
|
|
LowU |
The U value of the left side of the target bounding box. Default Value: 0 |
|
|
LowV |
The V value of the bottom of the target bounding box. Default Value: 0 |
|
|
Width |
Positive Double |
The width of the target bounding box. Default Value: 1 |
|
Height |
Positive Double |
The height of the target bounding box. Default Value: 1 |
|
SpaceU |
The minimum spacing in U between disjoint polygons. Default Value: 0 |
|
|
SpaceV |
The minimum spacing in V between disjoint polygons. Default Value: 0 |
|
|
Properties [out] |
UV Property |
The set of created properties. |
Autodesk Softimage v7.5