NX Open C++ Reference Guide
Classes | Public Types | Public Member Functions
NXOpen::UserDefinedObjects::UserDefinedObject Class Reference

JA interface for the UserDefinedObject object. More...

Inheritance diagram for NXOpen::UserDefinedObjects::UserDefinedObject:
NXOpen::DisplayableObject NXOpen::NXObject NXOpen::IFitTo NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject

List of all members.

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< NXStringGetStrings ()
 Gets all of the strings stored with this UDO.
std::vector< NXStringGetStrings (int offset, int length)
 Gets the strings stored in the specified range with this UDO.
NXOpen::Features::UserDefinedObjectFeatureGetUserDefinedObjectFeature ()
 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< NXStringPopStrings (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::UserDefinedClassUserDefinedClass ()
 Returns the UserDefinedObjects::UserDefinedClass for this UDO
Created in NX5.0.0.

Detailed Description

JA interface for the UserDefinedObject object.


Member Enumeration Documentation

Status of the object linked to a UserDefinedObject.

Enumerator:
LinkStatusUpToDate 

The associated object is up to date.

LinkStatusOutOfDate 

The associated object is out of date.

Available link types for a UserDefinedObject .

Enumerator:
LinkTypeOwning 

The object is owned by the UDO.

LinkTypeType1 

If the UDO is deleted the link between the UDO and the associated object is removed and the object is unaffected.

If the UDO is updated the associated object is unaffected. If the associated object is deleted the UDO is also deleted. If the associated object is updated the UDO is updated.

LinkTypeType2 

If the UDO is deleted the link between the UDO and the associated object is removed and the object is deleted.

If the UDO is updated the associated NX object is unaffected. If the associated object is deleted, it is left in the data model in a condemned state and remains attached to the UDO. If the associated object is updated the UDO is unaffected.

LinkTypeType3 

If the UDO is deleted the link between the UDO and the associated object is removed and the object is unaffected.

If the UDO is updated the associated object is unaffected. If the associated object is deleted the link to the UDO is removed and the UDO is updated. If the associated object is updated the UDO is updated

LinkTypeType4 

If the UDO is deleted the link between the UDO and the associated object is removed and the object is unaffected.

If the UDO is updated the associated object is unaffected. If the associated object is deleted the link to the UDO is removed and the UDO is unaffected. If the associated object is updated the UDO is unaffected.


Member Function Documentation

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

Gets all of the areas stored with this UDO.

Returns:
Array of areas stored with this UDO
Created in NX5.0.0.

License requirements : None
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetAreas ( int  offset,
int  length 
)

Gets the areas stored in the specified range with this UDO.

Returns:
Array of areas stored within the specified range of the area array for this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
offsetIndex 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.
lengthThe number of areas you wish to get

Gets all of the doubles stored with this UDO.

Returns:
Array of doubles stored with this UDO
Created in NX5.0.0.

License requirements : None
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetDoubles ( int  offset,
int  length 
)

Gets the doubles stored in the specified range with this UDO.

Returns:
Array of doubles stored within the specified range of the double array for this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
offsetIndex 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.
lengthThe number of doubles you wish to get

Gets all of the integers stored with this UDO.

Returns:
Array of integers stored with this UDO
Created in NX5.0.0.

License requirements : None
std::vector<int> NXOpen::UserDefinedObjects::UserDefinedObject::GetIntegers ( int  offset,
int  length 
)

Gets the integers stored in the specified range with this UDO.

Returns:
Array of integers stored within the specified range of the integer array for this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
offsetIndex 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.
lengthThe number of integers you wish to get

Gets all of the lengths stored with this UDO.

Returns:
Array of lengths stored with this UDO
Created in NX5.0.0.

License requirements : None
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetLengths ( int  offset,
int  length 
)

Gets the lengths stored in the specified range with this UDO.

Returns:
Array of lengths stored within the specified range of the length array for this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
offsetIndex 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.
lengthThe number of lengths you wish to get

Gets all links with the given link type that are stored with this UDO.

Returns:
Array of links (with the given link type) stored with this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
linkTypeThe type of links you wish to get

Gets the links with the given link type that are stored in the specified range with this UDO.

Returns:
Array of links stored within the specified range of the link type's link array for this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
linkTypeThe type of links you wish to get
offsetIndex 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.
lengthThe number of links (with the given link type) you wish to get

Gets all of the strings stored with this UDO.

Returns:
Array of strings stored with this UDO
Created in NX5.0.0.

License requirements : None
std::vector<NXString> NXOpen::UserDefinedObjects::UserDefinedObject::GetStrings ( int  offset,
int  length 
)

Gets the strings stored in the specified range with this UDO.

Returns:
Array of strings stored within the specified range of the string array for this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
offsetIndex 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.
lengthThe number of strings you wish to get

Gets the Features::UserDefinedObjectFeature associated with this UDO, if there isn't an associated feature, NULL is returned.

Returns:
The UserDefinedObjectFeature associated this UDO
Created in NX5.0.0.

License requirements : None

Gets the out of date indicator (status) of this UDO.

Returns:
The status of this UDO 0 - The UDO is up to date 1 - Out of date due to addition or deletion of links to the UDO 2 - Out of date due to update being performed on an associated (linked) object in the absence of a UDO Method 3 - Out of date due to addition or deletion of links to the UDO AND update being performed on an Associated (linked) object in the absence of a UDO Method 4 - Out of date due to deletion of associated (linked) objects in the absence of a UDO method 5 - Out of date due to addition or deletion of links to the UDO AND deletion of associated (linked) objects in the absence of a UDO method 6 - Out of date due to update being performed on an associated (linked) object in the absence of a UDO Method AND deletion of associated (linked) objects in the absence of a UDO method 7 - Out of date due to addition or deletion of links to the UDO AND update being performed on an Associated (linked) object in the absence of a UDO Method AND deletion of associated (linked) objects in the absence of a UDO method
Created in NX5.0.0.

License requirements : None

Gets all of the volumes stored with this UDO.

Returns:
Array of volumes stored with this UDO
Created in NX5.0.0.

License requirements : None
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetVolumes ( int  offset,
int  length 
)

Gets the volumes stored in the specified range with this UDO.

Returns:
Array of volumes stored within the specified range of the volume array for this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
offsetIndex 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.
lengthThe 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.

Returns:
Array of areas that have been removed from this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
numAreasnum 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.

Returns:
Array of doubles that have been removed from this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
numDoublesnum 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.

Returns:
Array of integers that have been removed from this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
numIntegersnum 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.

Returns:
Array of lengths that have been removed from this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
numLengthsnum 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.

Returns:
Array of links (with the given link type) that have been removed from this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
linkTypeThe type of links you wish to remove
numLinksnum links

Removes the strings stored at the end of the string array for this UDO, and returns them in an array.

Returns:
Array of strings that have been removed from this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
numStringsnum 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.

Returns:
Array of volumes that have been removed from this UDO
Created in NX5.0.0.

License requirements : None
Parameters:
numVolumesnum 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

Parameters:
areasArray 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

Parameters:
doublesArray 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

Parameters:
integersArray 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

Parameters:
lengthsArray 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

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

Parameters:
linkTypeThe type of links you wish to add
linksArray 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

Add the specified strings to the end of the string array for this UDO
Created in NX5.0.0.



License requirements : None

Parameters:
stringsArray 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

Parameters:
volumesArray 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

Parameters:
areasNew 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

Parameters:
offsetIndex 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.
lengthThe number of areas in the range you wish to cut
areasArray 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

Parameters:
doublesNew 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

Parameters:
offsetIndex 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.
lengthThe number of doubles in the range you wish to cut
doublesArray 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

Parameters:
integersNew 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

Parameters:
offsetIndex 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.
lengthThe number of integers in the range you wish to cut
integersArray 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

Parameters:
lengthsNew 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

Parameters:
offsetIndex 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.
lengthThe number of lengths in the range you wish to cut
lengthsArray of lengths to paste in place of the specified range.

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

Parameters:
linkTypeThe type of links you wish to set
linksNew Array of links (with the given link type) stored with this UDO

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

Parameters:
linkTypeThe type of links you wish to set
offsetIndex 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.
lengthThe number of links (with the given link type) in the range you wish to cut
linksArray of links (with the given link type) to paste in place of the specified range.

Sets all of the strings stored with this UDO
Created in NX5.0.0.



License requirements : None

Parameters:
stringsNew 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

Parameters:
offsetIndex 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.
lengthThe number of strings in the range you wish to cut
stringsArray of strings to paste in place of the specified range.
NOTE: The full Unicode character set is not supported for this parameter.

Sets the UserDefinedObjects::UserDefinedClass for this UDO
Created in NX5.0.0.



License requirements : None

Parameters:
userDefinedClassThe 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

Parameters:
volumesNew 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

Parameters:
offsetIndex 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.
lengthThe number of volumes in the range you wish to cut
volumesArray of volumes to paste in place of the specified range.

Returns the UserDefinedObjects::UserDefinedClass for this UDO
Created in NX5.0.0.



License requirements : None


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