Provides methods for manipulating the units in a part
To obtain an instance of this class, refer to BasePart
Created in NX4.0.0.
More...
|
class | iterator |
| Iterator for accessing the contents of the collection. More...
|
|
Provides methods for manipulating the units in a part
To obtain an instance of this class, refer to BasePart
Created in NX4.0.0.
iterator NXOpen::UnitCollection::begin |
( |
| ) |
|
Returns an iterator addressing the first element.
Convert a value from one unit of measure to another.
- Returns
Created in NX4.0.0.
License requirements : None
- Parameters
-
initialUnit | initial measurement unit |
targetUnit | target measurement unit |
initialValue | initial value |
iterator NXOpen::UnitCollection::end |
( |
| ) |
|
Returns an iterator addressing one past the last element.
Finds the Unit with the given identifier as recorded in a journal.
An exception will be thrown if no object can be found with the given journal identifier.
- Returns
- Unit found
Created in NX4.0.0.
License requirements : None
- Parameters
-
journalIdentifier | Identifier to be found |
NXOpen::Unit* NXOpen::UnitCollection::FindObject |
( |
const char * |
journalIdentifier | ) |
|
Finds the Unit with the given identifier as recorded in a journal.
An exception will be thrown if no object can be found with the given journal identifier.
- Returns
- Unit found
Created in NX4.0.0.
License requirements : None
- Parameters
-
journalIdentifier | Identifier to be found |
Find the base part unit for a given type of measure.
- Returns
- base unit
Created in NX4.0.0.
License requirements : None
- Parameters
-
measureName | the type of measure
NOTE: The full Unicode character set is not supported for this parameter.
|
NXOpen::Unit* NXOpen::UnitCollection::GetBase |
( |
const char * |
measureName | ) |
|
Find the base part unit for a given type of measure.
- Returns
- base unit
Created in NX4.0.0.
License requirements : None
- Parameters
-
measureName | the type of measure
NOTE: The full Unicode character set is not supported for this parameter.
|
std::vector<NXString> NXOpen::UnitCollection::GetMeasures |
( |
| ) |
|
Finds the list of different types of measures available in the system.
Types of measures include length, area and volume
- Returns
- Array of names of measure types
Created in NX4.0.0.
License requirements : None
Finds the units that are available for a given type of measure.
- Returns
- Array of units for a given measurement type
Created in NX4.0.0.
License requirements : None
- Parameters
-
measureName | the type of measure
NOTE: The full Unicode character set is not supported for this parameter.
|
std::vector<NXOpen::Unit *> NXOpen::UnitCollection::GetMeasureTypes |
( |
const char * |
measureName | ) |
|
Finds the units that are available for a given type of measure.
- Returns
- Array of units for a given measurement type
Created in NX4.0.0.
License requirements : None
- Parameters
-
measureName | the type of measure
NOTE: The full Unicode character set is not supported for this parameter.
|
tag_t NXOpen::UnitCollection::Tag |
( |
| ) |
const |
Returns the tag of this object.
The documentation for this class was generated from the following file:
Copyright 2013 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.