Description
Exports an XSICollection to a .obj file.
Scripting Syntax
SIObjExport( Object, FileName, CoordinateSystem, Tesselation, Material, UV, UserNormal )
Parameters
|
Parameter |
Type |
Description |
|
Object |
Object Collection to Export |
|
|
FileName |
Name of the output .obj file |
|
|
CoordinateSystem |
Select type of hierarchy to be import( none / Null as Parent / Model as Parent |
|
|
Tesselation |
Tesselate |
|
|
Material |
Export Material |
|
|
UV |
Export UVs |
|
|
UserNormal |
Export UserNormals |
Examples
VBScript Example
CreatePrim "Sphere", "MeshSurface"
set oColl = CreateObject("XSI.Collection")
oColl.Add "Sphere"
SIObjExport oColl, "c:\fooSphere", 1, False, True, True
'VERBOSE : Wavefront OBJ Export: c:\fooSphere.obj
'VERBOSE : Exporting material: sphere.Scene_MaterialAutodesk Softimage v7.5