VolumetricGraphics3DSpatialCalculationLevelCollection#
- class ansys.stk.core.stkobjects.VolumetricGraphics3DSpatialCalculationLevelCollection#
Class defining collections of defining Spatial Calculation Boundary/Fill Levels for volumetric grid.
Overview#
Add a new level to the collection. When adding a level with duplicate βValueβ, it will update βColorβ and βTranslucencyβ values of the existing level. |
|
Given an index, returns an element in the collection. |
|
Remove all elements from the collection. |
|
Remove an element from the collection using specified index. |
Import detail#
from ansys.stk.core.stkobjects import VolumetricGraphics3DSpatialCalculationLevelCollection
Property detail#
- property VolumetricGraphics3DSpatialCalculationLevelCollection._new_enum: EnumeratorProxy#
Return an enumerator that can iterate through the collection.
Method detail#
- VolumetricGraphics3DSpatialCalculationLevelCollection.add(self, value: float, color: agcolor.Color, translucency: float) VolumetricGraphics3DSpatialCalculationLevel #
Add a new level to the collection. When adding a level with duplicate βValueβ, it will update βColorβ and βTranslucencyβ values of the existing level.
- VolumetricGraphics3DSpatialCalculationLevelCollection.item(self, level: int) VolumetricGraphics3DSpatialCalculationLevel #
Given an index, returns an element in the collection.
- Parameters:
level :
int
- Returns:
VolumetricGraphics3DSpatialCalculationLevel