Represents a table of discrete field data. More...
Public Member Functions | |
| __init__ (self, _api.DiscreteField discreteField) | |
| int | AddColumn (self, str name) |
| Create a new column with the given name. | |
| None | AddPointRow (self, Vector3d pointId) |
| Create an empty row in a point-based table. | |
| None | DeleteAllRows (self) |
| Delete all rows for this discrete field. | |
| None | DeleteColumn (self, int columnId) |
| Delete a specified column for this discrete field. | |
| None | DeletePointRow (self, Vector3d pointId) |
| Delete a specific row for a point-based table. | |
| None | DeleteRow (self, int entityId) |
| Delete a specific row for a non-point-based table. | |
| None | DeleteRowsAndColumns (self) |
| Delete all rows and columns for this discrete field. | |
| float|None | ReadNumericCell (self, int entityId, int columnId) |
| Valid only for non-point-based discrete fields containing scalar or vector data. | |
| float|None | ReadNumericCell (self, item1=None, item2=None) |
| | None` | |
| float|None | ReadNumericCell (self, Vector3d pointId, int columnId) |
| Valid only for point-based discrete fields containing scalar or vector data. | |
| str | ReadStringCell (self, int entityId, int columnId) |
| Valid only for non point-based discrete fields containing string-based data. | |
| str | ReadStringCell (self, item1=None, item2=None) |
| str | ReadStringCell (self, Vector3d pointId, int columnId) |
| Valid only for point-based discrete fields containing string-based data. | |
| None | SetColumnName (self, int columnId, str name) |
| None | SetNumericValue (self, int entityId, int columnId, float value) |
| None | SetNumericValue (self, item1=None, item2=None, item3=None) |
| None | SetNumericValue (self, Vector3d pointId, int columnId, float value) |
| None | SetNumericValues (self, dict[int, tuple[float]] valuesByEntityId) |
| Set real values for entity based discrete fields in bulk. | |
| None | SetNumericValues (self, dict[Vector3d, tuple[float]] valuesByPoint) |
| Set real values for point based discrete fields in bulk. | |
| None | SetNumericValues (self, item1=None) |
| None | SetStringValue (self, int entityId, int columnId, str value) |
| None | SetStringValue (self, item1=None, item2=None, item3=None) |
| None | SetStringValue (self, Vector3d pointId, int columnId, str value) |
| None | SetStringValues (self, dict[int, tuple[str]] valuesByEntityId) |
| Set string values for entity based discrete fields in bulk. | |
| None | SetStringValues (self, dict[Vector3d, tuple[str]] valuesByPoint) |
| Set string values for point based discrete fields in bulk. | |
| None | SetStringValues (self, item1=None) |
| Public Member Functions inherited from hyperx.api.IdNameEntityRenameable | |
| __init__ (self, _api.IdNameEntityRenameable idNameEntityRenameable) | |
| None | Rename (self, str name) |
| Public Member Functions inherited from hyperx.api.IdNameEntity | |
| __init__ (self, _api.IdNameEntity idNameEntity) | |
| Public Member Functions inherited from hyperx.api.IdEntity | |
| __init__ (self, _api.IdEntity idEntity) | |
Properties | |
| ColumnCount = property | |
| Columns = property | |
| Lookup of Columns by Id, Name. | |
| DataType = property | |
| PhysicalEntityType = property | |
| PointIds = property | |
| Get a list of the points for a Discrete Field (point-based only). | |
| RowCount = property | |
| RowIds = property | |
| Get a list of the entity IDs for a Discrete Field (not point-based). | |
| Properties inherited from hyperx.api.IdNameEntity | |
| Name = property | |
| Properties inherited from hyperx.api.IdEntity | |
| Id = property | |
Additional Inherited Members | |
| Protected Attributes inherited from hyperx.api.IdEntity | |
| _Entity = idEntity | |
Represents a table of discrete field data.
| hyperx.api.DiscreteField.__init__ | ( | self, | |
| _api.DiscreteField | discreteField ) |
| int hyperx.api.DiscreteField.AddColumn | ( | self, | |
| str | name ) |
Create a new column with the given name.
Returns the Id of the newly created column Not valid for discrete fields containing vector data.
| None hyperx.api.DiscreteField.AddPointRow | ( | self, | |
| Vector3d | pointId ) |
Create an empty row in a point-based table.
| None hyperx.api.DiscreteField.DeleteAllRows | ( | self | ) |
Delete all rows for this discrete field.
| None hyperx.api.DiscreteField.DeleteColumn | ( | self, | |
| int | columnId ) |
Delete a specified column for this discrete field.
Columns are 1-indexed. Not valid for discrete fields containing vector data.
| None hyperx.api.DiscreteField.DeletePointRow | ( | self, | |
| Vector3d | pointId ) |
Delete a specific row for a point-based table.
| None hyperx.api.DiscreteField.DeleteRow | ( | self, | |
| int | entityId ) |
Delete a specific row for a non-point-based table.
| None hyperx.api.DiscreteField.DeleteRowsAndColumns | ( | self | ) |
Delete all rows and columns for this discrete field.
Not valid for discrete fields containing vector data.
| float | None hyperx.api.DiscreteField.ReadNumericCell | ( | self, | |
| int | entityId, | ||
| int | columnId ) |
Valid only for non-point-based discrete fields containing scalar or vector data.
| float | None hyperx.api.DiscreteField.ReadNumericCell | ( | self, | |
| item1 = None, | |||
| item2 = None ) |
| None`
Valid only for non-point-based discrete fields containing scalar or vector data.
| None`
Valid only for point-based discrete fields containing scalar or vector data.
| float | None hyperx.api.DiscreteField.ReadNumericCell | ( | self, | |
| Vector3d | pointId, | ||
| int | columnId ) |
Valid only for point-based discrete fields containing scalar or vector data.
| str hyperx.api.DiscreteField.ReadStringCell | ( | self, | |
| int | entityId, | ||
| int | columnId ) |
Valid only for non point-based discrete fields containing string-based data.
| str hyperx.api.DiscreteField.ReadStringCell | ( | self, | |
| item1 = None, | |||
| item2 = None ) |
Valid only for non point-based discrete fields containing string-based data.
Valid only for point-based discrete fields containing string-based data.
| str hyperx.api.DiscreteField.ReadStringCell | ( | self, | |
| Vector3d | pointId, | ||
| int | columnId ) |
Valid only for point-based discrete fields containing string-based data.
| None hyperx.api.DiscreteField.SetColumnName | ( | self, | |
| int | columnId, | ||
| str | name ) |
| None hyperx.api.DiscreteField.SetNumericValue | ( | self, | |
| int | entityId, | ||
| int | columnId, | ||
| float | value ) |
| None hyperx.api.DiscreteField.SetNumericValue | ( | self, | |
| item1 = None, | |||
| item2 = None, | |||
| item3 = None ) |
| None hyperx.api.DiscreteField.SetNumericValue | ( | self, | |
| Vector3d | pointId, | ||
| int | columnId, | ||
| float | value ) |
| None hyperx.api.DiscreteField.SetNumericValues | ( | self, | |
| dict[int, tuple[float]] | valuesByEntityId ) |
Set real values for entity based discrete fields in bulk.
If an entity is included in the lookup, all values for that entity must be set in the collection of values. If an existing entity is included in the lookup with no values, it will be removed from the dataset.
| InvalidOperationException |
| None hyperx.api.DiscreteField.SetNumericValues | ( | self, | |
| dict[Vector3d, tuple[float]] | valuesByPoint ) |
Set real values for point based discrete fields in bulk.
If a point is included in the lookup, all values for that point must be set in the collection of values. If an existing point is included in the lookup with no values, it will be removed from the dataset.
| InvalidOperationException |
| None hyperx.api.DiscreteField.SetNumericValues | ( | self, | |
| item1 = None ) |
Set real values for entity based discrete fields in bulk. If an entity is included in the lookup, all values for that entity must be set in the collection of values. If an existing entity is included in the lookup with no values, it will be removed from the dataset.
| InvalidOperationException |
Set real values for point based discrete fields in bulk. If a point is included in the lookup, all values for that point must be set in the collection of values. If an existing point is included in the lookup with no values, it will be removed from the dataset.
| InvalidOperationException |
| None hyperx.api.DiscreteField.SetStringValue | ( | self, | |
| int | entityId, | ||
| int | columnId, | ||
| str | value ) |
| None hyperx.api.DiscreteField.SetStringValue | ( | self, | |
| item1 = None, | |||
| item2 = None, | |||
| item3 = None ) |
| None hyperx.api.DiscreteField.SetStringValue | ( | self, | |
| Vector3d | pointId, | ||
| int | columnId, | ||
| str | value ) |
| None hyperx.api.DiscreteField.SetStringValues | ( | self, | |
| dict[int, tuple[str]] | valuesByEntityId ) |
Set string values for entity based discrete fields in bulk.
If an entity is included in the lookup, all strings for that entity must be set in the collection of strings. If an existing entity is included in the lookup with no strings, it will be removed from the dataset.
| InvalidOperationException |
| None hyperx.api.DiscreteField.SetStringValues | ( | self, | |
| dict[Vector3d, tuple[str]] | valuesByPoint ) |
Set string values for point based discrete fields in bulk.
If a point is included in the lookup, all strings for that point must be set in the collection of strings. If an existing point is included in the lookup with no strings, it will be removed from the dataset.
| InvalidOperationException |
| None hyperx.api.DiscreteField.SetStringValues | ( | self, | |
| item1 = None ) |
Set string values for entity based discrete fields in bulk. If an entity is included in the lookup, all strings for that entity must be set in the collection of strings. If an existing entity is included in the lookup with no strings, it will be removed from the dataset.
| InvalidOperationException |
Set string values for point based discrete fields in bulk. If a point is included in the lookup, all strings for that point must be set in the collection of strings. If an existing point is included in the lookup with no strings, it will be removed from the dataset.
| InvalidOperationException |
|
static |
|
static |
Lookup of Columns by Id, Name.
|
static |
|
static |
|
static |
Get a list of the points for a Discrete Field (point-based only).
|
static |
|
static |
Get a list of the entity IDs for a Discrete Field (not point-based).