Deprecated
6.0
Description
As of v6.0, model sources are no longer used to track changes to reference models. Use the Delta system instead.
Creates and adds a new model source in the sources container.
Scripting Syntax
AddModelSource( [FileName], [Name], [Resolution] )
Parameters
|
Parameter |
Type |
Description |
|
FileName |
Full path of the new model source. Default Value: User is prompted to select |
|
|
Name |
The name to use for the new source. |
|
|
Resolution |
The resolution of the filename. Default Value: siModelResolutionMediumRes |
Return Value
Returns the new model source (a Source object).
Examples
VBScript Example
AddModelSource "s:\project\models\toto.emdl", "MyModelSource", siModelResolutionMediumRes
See Also
SOFTIMAGE|XSI v6.01