Eyeon:Script/Reference/Applications/Fusion/Classes/Composition/Save

From VFXPedia

< Eyeon:Script | Reference | Applications | Fusion | Classes | Composition
Revision as of 02:14, 5 September 2011 by Izyk (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Composition : Save

Arguments

Save ( compname )

  • compname(required, string)

a string containing the complete path and name of the composition to be saved.

Returns

This function does not return a value.

Remarks

This function causes the composition to be saved to disk. The compname argument must specify a path relative to the filesystem of the Fusion which is saving the composition. In other words - if system 'a' is using the Save() function to instruct a Fusion on system 'b' to save a composition, the path provided must be valid from the perspective of system 'b'

Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

-- connect to Fusion and create a new  
composition
 
fusion = Fusion("localhost")'''
 
 composition =
fusion:NewComp()'''
 
-- set the new  composition
to active
 
SetActiveComp(composition)'''
 
-- add a bg tool
 
bg1 = Background()'''
 
-- save the composition
 
composition:Save("C:\\Fusion\\Compositions\\example.comp")'''
 
-- close the composition
 
composition:Close()


Tips for Save (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Composition/Save