IScene3D.Series

Syntax

Series: IScene3DSeries;

Description

The Series property determines parameters of a universal collection of scene series.

NOTE. A universal collection of scene series includes all scene objects (sphere, regular and closed surfaces, named sphere group), but currently the property should be used only to read object properties. Use special collections (interfaces) to edit them.

Example

This example assumes that there is the S object of the IScene3D type and the IntegerEdit component.

Sub User;

Var

S : IScene3D;

series: IScene3DSeries;

serie: IScene3DSerie;

key: integer;

Begin

series := S.Series;

serie := series.Item(IntegerEdit1.Value);

key := serie.Key;

If series.RemoveByKey(key) Then WinApplication.InformationBox("Object deleted");

Else WinApplication.InformationBox("Error during deletion");

End If;

End Sub User;

Executing the example will delete a series based on the specified key.

See also:

IScene3D