Load Recipe

Parent Previous Next

Load Recipe

Function to load a recipe document.


Syntax:

Void Load(String RecipeFile):
Load the Recipe located in the default path.


Void Load(String RecipeFile, String Path):
Load the Recipe located in the Path passed as parameter.

Params:

String RecipeFile: A String parameter containing the name of the Recipe Document that will be loaded.

String Path: A String parameter containing a Path where the Recipe is located.


Example:

Load the Recipe Document named 'Recipe1' located in the default path.

  


SVRecipe.Load("Recipe1");

 


Load the Recipe Document named 'Recipe1' in the path 'C:\Recipes\recipe1.rpf'

  


SVRecipe.Load("Recipe1","C:\\Recipes\\recipe1.rpf");

 



 

 Note: The Parameter Path should have the name of the file with the extension .rpf