# IRiProject Interface Reference

Inherits IDispatch, and IDispatch.

List of all members.

## Public Member Functions
HRESULT | Save ([in] BSTR bszProjectFileName)
HRESULT | Load ([in] BSTR bszProjectFileName)
HRESULT | Save ([in] BSTR bszProjectFileName)
HRESULT | Load ([in] BSTR bszProjectFileName)

## Detailed Description

Through IRiProject interface you can access the projects serialization. For more serialization functions

See also:
  IRiFileIOItem in the FileIO package.

Root-level name in the scripting engine's name space: RsProject

## Member Function Documentation

HRESULT IRiProject::Save | ( | [in] BSTR | bszProjectFileName | ) |

Save current scene and windows layout into project file.

Parameters:

  | bszProjectFileName | - Specify the project filename/full filepath. You should use standard Rosetta extension RsPrj

Returns:
  A Standard error code

HRESULT IRiProject::Load | ( | [in] BSTR | bszProjectFileName | ) |

Replace current scene and windows layout by specified project file.

Parameters:

  | bszProjectFileName | - Specify the project filename/full filepath.

Returns:
  A Standard error code

HRESULT IRiProject::Save | ( | [in] BSTR | bszProjectFileName | ) |

Save current scene and windows layout into project file.

Parameters:

  | bszProjectFileName | - Specify the project filename/full filepath. You should use standard Rosetta extension RsPrj

Returns:
  A Standard error code

HRESULT IRiProject::Load | ( | [in] BSTR | bszProjectFileName | ) |

Replace current scene and windows layout by specified project file.

Parameters:

  | bszProjectFileName | - Specify the project filename/full filepath.

Returns:
  A Standard error code