KitchenDraw SDK 2
Show / Hide Table of Contents

Method RemoveGeneric

RemoveGeneric(Generic)

Removes given generic from the current scene.

Declaration
public void RemoveGeneric(Scene.Generic generic)
Parameters
Type Name Description
Scene.Generic generic

The generic to remove.

Remarks

Caution! The internal implementation of Generic class is based in generic ranks in the scene generics list. Because of that, using InsertGeneric(string, Generic) and RemoveGeneric(Generic) methods invalidates the internal structure of the existing generic instances, and you may get data from foreign generic while reading Generic class instance properties. Please be aware of that and recreate Generic class instances if necessary after you insert/delete generics in the scene.

In this article
Back to top Generated by DocFX