Graphics3DPointableElementsCollection#

class ansys.stk.core.stkobjects.Graphics3DPointableElementsCollection#

List of Pointable Elements.

Overview#

item

Given an index, returns an element in the collection.

remove_at

Remove an element from the collection using specified index.

remove_all

Remove all elements from the collection.

add

Add a new element to the collection.

sort

Re-orders pointable elements.

count

Return the number of elements in a collection.

_new_enum

Return an enumerator that can iterate through the collection.

Import detail#

from ansys.stk.core.stkobjects import Graphics3DPointableElementsCollection

Property detail#

property Graphics3DPointableElementsCollection.count: int#

Return the number of elements in a collection.

property Graphics3DPointableElementsCollection._new_enum: EnumeratorProxy#

Return an enumerator that can iterate through the collection.

Method detail#

Graphics3DPointableElementsCollection.item(self, index: int) Graphics3DPointableElementsElement#

Given an index, returns an element in the collection.

Parameters:

index : int

Returns:

Graphics3DPointableElementsElement

Graphics3DPointableElementsCollection.remove_at(self, index: int) None#

Remove an element from the collection using specified index.

Parameters:

index : int

Returns:

None

Graphics3DPointableElementsCollection.remove_all(self) None#

Remove all elements from the collection.

Returns:

None

Graphics3DPointableElementsCollection.add(self) Graphics3DPointableElementsElement#

Add a new element to the collection.

Returns:

Graphics3DPointableElementsElement

Graphics3DPointableElementsCollection.sort(self) None#

Re-orders pointable elements.

Returns:

None