KitchenDraw SDK 2
Show / Hide Table of Contents

Method GetFinishTypeByName

GetFinishTypeByName(string)

Gets finish type from the finishes config by its name. Throws an exception if given name doesn't exist in finishes config.

Declaration
public Scene.Object.FinishType GetFinishTypeByName(string finishTypeName)
Parameters
Type Name Description
string finishTypeName
Returns
Type Description
Scene.Object.FinishType
Exceptions
Type Condition
Sdk2Exception

Thrown if there is no finish type with given name in the finishes config. You can use TryGetFinishTypeByName(string, out FinishType) to avoid this exception.

In this article
Back to top Generated by DocFX