VolumetricGraphics3DSpatialCalculationLevelCollection#
- class ansys.stk.core.stkobjects.VolumetricGraphics3DSpatialCalculationLevelCollection#
Class defining collections of defining Spatial Calculation Boundary/Fill Levels for volumetric grid.
Overview#
Given an index, returns an element in the collection. |
|
Remove an element from the collection using specified index. |
|
Remove all elements from the collection. |
|
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. |
Import detail#
from ansys.stk.core.stkobjects import VolumetricGraphics3DSpatialCalculationLevelCollection
Property detail#
- property VolumetricGraphics3DSpatialCalculationLevelCollection.count: int#
Return the number of elements in a collection.
- property VolumetricGraphics3DSpatialCalculationLevelCollection._new_enum: EnumeratorProxy#
Return an enumerator that can iterate through the collection.
Method detail#
- VolumetricGraphics3DSpatialCalculationLevelCollection.item(self, level: int) VolumetricGraphics3DSpatialCalculationLevel #
Given an index, returns an element in the collection.
- Parameters:
level :
int
- Returns:
VolumetricGraphics3DSpatialCalculationLevel
- VolumetricGraphics3DSpatialCalculationLevelCollection.remove_at(self, level: int) None #
Remove an element from the collection using specified index.
- VolumetricGraphics3DSpatialCalculationLevelCollection.remove_all(self) None #
Remove all elements from the collection.
- Returns:
- 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.