NX Open C++ Reference Guide
|
JA interface for the UserDefinedObject object. More...
Classes | |
struct | LinkDefinition |
Contains the linked object and it's status along with the type of link. More... | |
Public Types | |
enum | LinkStatus { LinkStatusUpToDate, LinkStatusOutOfDate } |
Status of the object linked to a UserDefinedObject. More... | |
enum | LinkType { LinkTypeOwning, LinkTypeType1, LinkTypeType2, LinkTypeType3, LinkTypeType4 } |
Available link types for a UserDefinedObject . More... | |
Public Member Functions | |
NXString | ClassName () |
Returns the class name of this UDO Created in NX5.0.0. | |
void | ClearUserDefinedObjectStatus () |
Clears the out of data indicator (status) of this UDO Created in NX5.0.0. | |
std::vector< double > | GetAreas () |
Gets all of the areas stored with this UDO. | |
std::vector< double > | GetAreas (int offset, int length) |
Gets the areas stored in the specified range with this UDO. | |
std::vector< double > | GetDoubles () |
Gets all of the doubles stored with this UDO. | |
std::vector< double > | GetDoubles (int offset, int length) |
Gets the doubles stored in the specified range with this UDO. | |
std::vector< int > | GetIntegers () |
Gets all of the integers stored with this UDO. | |
std::vector< int > | GetIntegers (int offset, int length) |
Gets the integers stored in the specified range with this UDO. | |
std::vector< double > | GetLengths () |
Gets all of the lengths stored with this UDO. | |
std::vector< double > | GetLengths (int offset, int length) |
Gets the lengths stored in the specified range with this UDO. | |
std::vector < NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > | GetLinks (NXOpen::UserDefinedObjects::UserDefinedObject::LinkType linkType) |
Gets all links with the given link type that are stored with this UDO. | |
std::vector < NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > | GetLinks (NXOpen::UserDefinedObjects::UserDefinedObject::LinkType linkType, int offset, int length) |
Gets the links with the given link type that are stored in the specified range with this UDO. | |
std::vector< NXString > | GetStrings () |
Gets all of the strings stored with this UDO. | |
std::vector< NXString > | GetStrings (int offset, int length) |
Gets the strings stored in the specified range with this UDO. | |
NXOpen::Features::UserDefinedObjectFeature * | GetUserDefinedObjectFeature () |
Gets the Features::UserDefinedObjectFeature associated with this UDO, if there isn't an associated feature, NULL is returned. | |
int | GetUserDefinedObjectStatus () |
Gets the out of date indicator (status) of this UDO. | |
std::vector< double > | GetVolumes () |
Gets all of the volumes stored with this UDO. | |
std::vector< double > | GetVolumes (int offset, int length) |
Gets the volumes stored in the specified range with this UDO. | |
std::vector< double > | PopAreas (int numAreas) |
Removes the areas stored at the end of the area array for this UDO, and returns them in an array. | |
std::vector< double > | PopDoubles (int numDoubles) |
Removes the doubles stored at the end of the double array for this UDO, and returns them in an array. | |
std::vector< int > | PopIntegers (int numIntegers) |
Removes the integers stored at the end of the integer array for this UDO, and returns them in an array. | |
std::vector< double > | PopLengths (int numLengths) |
Removes the lengths stored at the end of the length array for this UDO, and returns them in an array. | |
std::vector < NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > | PopLinks (NXOpen::UserDefinedObjects::UserDefinedObject::LinkType linkType, int numLinks) |
Removes the links stored at the end of the given link type's link array for this UDO, and returns them in an array. | |
std::vector< NXString > | PopStrings (int numStrings) |
Removes the strings stored at the end of the string array for this UDO, and returns them in an array. | |
std::vector< double > | PopVolumes (int numVolumes) |
Removes the volumes stored at the end of the volume array for this UDO, and returns them in an array. | |
void | PushAreas (const std::vector< double > &areas) |
Add the specified areas to the end of the area array for this UDO Created in NX5.0.0. | |
void | PushDoubles (const std::vector< double > &doubles) |
Add the specified doubles to the end of the double array for this UDO Created in NX5.0.0. | |
void | PushIntegers (const std::vector< int > &integers) |
Add the specified integers to the end of the integer array for this UDO Created in NX5.0.0. | |
void | PushLengths (const std::vector< double > &lengths) |
Add the specified lengths to the end of the length array for this UDO Created in NX5.0.0. | |
void | PushLinks (NXOpen::UserDefinedObjects::UserDefinedObject::LinkType linkType, const std::vector< NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > &links) |
Add the specified links to the end of the given link type's link array for this UDO Created in NX5.0.0. | |
void | PushStrings (std::vector< NXString > &strings) |
Add the specified strings to the end of the string array for this UDO Created in NX5.0.0. | |
void | PushVolumes (const std::vector< double > &volumes) |
Add the specified volumes to the end of the volume array for this UDO Created in NX5.0.0. | |
void | SetAreas (const std::vector< double > &areas) |
Sets all of the areas stored with this UDO Created in NX5.0.0. | |
void | SetAreas (int offset, int length, const std::vector< double > &areas) |
Replaces the areas stored with this UDO in the specified range with a new array of areas Created in NX5.0.0. | |
void | SetDoubles (const std::vector< double > &doubles) |
Sets all of the doubles stored with this UDO Created in NX5.0.0. | |
void | SetDoubles (int offset, int length, const std::vector< double > &doubles) |
Replaces the doubles stored with this UDO in the specified range with a new array of doubles Created in NX5.0.0. | |
void | SetIntegers (const std::vector< int > &integers) |
Sets all of the integers stored with this UDO Created in NX5.0.0. | |
void | SetIntegers (int offset, int length, const std::vector< int > &integers) |
Replaces the integers stored with this UDO in the specified range with a new array of integers Created in NX5.0.0. | |
void | SetLengths (const std::vector< double > &lengths) |
Sets all of the lengths stored with this UDO Created in NX5.0.0. | |
void | SetLengths (int offset, int length, const std::vector< double > &lengths) |
Replaces the lengths stored with this UDO in the specified range with a new array of lengths Created in NX5.0.0. | |
void | SetLinks (NXOpen::UserDefinedObjects::UserDefinedObject::LinkType linkType, const std::vector< NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > &links) |
Sets all of the links with the given link type stored with this UDO. | |
void | SetLinks (NXOpen::UserDefinedObjects::UserDefinedObject::LinkType linkType, int offset, int length, const std::vector< NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > &links) |
Replaces the links of the given link type stored with this UDO in the specified range with a new array of links Created in NX5.0.0. | |
void | SetStrings (std::vector< NXString > &strings) |
Sets all of the strings stored with this UDO Created in NX5.0.0. | |
void | SetStrings (int offset, int length, std::vector< NXString > &strings) |
Replaces the strings stored with this UDO in the specified range with a new array of strings Created in NX5.0.0. | |
void | SetUserDefinedClass (NXOpen::UserDefinedObjects::UserDefinedClass *userDefinedClass) |
Sets the UserDefinedObjects::UserDefinedClass for this UDO Created in NX5.0.0. | |
void | SetVolumes (const std::vector< double > &volumes) |
Sets all of the volumes stored with this UDO Created in NX5.0.0. | |
void | SetVolumes (int offset, int length, const std::vector< double > &volumes) |
Replaces the volumes stored with this UDO in the specified range with a new array of volumes Created in NX5.0.0. | |
NXOpen::UserDefinedObjects::UserDefinedClass * | UserDefinedClass () |
Returns the UserDefinedObjects::UserDefinedClass for this UDO Created in NX5.0.0. |
JA interface for the UserDefinedObject object.
Status of the object linked to a UserDefinedObject.
Available link types for a UserDefinedObject .
Returns the class name of this UDO
Created in NX5.0.0.
License requirements : None
Clears the out of data indicator (status) of this UDO
Created in NX5.0.0.
License requirements : None
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetAreas | ( | ) |
Gets all of the areas stored with this UDO.
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetAreas | ( | int | offset, |
int | length | ||
) |
Gets the areas stored in the specified range with this UDO.
offset | Index into the array of areas at the start of the returned range. Valid values are 0 through (number of areas in the udo - 1) and -(number of areas in the udo) through -1. If the offset is negative, it is used to count back from the end of the area array. Therefore using -1 or (number of areas in the udo -1) for the offset will give the same result. |
length | The number of areas you wish to get |
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetDoubles | ( | ) |
Gets all of the doubles stored with this UDO.
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetDoubles | ( | int | offset, |
int | length | ||
) |
Gets the doubles stored in the specified range with this UDO.
offset | Index into the array of doubles at the start of the returned range. Valid values are 0 through (number of doubles in the udo - 1) and -(number of doubles in the udo) through -1. If the offset is negative, it is used to count back from the end of the double array. Therefore using -1 or (number of doubles in the udo -1) for the offset will give the same result. |
length | The number of doubles you wish to get |
std::vector<int> NXOpen::UserDefinedObjects::UserDefinedObject::GetIntegers | ( | ) |
Gets all of the integers stored with this UDO.
std::vector<int> NXOpen::UserDefinedObjects::UserDefinedObject::GetIntegers | ( | int | offset, |
int | length | ||
) |
Gets the integers stored in the specified range with this UDO.
offset | Index into the array of integers at the start of the returned range. Valid values are 0 through (number of integers in the udo - 1) and -(number of integers in the udo) through -1. If the offset is negative, it is used to count back from the end of the integer array. Therefore using -1 or (number of integers in the udo -1) for the offset will give the same result. |
length | The number of integers you wish to get |
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetLengths | ( | ) |
Gets all of the lengths stored with this UDO.
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetLengths | ( | int | offset, |
int | length | ||
) |
Gets the lengths stored in the specified range with this UDO.
offset | Index into the array of lengths at the start of the returned range. Valid values are 0 through (number of lengths in the udo - 1) and -(number of lengths in the udo) through -1. If the offset is negative, it is used to count back from the end of the length array. Therefore using -1 or (number of lengths in the udo -1) for the offset will give the same result. |
length | The number of lengths you wish to get |
std::vector<NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition> NXOpen::UserDefinedObjects::UserDefinedObject::GetLinks | ( | NXOpen::UserDefinedObjects::UserDefinedObject::LinkType | linkType | ) |
Gets all links with the given link type that are stored with this UDO.
linkType | The type of links you wish to get |
std::vector<NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition> NXOpen::UserDefinedObjects::UserDefinedObject::GetLinks | ( | NXOpen::UserDefinedObjects::UserDefinedObject::LinkType | linkType, |
int | offset, | ||
int | length | ||
) |
Gets the links with the given link type that are stored in the specified range with this UDO.
linkType | The type of links you wish to get |
offset | Index into the array of links (with the given link type) at the start of the returned range. Valid values are 0 through (number of links of the given type in the udo - 1) and -(number of links of the given type in the udo) through -1. If the offset is negative, it is used to count back from the end of the link array. Therefore using -1 or (number of links of the given link type in the udo -1) for the offset will give the same result. |
length | The number of links (with the given link type) you wish to get |
std::vector<NXString> NXOpen::UserDefinedObjects::UserDefinedObject::GetStrings | ( | ) |
Gets all of the strings stored with this UDO.
std::vector<NXString> NXOpen::UserDefinedObjects::UserDefinedObject::GetStrings | ( | int | offset, |
int | length | ||
) |
Gets the strings stored in the specified range with this UDO.
offset | Index into the array of strings at the start of the returned range. Valid values are 0 through (number of strings in the udo - 1) and -(number of strings in the udo) through -1. If the offset is negative, it is used to count back from the end of the string array. Therefore using -1 or (number of strings in the udo -1) for the offset will give the same result. |
length | The number of strings you wish to get |
NXOpen::Features::UserDefinedObjectFeature* NXOpen::UserDefinedObjects::UserDefinedObject::GetUserDefinedObjectFeature | ( | ) |
Gets the Features::UserDefinedObjectFeature associated with this UDO, if there isn't an associated feature, NULL is returned.
Gets the out of date indicator (status) of this UDO.
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetVolumes | ( | ) |
Gets all of the volumes stored with this UDO.
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetVolumes | ( | int | offset, |
int | length | ||
) |
Gets the volumes stored in the specified range with this UDO.
offset | Index into the array of volumes at the start of the returned range. Valid values are 0 through (number of volumes in the udo - 1) and -(number of volumes in the udo) through -1. If the offset is negative, it is used to count back from the end of the volume array. Therefore using -1 or (number of volumes in the udo -1) for the offset will give the same result. |
length | The number of volumes you wish to get |
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::PopAreas | ( | int | numAreas | ) |
Removes the areas stored at the end of the area array for this UDO, and returns them in an array.
numAreas | num areas |
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::PopDoubles | ( | int | numDoubles | ) |
Removes the doubles stored at the end of the double array for this UDO, and returns them in an array.
numDoubles | num doubles |
std::vector<int> NXOpen::UserDefinedObjects::UserDefinedObject::PopIntegers | ( | int | numIntegers | ) |
Removes the integers stored at the end of the integer array for this UDO, and returns them in an array.
numIntegers | num integers |
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::PopLengths | ( | int | numLengths | ) |
Removes the lengths stored at the end of the length array for this UDO, and returns them in an array.
numLengths | num lengths |
Removes the links stored at the end of the given link type's link array for this UDO, and returns them in an array.
linkType | The type of links you wish to remove |
numLinks | num links |
std::vector<NXString> NXOpen::UserDefinedObjects::UserDefinedObject::PopStrings | ( | int | numStrings | ) |
Removes the strings stored at the end of the string array for this UDO, and returns them in an array.
numStrings | num strings |
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::PopVolumes | ( | int | numVolumes | ) |
Removes the volumes stored at the end of the volume array for this UDO, and returns them in an array.
numVolumes | num volumes |
void NXOpen::UserDefinedObjects::UserDefinedObject::PushAreas | ( | const std::vector< double > & | areas | ) |
Add the specified areas to the end of the area array for this UDO
Created in NX5.0.0.
License requirements : None
areas | Array of new areas to add to this UDO. This routine is cumulutive, and will not remove any areas already stored with the UDO. It simply adds these new areas to the end of the existing area array and increases the total number of areas stored with the UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::PushDoubles | ( | const std::vector< double > & | doubles | ) |
Add the specified doubles to the end of the double array for this UDO
Created in NX5.0.0.
License requirements : None
doubles | Array of new doubles to add to this UDO. This routine is cumulutive, and will not remove any doubles already stored with the UDO. It simply adds these new doubles to the end of the existing double array and increases the total number of doubles stored with the UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::PushIntegers | ( | const std::vector< int > & | integers | ) |
Add the specified integers to the end of the integer array for this UDO
Created in NX5.0.0.
License requirements : None
integers | Array of new integers to add to this UDO. This routine is cumulutive, and will not remove any integers already stored with the UDO. It simply adds these new integers to the end of the existing integer array and increases the total number of integers stored with the UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::PushLengths | ( | const std::vector< double > & | lengths | ) |
Add the specified lengths to the end of the length array for this UDO
Created in NX5.0.0.
License requirements : None
lengths | Array of new lengths to add to this UDO. This routine is cumulutive, and will not remove any lengths already stored with the UDO. It simply adds these new lengths to the end of the existing length array and increases the total number of lengths stored with the UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::PushLinks | ( | NXOpen::UserDefinedObjects::UserDefinedObject::LinkType | linkType, |
const std::vector< NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > & | links | ||
) |
Add the specified links to the end of the given link type's link array for this UDO
Created in NX5.0.0.
License requirements : None
linkType | The type of links you wish to add |
links | Array of new links (with the given link type) to add to this UDO. This routine is cumulutive, and will not remove any links already stored with the UDO. It simply adds these new links to the end of the existing link array for the given link type and increases the total number of links of the given type stored with the UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::PushStrings | ( | std::vector< NXString > & | strings | ) |
Add the specified strings to the end of the string array for this UDO
Created in NX5.0.0.
License requirements : None
strings | Array of new strings to add to this UDO. This routine is cumulutive, and will not remove any strings already stored with the UDO. It simply adds these new strings to the end of the existing string array and increases the total number of strings stored with the UDO NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::UserDefinedObjects::UserDefinedObject::PushVolumes | ( | const std::vector< double > & | volumes | ) |
Add the specified volumes to the end of the volume array for this UDO
Created in NX5.0.0.
License requirements : None
volumes | Array of new volumes to add to this UDO. This routine is cumulutive, and will not remove any volumes already stored with the UDO. It simply adds these new volumes to the end of the existing volume array and increases the total number of volumes stored with the UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetAreas | ( | const std::vector< double > & | areas | ) |
Sets all of the areas stored with this UDO
Created in NX5.0.0.
License requirements : None
areas | New Array of areas stored with this UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetAreas | ( | int | offset, |
int | length, | ||
const std::vector< double > & | areas | ||
) |
Replaces the areas stored with this UDO in the specified range with a new array of areas
Created in NX5.0.0.
License requirements : None
offset | Index into the array of areas at the start of the range you wish to cut and replace. Valid values are 0 through (number of areas in the udo - 1) and -(number of areas in the udo) through -1. If the offset is negative, it is used to count back from the end of the area array. Therefore using -1 or (number of areas in the udo -1) for the offset will give the same result. |
length | The number of areas in the range you wish to cut |
areas | Array of areas to paste in place of the specified range. |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetDoubles | ( | const std::vector< double > & | doubles | ) |
Sets all of the doubles stored with this UDO
Created in NX5.0.0.
License requirements : None
doubles | New Array of doubles stored with this UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetDoubles | ( | int | offset, |
int | length, | ||
const std::vector< double > & | doubles | ||
) |
Replaces the doubles stored with this UDO in the specified range with a new array of doubles
Created in NX5.0.0.
License requirements : None
offset | Index into the array of doubles at the start of the range you wish to cut and replace. Valid values are 0 through (number of doubles in the udo - 1) and -(number of doubles in the udo) through -1. If the offset is negative, it is used to count back from the end of the double array. Therefore using -1 or (number of doubles in the udo -1) for the offset will give the same result. |
length | The number of doubles in the range you wish to cut |
doubles | Array of doubles to paste in place of the specified range. |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetIntegers | ( | const std::vector< int > & | integers | ) |
Sets all of the integers stored with this UDO
Created in NX5.0.0.
License requirements : None
integers | New Array of integers stored with this UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetIntegers | ( | int | offset, |
int | length, | ||
const std::vector< int > & | integers | ||
) |
Replaces the integers stored with this UDO in the specified range with a new array of integers
Created in NX5.0.0.
License requirements : None
offset | Index into the array of integers at the start of the range you wish to cut and replace. Valid values are 0 through (number of integers in the udo - 1) and -(number of integers in the udo) through -1. If the offset is negative, it is used to count back from the end of the integer array. Therefore using -1 or (number of integers in the udo -1) for the offset will give the same result. |
length | The number of integers in the range you wish to cut |
integers | Array of integers to paste in place of the specified range. |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetLengths | ( | const std::vector< double > & | lengths | ) |
Sets all of the lengths stored with this UDO
Created in NX5.0.0.
License requirements : None
lengths | New Array of lengths stored with this UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetLengths | ( | int | offset, |
int | length, | ||
const std::vector< double > & | lengths | ||
) |
Replaces the lengths stored with this UDO in the specified range with a new array of lengths
Created in NX5.0.0.
License requirements : None
offset | Index into the array of lengths at the start of the range you wish to cut and replace. Valid values are 0 through (number of lengths in the udo - 1) and -(number of lengths in the udo) through -1. If the offset is negative, it is used to count back from the end of the length array. Therefore using -1 or (number of lengths in the udo -1) for the offset will give the same result. |
length | The number of lengths in the range you wish to cut |
lengths | Array of lengths to paste in place of the specified range. |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetLinks | ( | NXOpen::UserDefinedObjects::UserDefinedObject::LinkType | linkType, |
const std::vector< NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > & | links | ||
) |
Sets all of the links with the given link type stored with this UDO.
If you already had objects linked to the UDO via the specified link type, this operation will over-write them with the newly specified links.
Created in NX5.0.0.
License requirements : None
linkType | The type of links you wish to set |
links | New Array of links (with the given link type) stored with this UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetLinks | ( | NXOpen::UserDefinedObjects::UserDefinedObject::LinkType | linkType, |
int | offset, | ||
int | length, | ||
const std::vector< NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition > & | links | ||
) |
Replaces the links of the given link type stored with this UDO in the specified range with a new array of links
Created in NX5.0.0.
License requirements : None
linkType | The type of links you wish to set |
offset | Index into the array of links (with the given link type) at the start of the range you wish to cut and replace. Valid values are 0 through (number of links with the given link type in the udo - 1) and -(number of links with the given link type in the udo) through -1. If the offset is negative, it is used to count back from the end of the link array. Therefore using -1 or (number of links with the given link type in the udo -1) for the offset will give the same result. |
length | The number of links (with the given link type) in the range you wish to cut |
links | Array of links (with the given link type) to paste in place of the specified range. |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetStrings | ( | std::vector< NXString > & | strings | ) |
Sets all of the strings stored with this UDO
Created in NX5.0.0.
License requirements : None
strings | New Array of strings stored with this UDO NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetStrings | ( | int | offset, |
int | length, | ||
std::vector< NXString > & | strings | ||
) |
Replaces the strings stored with this UDO in the specified range with a new array of strings
Created in NX5.0.0.
License requirements : None
offset | Index into the array of strings at the start of the range you wish to cut and replace. Valid values are 0 through (number of strings in the udo - 1) and -(number of strings in the udo) through -1. If the offset is negative, it is used to count back from the end of the string array. Therefore using -1 or (number of strings in the udo -1) for the offset will give the same result. |
length | The number of strings in the range you wish to cut |
strings | Array of strings to paste in place of the specified range. NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetUserDefinedClass | ( | NXOpen::UserDefinedObjects::UserDefinedClass * | userDefinedClass | ) |
Sets the UserDefinedObjects::UserDefinedClass for this UDO
Created in NX5.0.0.
License requirements : None
userDefinedClass | The new class for this UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetVolumes | ( | const std::vector< double > & | volumes | ) |
Sets all of the volumes stored with this UDO
Created in NX5.0.0.
License requirements : None
volumes | New Array of volumes stored with this UDO |
void NXOpen::UserDefinedObjects::UserDefinedObject::SetVolumes | ( | int | offset, |
int | length, | ||
const std::vector< double > & | volumes | ||
) |
Replaces the volumes stored with this UDO in the specified range with a new array of volumes
Created in NX5.0.0.
License requirements : None
offset | Index into the array of volumes at the start of the range you wish to cut and replace. Valid values are 0 through (number of volumes in the udo - 1) and -(number of volumes in the udo) through -1. If the offset is negative, it is used to count back from the end of the volume array. Therefore using -1 or (number of volumes in the udo -1) for the offset will give the same result. |
length | The number of volumes in the range you wish to cut |
volumes | Array of volumes to paste in place of the specified range. |
NXOpen::UserDefinedObjects::UserDefinedClass* NXOpen::UserDefinedObjects::UserDefinedObject::UserDefinedClass | ( | ) |
Returns the UserDefinedObjects::UserDefinedClass for this UDO
Created in NX5.0.0.
License requirements : None