KitchenDraw SDK 2
Show / Hide Table of Contents

Method New

New(UnitType, double, double, double)

Creates a new scene.

Declaration
[Obsolete]
public void New(Appli.UnitType measurementUnit, double dimensionX, double dimensionY, double dimensionZ)
Parameters
Type Name Description
Appli.UnitType measurementUnit
double dimensionX
double dimensionY
double dimensionZ
Remarks

This method is obsolete. Use New(bool, bool, bool) instead.

Only one scene can be created or loaded in memory at the same time. Such a scene is called the current scene.

Exceptions
Type Condition
Sdk2Exception

If there's not enough memory to create the scene.

New(bool, bool, bool)

Creates a new scene.

Declaration
public bool New(bool showSceneInformationDialog = true, bool showGenericFinishesDialog = true, bool showInitialDimensionsDialog = true)
Parameters
Type Name Description
bool showSceneInformationDialog
bool showGenericFinishesDialog
bool showInitialDimensionsDialog
Returns
Type Description
bool

false if user interrupted the creation of the new scene.

Remarks

Only one scene can be created or loaded in memory at the same time. Such a scene is called the current scene.

In this article
Back to top Generated by DocFX