vcanim.gif (8357 bytes)SWC_sceneSave
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


SWC_sceneSave

Save a scene

SWC_sceneSave is a library function which allows users to save scene presenting in context passed to procedure. Input data is a context array name. If the procedure succeeds then the scene is saved. Otherwise, an error is returned.

package require SWC

SWC_sceneSave context
context

Scene-Specific Attributes

AttributeName Get Set Fcrvs AttributeType Description
sceneName Y Y N string Name of the scene. This is a pathless file-name.
sceneID Y Y N string This is the name of the scene structure. This name may be passed to any SAA routine which requires a scene.
databaseRsrcFile Y Y N string Full name of the database resource file that the database is in.
databaseName Y Y N string This is the full name of the database directory. This name may be passed to any SAA routine which requires a database name.
databaseID Y Y N string This is the name of the database structure. This name may be passed to any SAA routine which requires a database.

Return Value

If SWC_sceneSave succeeds then it returns nothing. If this procedure encounters an error it will return an error string message in the TK console window.

Side Effects

none

Examples

SWC_elementGet MyContext
Elem4
SWC_fcurveCreate MyContext Position
ElemArray5.0 ElemArray5.1 ElemArray5.2
SWC_sceneSave MyContext

This example displays SWC windows to select, allocate and load an element and corresponding information, such as the database resource file name, database and scene. Call the SWC_fcurveCreate function to create fcurves of the attribute Position for the element presenting in MyContext. Save the scene presenting in MyContext.

See Also

SWC_sceneGet
SWC_sceneGetCurrent

Behaviors Overview ] Behavior Evaluate ] Behavior Edit ] Debugger ] Console ] Find ] SAA Library ] SW library ] SWC library ] SWN library index ] SWU library ] Attributes Index ] Scripting Examples ]

copyright Video-Collage Inc.