NXOpen .NET Reference  12.0.0
Public Member Functions | List of all members
NXOpen.DataContainer Class Reference

Represents a list of data. More...

Inheritance diagram for NXOpen.DataContainer:
NXOpen.PropertyContainer NXOpen.CAE.CaeDataContainer

Public Member Functions

unsafe void AddInteger (string propertyName, int value)
 Adds the integer value in the container. More...
 
unsafe void AddLogical (string propertyName, bool value)
 Adds the logical value in the container. More...
 
unsafe void AddDouble (string propertyName, double value)
 Adds the double value in the container. More...
 
unsafe void AddString (string propertyName, string value)
 Adds the string value in the container. More...
 
unsafe void AddEnum (string propertyName, string[] stringArray)
 Adds the enum members in the container. More...
 
unsafe void AddStrings (string propertyName, string[] stringArray)
 Adds the strings value in the container. More...
 
unsafe void AddPoint (string propertyName, NXOpen.Point3d pointSc)
 Adds the point value in the container. More...
 
unsafe void AddVector (string propertyName, NXOpen.Vector3d vector)
 Adds the vector value in the container. More...
 
unsafe void AddBits (string propertyName, int bitsSc)
 Adds the bits value in the container. More...
 
unsafe void AddTaggedObject (string propertyName, NXOpen.TaggedObject taggedSc)
 Adds the tagged object in the container. More...
 
unsafe void AddIntegerVector (string propertyName, int[] intVector)
 Adds the integer vector in the container. More...
 
unsafe void AddDoubleVector (string propertyName, double[] doubleVector)
 Adds the double vector in the container. More...
 
unsafe void AddTaggedObjectVector (string propertyName, NXOpen.TaggedObject[] tagVector)
 Adds the tagged object vector in the container. More...
 
unsafe void AddIntegerMatrix (string propertyName, int nRows, int nColumns, int[] matrixValue)
 Adds the integer matrix in the container. More...
 
unsafe void AddDoubleMatrix (string propertyName, int nRows, int nColumns, double[] matrixValue)
 Adds the double matrix in the container. More...
 
unsafe void AddFile (string propertyName, string value)
 Adds the value in the container. More...
 
- Public Member Functions inherited from NXOpen.PropertyContainer
unsafe string[] GetPropertyNames ()
 Returns a list of all the property names More...
 
unsafe
NXOpen.PropertyContainer.PropertyType 
GetPropertyType (string propertyName)
 Returns the property type for given property name More...
 
unsafe
NXOpen.PropertyContainer.PropertyType 
GetPropertyType (int propertyIndex)
 Returns the property type for the Indexed property list. More...
 
unsafe void SetInteger (string propertyName, int value)
 Sets the integer value for the given property name. More...
 
unsafe int GetInteger (string propertyName)
 Gets the integer value for the given property name. More...
 
unsafe int GetInteger (int propertyIndex)
 Gets the integer value for the given index. More...
 
unsafe void SetLogical (string propertyName, bool value)
 Sets the logical value for the given property name. More...
 
unsafe bool GetLogical (string propertyName)
 Gets the logical value for the given property name. More...
 
unsafe bool GetLogical (int propertyIndex)
 Gets the logical value for the given index. More...
 
unsafe void SetDouble (string propertyName, double value)
 Sets the double value for the given property name. More...
 
unsafe double GetDouble (string propertyName)
 Gets the double value for the given property name. More...
 
unsafe double GetDouble (int propertyIndex)
 Gets the double value for the given index. More...
 
unsafe void SetString (string propertyName, string value)
 Sets the string value for the given property name. More...
 
unsafe string GetString (string propertyName)
 Gets the string value for the given property name. More...
 
unsafe string GetString (int propertyIndex)
 Gets the string value for the given index. More...
 
unsafe void SetEnumAsString (string propertyName, string value)
 Sets the value for the given property name. More...
 
unsafe string GetEnumAsString (string propertyName)
 Gets the value for the given property name. More...
 
unsafe string GetEnumAsString (int propertyIndex)
 Gets the value for the given index. More...
 
unsafe void SetEnum (string propertyName, int value)
 Sets the value for the given property name. More...
 
unsafe int GetEnum (string propertyName)
 Gets the value for the given property name. More...
 
unsafe int GetEnum (int propertyIndex)
 Gets the value for the given index. More...
 
unsafe void SetEnumMembers (string propertyName, string[] stringArray)
 Sets the enum members for the given property of type enum. More...
 
unsafe string[] GetEnumMembers (string propertyName)
 Gets the enum members for the given property of type enum. More...
 
unsafe string[] GetEnumMembers (int propertyIndex)
 Gets the enum members for the given property index. More...
 
unsafe void SetStrings (string propertyName, string[] stringArray)
 Sets the strings value for the given property name. More...
 
unsafe string[] GetStrings (string propertyName)
 Gets the strings value for the given property name. More...
 
unsafe string[] GetStrings (int propertyIndex)
 Gets the strings value for the given index. More...
 
unsafe void SetPoint (string propertyName, NXOpen.Point3d pointSc)
 Sets the point value for the given property name. More...
 
unsafe NXOpen.Point3d GetPoint (string propertyName)
 Gets the point value for the given property name. More...
 
unsafe NXOpen.Point3d GetPoint (int propertyIndex)
 Gets the point value for the given index. More...
 
unsafe void SetVector (string propertyName, NXOpen.Vector3d vector)
 Sets the vector value for the given property name. More...
 
unsafe NXOpen.Vector3d GetVector (string propertyName)
 Gets the vector value for the given property name. More...
 
unsafe NXOpen.Vector3d GetVector (int propertyIndex)
 Gets the vector value for the given index. More...
 
unsafe void SetBits (string propertyName, int bitsSc)
 Sets the bits value for the given property name. More...
 
unsafe int GetBits (string propertyName)
 Gets the bits value for the given property name. More...
 
unsafe int GetBits (int propertyIndex)
 Gets the bits value for the given index. More...
 
unsafe void SetTaggedObject (string propertyName, NXOpen.TaggedObject taggedSc)
 Sets the tagged object for the given property name. More...
 
unsafe NXOpen.TaggedObject GetTaggedObject (string propertyName)
 Gets the tagged object for the given property name. More...
 
unsafe NXOpen.TaggedObject GetTaggedObject (int propertyIndex)
 Gets the tagged object for the given index. More...
 
unsafe int[] GetIntegerVector (string propertyName)
 Gets the integer vector for the given property name. More...
 
unsafe void SetIntegerVector (string propertyName, int[] intVector)
 Sets the integer vector for the given property name. More...
 
unsafe int[] GetIntegerVector (int propertyIndex)
 Gets the integer vector for the given index. More...
 
unsafe double[] GetDoubleVector (string propertyName)
 Gets the double vector for the given property name. More...
 
unsafe void SetDoubleVector (string propertyName, double[] doubleVector)
 Sets the double vector for the given property name. More...
 
unsafe double[] GetDoubleVector (int propertyIndex)
 Gets the double vector for the given index. More...
 
unsafe NXOpen.TaggedObject[] GetTaggedObjectVector (string propertyName)
 Gets the tagged object vector for the given property name. More...
 
unsafe void SetTaggedObjectVector (string propertyName, NXOpen.TaggedObject[] tagVector)
 Sets the tagged object vector for the given property name. More...
 
unsafe NXOpen.TaggedObject[] GetTaggedObjectVector (int propertyIndex)
 Gets the tagged object vector for the given index. More...
 
unsafe int[] GetIntegerMatrix (string propertyName, out int nRows, out int nColumns)
 Gets the integer matrix for the given property name. More...
 
unsafe void SetIntegerMatrix (string propertyName, int nRows, int nColumns, int[] matrixValue)
 Sets the integer matrix for the given property name. More...
 
unsafe int[] GetIntegerMatrix (int propertyIndex, out int nRows, out int nColumns)
 Gets the integer matrix for the given index. More...
 
unsafe double[] GetDoubleMatrix (string propertyName, out int nRows, out int nColumns)
 Gets the double matrix for the given property name. More...
 
unsafe void SetDoubleMatrix (string propertyName, int nRows, int nColumns, double[] matrixValue)
 Sets the double matrix for the given property name. More...
 
unsafe double[] GetDoubleMatrix (int propertyIndex, out int nRows, out int nColumns)
 Gets the double matrix for the given index. More...
 
unsafe string GetFile (string propertyName)
 Gets the value for the given property name. More...
 
unsafe void SetFile (string propertyName, string value)
 Sets the value for the given property name. More...
 
unsafe string GetFile (int propertyIndex)
 Gets the value for the given index. More...
 
unsafe NXOpen.PropertyContainer GetArray (string propertyName)
 Gets the value for the given property name. More...
 
unsafe NXOpen.PropertyContainer GetArray (int propertyIndex)
 Gets the value for the given index. More...
 

Additional Inherited Members

- Public Types inherited from NXOpen.PropertyContainer
enum  PropertyType {
  String, Double, Logical, Integer,
  Enum, Strings, UIBlock, Point,
  Vector, Bits, TaggedObject, Array,
  IntegerMatrix2d, DoubleMatrix2d, TaggedObjectMatrix2d, IntegerVector,
  DoubleVector, TaggedObjectVector, File, SelectionFilter,
  Undefined
}
 Represents the property types. More...
 
enum  ListMode { Indexed, Named }
 Indicates whether the properties in the list are named. More...
 
- Protected Member Functions inherited from NXOpen.PropertyContainer
override void FreeResource ()
 Frees the object from memory. More...
 
- Properties inherited from NXOpen.PropertyContainer
unsafe int Length [get]
 Returns the length of the list More...
 
unsafe
NXOpen.PropertyContainer.ListMode 
Mode [get]
 Returns the mode of the list More...
 

Detailed Description

Represents a list of data.

The data is associated with the unique string using which data can be accessed and modified. In addition, new data can be added to the existing container or list.

Created in NX7.5.0

Member Function Documentation

unsafe void NXOpen.DataContainer.AddBits ( string  propertyName,
int  bitsSc 
)

Adds the bits value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
bitsScValue to add for given property name.
unsafe void NXOpen.DataContainer.AddDouble ( string  propertyName,
double  value 
)

Adds the double value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
valueValue to add for given property name.
unsafe void NXOpen.DataContainer.AddDoubleMatrix ( string  propertyName,
int  nRows,
int  nColumns,
double[]  matrixValue 
)

Adds the double matrix in the container.

The value is associated with the unique property name. This is a two dimensional array encoded into a single array.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
nRowsNumber of Rows in the 2D matrix
nColumnsNumber of Columns in the 2D matrix
matrixValueValue to add for given property name.
unsafe void NXOpen.DataContainer.AddDoubleVector ( string  propertyName,
double[]  doubleVector 
)

Adds the double vector in the container.

The value is associated with the unique property name.

Created in NX7.5.3

License requirements: None.

Parameters
propertyNameName of the property.
doubleVectorValue to add for given property name.
unsafe void NXOpen.DataContainer.AddEnum ( string  propertyName,
string[]  stringArray 
)

Adds the enum members in the container.

The enum is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
stringArrayValue to add for given property name.
unsafe void NXOpen.DataContainer.AddFile ( string  propertyName,
string  value 
)

Adds the value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
valueValue to add for given property name.
unsafe void NXOpen.DataContainer.AddInteger ( string  propertyName,
int  value 
)

Adds the integer value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
valueValue to add for given property name
unsafe void NXOpen.DataContainer.AddIntegerMatrix ( string  propertyName,
int  nRows,
int  nColumns,
int[]  matrixValue 
)

Adds the integer matrix in the container.

The value is associated with the unique property name. This is a two dimensional array encoded into a single array.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
nRowsNumber of Rows in the 2D matrix
nColumnsNumber of Columns in the 2D matrix
matrixValueValue to add for given property name.
unsafe void NXOpen.DataContainer.AddIntegerVector ( string  propertyName,
int[]  intVector 
)

Adds the integer vector in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
intVectorValue to add for given property name.
unsafe void NXOpen.DataContainer.AddLogical ( string  propertyName,
bool  value 
)

Adds the logical value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
valueValue to add for given property name.
unsafe void NXOpen.DataContainer.AddPoint ( string  propertyName,
NXOpen.Point3d  pointSc 
)

Adds the point value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
pointScValue to add for given property name.
unsafe void NXOpen.DataContainer.AddString ( string  propertyName,
string  value 
)

Adds the string value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
valueValue to add for given property name.
unsafe void NXOpen.DataContainer.AddStrings ( string  propertyName,
string[]  stringArray 
)

Adds the strings value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
stringArrayValue to add for given property name.
unsafe void NXOpen.DataContainer.AddTaggedObject ( string  propertyName,
NXOpen.TaggedObject  taggedSc 
)

Adds the tagged object in the container.

The added object is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
taggedScValue to add for given property name.
unsafe void NXOpen.DataContainer.AddTaggedObjectVector ( string  propertyName,
NXOpen.TaggedObject[]  tagVector 
)

Adds the tagged object vector in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property.
tagVectorValue to add for given property name.
unsafe void NXOpen.DataContainer.AddVector ( string  propertyName,
NXOpen.Vector3d  vector 
)

Adds the vector value in the container.

The value is associated with the unique property name.

Created in NX7.5.0

License requirements: None.

Parameters
propertyNameName of the property
vectorValue to add for given property name.

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