Method LoadCatalogScene
LoadCatalogScene(string)
Loads a catalog presentation scene.
Declaration
public void LoadCatalogScene(string catalogFilename)
Parameters
Type | Name | Description |
---|---|---|
string | catalogFilename | Filename of the catalog whose presentation scene should be loaded. |
Remarks
Catalog presentation scene is a scene that only stores drawing style, generic finishes and vignettes presentation parameters for a particular catalog.
This scene is created in the catalogs folder when one of the dialogs from "Catalog|3D drawings" Mobiscript window submenu is applied. The scene has the same name as the catalog.
If there's no presentation scene for the catalog, an empty scene is created in memory. Once loaded, the presentation scene becomes the current scene. Because of that, you can apply the functions of Scene class to read and write information. You should eventually save the scene with SaveCatalogScene(string) method.
If you want to export the catalog block images in some particular model and colours, you should load the presentation scene and setup your preferences prior to exporting.
Exceptions
Type | Condition |
---|---|
Sdk2Exception | If presentation scene file is not found or there's not enough memory to load the presentation scene. |