NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.GeneralScalarTable Class Reference

Represents a General M x N table of scalar (real) values. More...

Inheritance diagram for NXOpen.GeneralScalarTable:
NXOpen.ScalarMatrixValue NXOpen.ScalarTableValue

Public Member Functions

unsafe void SetTableSize (int nRows, int nCols, double dDefaultValue)
 Sets the table size More...
 
unsafe void SetNumberOfRows (int nRows, double dDefaultValue)
 Sets the number of rows More...
 
unsafe double GetCellValue (int iRow, int iCol)
 Returns the cell value More...
 
unsafe void SetCellValue (int iRow, int iCol, double cellValue)
 Sets cell value More...
 
unsafe void SetCellValue (int iRow, int iCol, int cellValue)
 Sets cell value More...
 
unsafe void SetCellNoValue (int iRow, int iCol)
 Sets cell as having no value More...
 
unsafe void SetNthRow (int iRow, double[] rowValues)
 Sets the entire Nth row of values. More...
 
unsafe double[] GetNthRow (int iRow)
 Returns the entire Nth row of values. More...
 
unsafe void SetNthColumn (int iCol, double[] columnValues)
 Sets the entire Nth column of values. More...
 
unsafe double[] GetNthColumn (int iCol)
 Returns the entire Nth column of values. More...
 
unsafe void SetNthColumnUnits (int iCol, NXOpen.Unit unitType)
 Sets the entire Nth column of values. More...
 
unsafe NXOpen.Unit GetNthColumnUnits (int iCol)
 Returns the entire Nth column of values. More...
 

Protected Member Functions

override void FreeResource ()
 Destroys the object More...
 

Properties

unsafe int NumCols [get]
 Returns the numuber of columns More...
 
unsafe int NumRows [get]
 Returns the number of rows More...
 

Detailed Description

Represents a General M x N table of scalar (real) values.

This is an abstract class

Created in NX6.0.0

Member Function Documentation

override void NXOpen.GeneralScalarTable.FreeResource ( )
protected

Destroys the object

Created in NX6.0.0

License requirements: None.

unsafe double NXOpen.GeneralScalarTable.GetCellValue ( int  iRow,
int  iCol 
)

Returns the cell value

Created in NX6.0.0

License requirements: None.

Parameters
iRowRow Index
iColColumn Index
Returns
unsafe double [] NXOpen.GeneralScalarTable.GetNthColumn ( int  iCol)

Returns the entire Nth column of values.

Output array will be as long as the number of rows GeneralScalarTable.NumRows

Created in NX6.0.0

License requirements: None.

Parameters
iColColumn Index
Returns
Column Values
unsafe NXOpen.Unit NXOpen.GeneralScalarTable.GetNthColumnUnits ( int  iCol)

Returns the entire Nth column of values.

Output array will be as long as the number of rows GeneralScalarTable.NumRows

Created in NX6.0.0

License requirements: None.

Parameters
iColColumn Index
Returns
Unit type for the column a null reference (Nothing in Visual Basic) if the Column has no units
unsafe double [] NXOpen.GeneralScalarTable.GetNthRow ( int  iRow)

Returns the entire Nth row of values.

Output array will be as long as the number of columns GeneralScalarTable.NumCols

Created in NX6.0.0

License requirements: None.

Parameters
iRowRow Index
Returns
Row Values
unsafe void NXOpen.GeneralScalarTable.SetCellNoValue ( int  iRow,
int  iCol 
)

Sets cell as having no value

Created in NX11.0.0

License requirements: None.

Parameters
iRowRow Index
iColColumn Index
unsafe void NXOpen.GeneralScalarTable.SetCellValue ( int  iRow,
int  iCol,
double  cellValue 
)

Sets cell value

Created in NX6.0.0

License requirements: None.

Parameters
iRowRow Index
iColColumn Index
cellValueValue to store in the cell
unsafe void NXOpen.GeneralScalarTable.SetCellValue ( int  iRow,
int  iCol,
int  cellValue 
)

Sets cell value

Created in NX10.0.0

License requirements: None.

Parameters
iRowRow Index
iColColumn Index
cellValueValue to store in the cell
unsafe void NXOpen.GeneralScalarTable.SetNthColumn ( int  iCol,
double[]  columnValues 
)

Sets the entire Nth column of values.

Input array must be as long as the number of rows GeneralScalarTable.NumRows

Created in NX6.0.0

License requirements: None.

Parameters
iColColumn Index
columnValuesColumn values
unsafe void NXOpen.GeneralScalarTable.SetNthColumnUnits ( int  iCol,
NXOpen.Unit  unitType 
)

Sets the entire Nth column of values.

Input array must be as long as the number of rows GeneralScalarTable.NumRows

Created in NX6.0.0

License requirements: None.

Parameters
iColColumn Index
unitTypeUnit type for the column
unsafe void NXOpen.GeneralScalarTable.SetNthRow ( int  iRow,
double[]  rowValues 
)

Sets the entire Nth row of values.

Input array must be as long as the number of columns GeneralScalarTable.NumCols

Created in NX6.0.0

License requirements: None.

Parameters
iRowRow Index
rowValuesRow Values
unsafe void NXOpen.GeneralScalarTable.SetNumberOfRows ( int  nRows,
double  dDefaultValue 
)

Sets the number of rows

Created in NX10.0.0

License requirements: None.

Parameters
nRowsNumber of Rows
dDefaultValueDefault Value
unsafe void NXOpen.GeneralScalarTable.SetTableSize ( int  nRows,
int  nCols,
double  dDefaultValue 
)

Sets the table size

Created in NX6.0.0

License requirements: None.

Parameters
nRowsNumber of Rows
nColsNumber of Columns
dDefaultValueDefault Value

Property Documentation

unsafe int NXOpen.GeneralScalarTable.NumCols
get

Returns the numuber of columns

Created in NX6.0.0

License requirements: None.

unsafe int NXOpen.GeneralScalarTable.NumRows
get

Returns the number of rows

Created in NX6.0.0

License requirements: None.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.