NXOpen .NET Reference
12.0.0
|
Contains a list of characteristics. More...
Classes | |
struct | _CharacteristicInformation |
Contains the type and name of a characteristic | |
struct | CharacteristicInformation |
Contains the type and name of a characteristic More... | |
Public Member Functions | |
unsafe int | GetIntegerCharacteristic (string name) |
Gets the value of an integer characteristic. More... | |
unsafe void | SetCharacteristic (string name, int value) |
Sets the value of an integer characteristic associated with the input name. More... | |
unsafe double | GetRealCharacteristic (string name) |
Gets the value of a real characteristic. More... | |
unsafe void | SetCharacteristic (string name, double value) |
Sets the value of an real characteristic associated with the input name. More... | |
unsafe string | GetStringCharacteristic (string name) |
Gets the value of a string characteristic More... | |
unsafe void | SetCharacteristic (string name, string value) |
Sets the value of an string characteristic. More... | |
unsafe void | SetCharacteristic (string name, string value, NXOpen.NXObject.AttributeType type) |
Sets the value of a string or reference characteristic. More... | |
unsafe NXOpen.Routing.CharacteristicList.CharacteristicInformation[] | GetCharacteristicTitlesByType (NXOpen.NXObject.AttributeType type) |
Returns the titles of all characteristics that have the specified type. More... | |
unsafe void | DeleteCharacteristic (string name, NXOpen.NXObject.AttributeType type) |
Removes a characteristic from the characteristic list. More... | |
Protected Member Functions | |
override void | FreeResource () |
Frees the memory associated with this object. More... | |
Contains a list of characteristics.
A characteristics is a name-value pair where the value can be an integer, real or string.
Created in NX4.0.0
unsafe void NXOpen.Routing.CharacteristicList.DeleteCharacteristic | ( | string | name, |
NXOpen.NXObject.AttributeType | type | ||
) |
Removes a characteristic from the characteristic list.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
name | The name of the characteristic |
type | The type of the characteristic. |
NXOpen.NXObject.AttributeType.Any is not valid.
See NXOpen.NXObject.AttributeType for more information.
|
protected |
Frees the memory associated with this object.
Created in NX4.0.0
License requirements: None.
unsafe NXOpen.Routing.CharacteristicList.CharacteristicInformation [] NXOpen.Routing.CharacteristicList.GetCharacteristicTitlesByType | ( | NXOpen.NXObject.AttributeType | type | ) |
Returns the titles of all characteristics that have the specified type.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
type | The characteristic type. |
Specifying NXOpen.NXObject.AttributeType.Any returns the titles of all characteristics in the list.
See NXOpen.NXObject.AttributeType for more information.
unsafe int NXOpen.Routing.CharacteristicList.GetIntegerCharacteristic | ( | string | name | ) |
Gets the value of an integer characteristic.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
name | The name of the characteristic. |
unsafe double NXOpen.Routing.CharacteristicList.GetRealCharacteristic | ( | string | name | ) |
Gets the value of a real characteristic.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
name | The name of the characteristic |
unsafe string NXOpen.Routing.CharacteristicList.GetStringCharacteristic | ( | string | name | ) |
Gets the value of a string characteristic
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
name | The name of the characteristic |
unsafe void NXOpen.Routing.CharacteristicList.SetCharacteristic | ( | string | name, |
int | value | ||
) |
Sets the value of an integer characteristic associated with the input name.
The method adds a new characteristic to the list if one does not exist already or converts the type of an existing characteristic to integer if necessary.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
name | The name of the characteristic |
value | The integer value of the characteristic |
unsafe void NXOpen.Routing.CharacteristicList.SetCharacteristic | ( | string | name, |
double | value | ||
) |
Sets the value of an real characteristic associated with the input name.
The method adds a new characteristic to the list if one doesn't exist already or converts the type of an existing characteristic to real if necessary.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
name | The name of the characteristic |
value | The real value of the characteristic |
unsafe void NXOpen.Routing.CharacteristicList.SetCharacteristic | ( | string | name, |
string | value | ||
) |
Sets the value of an string characteristic.
The method adds a new characteristic to the list if one does not exist already or converts the type of an existing characteristic to string if necessary.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
name | The name of the characteristic |
value | The string value of the characteristic |
unsafe void NXOpen.Routing.CharacteristicList.SetCharacteristic | ( | string | name, |
string | value, | ||
NXOpen.NXObject.AttributeType | type | ||
) |
Sets the value of a string or reference characteristic.
The method adds a new characteristic to the list if one does not exist already or converts the type of an existing characteristic to string or reference if necessary.
Created in NX6.0.2
License requirements: routing_base ("Routing Basic")
name | The name of the characteristic |
value | The string value of the characteristic |
type | The type of the characteristic, either string or reference type. |
NXOpen.NXObject.AttributeType.Any is not valid.
See NXOpen.NXObject.AttributeType for more information.