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

JA interface for the UserDefinedObject object
Created in NX5.0.0. More...

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

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 NXOpen::Features::UserDefinedObjectFeature. More...
 
enum  LinkType {
  LinkTypeOwning, LinkTypeType1, LinkTypeType2, LinkTypeType3,
  LinkTypeType4
}
 Available link types for a NXOpen::Features::UserDefinedObjectFeature . More...
 
- Public Types inherited from NXOpen::DisplayableObject
enum  ObjectFont {
  ObjectFontSolid = 1, ObjectFontDashed, ObjectFontPhantom, ObjectFontCenterline,
  ObjectFontDotted, ObjectFontLongDashed, ObjectFontDottedDashed
}
 specifies the object font for objects such as lines
Created in NX3.0.0. More...
 
enum  ObjectWidth {
  ObjectWidthNormal, ObjectWidthThick, ObjectWidthThin, ObjectWidthOne = 5,
  ObjectWidthTwo, ObjectWidthThree, ObjectWidthFour, ObjectWidthFive,
  ObjectWidthSix, ObjectWidthSeven, ObjectWidthEight, ObjectWidthNine
}
 specifies object width for objects such as lines and text
Created in NX3.0.0. More...
 
- Public Types inherited from NXOpen::NXObject
enum  AttributeType {
  AttributeTypeInvalid, AttributeTypeNull, AttributeTypeBoolean, AttributeTypeInteger,
  AttributeTypeReal, AttributeTypeString, AttributeTypeTime, AttributeTypeReference,
  AttributeTypeAny = 100
}
 Specifies attribute type. More...
 
enum  DateAndTimeFormat { DateAndTimeFormatNumeric, DateAndTimeFormatTextual }
 Specifies the format of the date and time attribute. More...
 

Public Member Functions

NXString ClassName ()
 Returns the class name of this UDO
Created in NX5.0.0. More...
 
void ClearUserDefinedObjectStatus ()
 Clears the out of data indicator (status) of this UDO
Created in NX5.0.0. More...
 
std::vector< double > GetAreas ()
 Gets all of the areas stored with this UDO. More...
 
std::vector< double > GetAreas (int offset, int length)
 Gets the areas stored in the specified range with this UDO. More...
 
std::vector< double > GetDoubles ()
 Gets all of the doubles stored with this UDO. More...
 
std::vector< double > GetDoubles (int offset, int length)
 Gets the doubles stored in the specified range with this UDO. More...
 
std::vector< int > GetIntegers ()
 Gets all of the integers stored with this UDO. More...
 
std::vector< int > GetIntegers (int offset, int length)
 Gets the integers stored in the specified range with this UDO. More...
 
std::vector< double > GetLengths ()
 Gets all of the lengths stored with this UDO. More...
 
std::vector< double > GetLengths (int offset, int length)
 Gets the lengths stored in the specified range with this UDO. More...
 
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. More...
 
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. More...
 
std::vector< NXStringGetStrings ()
 Gets all of the strings stored with this UDO. More...
 
std::vector< NXStringGetStrings (int offset, int length)
 Gets the strings stored in the specified range with this UDO. More...
 
NXOpen::Features::UserDefinedObjectFeatureGetUserDefinedObjectFeature ()
 Gets the NXOpen::Features::UserDefinedObjectFeature associated with this UDO, if there isn't an associated feature, NULL is returned. More...
 
int GetUserDefinedObjectStatus ()
 Gets the out of date indicator (status) of this UDO. More...
 
std::vector< double > GetVolumes ()
 Gets all of the volumes stored with this UDO. More...
 
std::vector< double > GetVolumes (int offset, int length)
 Gets the volumes stored in the specified range with this UDO. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
void SetAreas (const std::vector< double > &areas)
 Sets all of the areas stored with this UDO
Created in NX5.0.0. More...
 
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. More...
 
void SetDoubles (const std::vector< double > &doubles)
 Sets all of the doubles stored with this UDO
Created in NX5.0.0. More...
 
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. More...
 
void SetIntegers (const std::vector< int > &integers)
 Sets all of the integers stored with this UDO
Created in NX5.0.0. More...
 
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. More...
 
void SetLengths (const std::vector< double > &lengths)
 Sets all of the lengths stored with this UDO
Created in NX5.0.0. More...
 
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. More...
 
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. More...
 
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. More...
 
void SetStrings (std::vector< NXString > &strings)
 Sets all of the strings stored with this UDO
Created in NX5.0.0. More...
 
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. More...
 
void SetUserDefinedClass (NXOpen::UserDefinedObjects::UserDefinedClass *userDefinedClass)
 Sets the NXOpen::UserDefinedObjects::UserDefinedClass for this UDO
Created in NX5.0.0. More...
 
void SetVolumes (const std::vector< double > &volumes)
 Sets all of the volumes stored with this UDO
Created in NX5.0.0. More...
 
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. More...
 
NXOpen::UserDefinedObjects::UserDefinedClassUserDefinedClass ()
 Returns the NXOpen::UserDefinedObjects::UserDefinedClass for this UDO
Created in NX5.0.0. More...
 
- Public Member Functions inherited from NXOpen::DisplayableObject
void Blank ()
 Blanks the object. More...
 
int Color ()
 Returns the color of the object. More...
 
void Highlight ()
 Highlights the object. More...
 
bool IsBlanked ()
 Returns the blank status of this object. More...
 
int Layer ()
 Returns the layer that the object is in. More...
 
NXOpen::DisplayableObject::ObjectFont LineFont ()
 Returns the line font of the object. More...
 
NXOpen::DisplayableObject::ObjectWidth LineWidth ()
 Returns the line width of the object. More...
 
NXOpen::Point3d NameLocation ()
 Returns the location of the object's name. More...
 
void RedisplayObject ()
 Redisplays the object in all views. More...
 
void RemoveViewDependency ()
 Remove dependency on all views from an object. More...
 
void SetColor (int color)
 Sets the color of the object. More...
 
void SetLayer (int layer)
 Sets the layer that the object is in. More...
 
void SetLineFont (NXOpen::DisplayableObject::ObjectFont font)
 Sets the line font of the object. More...
 
void SetLineWidth (NXOpen::DisplayableObject::ObjectWidth width)
 Sets the line width of the object. More...
 
void SetNameLocation (const NXOpen::Point3d &location)
 Sets the location of the object's name. More...
 
void Unblank ()
 Unblanks the object. More...
 
void Unhighlight ()
 Unhighlights the object. More...
 
- Public Member Functions inherited from NXOpen::NXObject
NXOpen::AttributeIteratorCreateAttributeIterator ()
 Create an attribute iterator. More...
 
void DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type)
 Deletes all attributes of a specific type. More...
 
void DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option)
 Deletes all attributes of a specific type with the option to update or not. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title)
 Deletes an attribute by type and title. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title)
 Deletes an attribute by type and title. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title, NXOpen::Update::Option option)
 Deletes an attribute by type and title with the option to update or not. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title, NXOpen::Update::Option option)
 Deletes an attribute by type and title with the option to update or not. More...
 
void DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const NXString &title, bool deleteEntireArray, NXOpen::Update::Option option)
 Deletes the first attribute encountered with the given Type, Title. More...
 
void DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const char *title, bool deleteEntireArray, NXOpen::Update::Option option)
 Deletes the first attribute encountered with the given Type, Title. More...
 
void DeleteUserAttributes (NXOpen::AttributeIterator *iterator, NXOpen::Update::Option option)
 Deletes the attributes on the object, if any, that satisfy the given iterator
Created in NX8.0.0. More...
 
void DeleteUserAttributes (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option)
 Deletes the attributes encountered with the given Type with option to update or not. More...
 
virtual NXOpen::INXObjectFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual NXOpen::INXObjectFindObject (const char *journalIdentifier)
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetAttributeTitlesByType (NXOpen::NXObject::AttributeType type)
 Gets all the attribute titles of a specific type. More...
 
bool GetBooleanUserAttribute (const NXString &title, int index)
 Gets a boolean attribute by Title and array Index. More...
 
bool GetBooleanUserAttribute (const char *title, int index)
 Gets a boolean attribute by Title and array Index. More...
 
NXOpen::NXObject::ComputationalTime GetComputationalTimeUserAttribute (const NXString &title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXOpen::NXObject::ComputationalTime GetComputationalTimeUserAttribute (const char *title, int index)
 Gets a time attribute by Title and array Index. More...
 
int GetIntegerAttribute (const NXString &title)
 Gets an integer attribute by title. More...
 
int GetIntegerAttribute (const char *title)
 Gets an integer attribute by title. More...
 
int GetIntegerUserAttribute (const NXString &title, int index)
 Gets an integer attribute by Title and array Index. More...
 
int GetIntegerUserAttribute (const char *title, int index)
 Gets an integer attribute by Title and array Index. More...
 
bool GetNextUserAttribute (NXOpen::AttributeIterator *iterator, NXOpen::NXObject::AttributeInformation *info)
 Gets the next attribute encountered on the object, if any, that satisfies the given iterator. More...
 
NXString GetPdmReferenceAttributeValue (const NXString &attributeTitle)
 Gets the value of PDM Reference attribute for given object. More...
 
NXString GetPdmReferenceAttributeValue (const char *attributeTitle)
 Gets the value of PDM Reference attribute for given object. More...
 
double GetRealAttribute (const NXString &title)
 Gets a real attribute by title. More...
 
double GetRealAttribute (const char *title)
 Gets a real attribute by title. More...
 
double GetRealUserAttribute (const NXString &title, int index)
 Gets a real attribute by Title and array Index. More...
 
double GetRealUserAttribute (const char *title, int index)
 Gets a real attribute by Title and array Index. More...
 
NXString GetReferenceAttribute (const NXString &title)
 Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More...
 
NXString GetReferenceAttribute (const char *title)
 Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More...
 
NXString GetStringAttribute (const NXString &title)
 Gets a string attribute value by title. More...
 
NXString GetStringAttribute (const char *title)
 Gets a string attribute value by title. More...
 
NXString GetStringUserAttribute (const NXString &title, int index)
 Gets a string attribute by Title and array Index. More...
 
NXString GetStringUserAttribute (const char *title, int index)
 Gets a string attribute by Title and array Index. More...
 
NXString GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const NXString &title)
 Gets a time attribute by title. More...
 
NXString GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const char *title)
 Gets a time attribute by title. More...
 
NXString GetTimeUserAttribute (const NXString &title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXString GetTimeUserAttribute (const char *title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXOpen::NXObject::AttributeInformation GetUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More...
 
NXOpen::NXObject::AttributeInformation GetUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttribute (const NXString &title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type)
 Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttribute (const char *title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type)
 Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More...
 
NXString GetUserAttributeAsString (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given title, type and array index. More...
 
NXString GetUserAttributeAsString (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given title, type and array index. More...
 
int GetUserAttributeCount (NXOpen::AttributeIterator *iterator)
 Gets the count of set attributes on the object, if any, that satisfy the given iterator. More...
 
int GetUserAttributeCount (NXOpen::AttributeIterator *iterator, bool countArrayAsOneAttribute)
 Gets the count of set attributes on the object, if any, that satisfy the given iterator. More...
 
int GetUserAttributeCount (NXOpen::NXObject::AttributeType type)
 Gets the count of set attributes on the object, if any, of the given type. More...
 
int GetUserAttributeCount (NXOpen::NXObject::AttributeType type, bool includeUnset, bool countArrayAsOneAttribute)
 Gets the count of attributes on the object, if any, of the given type. More...
 
bool GetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type)
 Determine the lock of the given attribute. More...
 
bool GetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type)
 Determine the lock of the given attribute. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (NXOpen::AttributeIterator *iterator)
 Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes ()
 Gets all the attributes that have been set on the given object. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (bool includeUnset)
 Gets all the attributes of the given object. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (bool includeUnset, bool addStringValues)
 Gets all the attributes of the given object. More...
 
std::vector< NXStringGetUserAttributesAsStrings ()
 Gets all the attributes that have been set on the given object. More...
 
int GetUserAttributeSize (const NXString &title, NXOpen::NXObject::AttributeType type)
 Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More...
 
int GetUserAttributeSize (const char *title, NXOpen::NXObject::AttributeType type)
 Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More...
 
std::vector< NXOpen::NXObject * > GetUserAttributeSourceObjects ()
 Returns an array of objects from which this object presents attributes. More...
 
bool HasUserAttribute (NXOpen::AttributeIterator *iterator)
 Determines if an attribute exists on the object, that satisfies the given iterator. More...
 
bool HasUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More...
 
bool HasUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More...
 
virtual bool IsOccurrence ()
 Returns whether this object is an occurrence or not. More...
 
virtual NXString JournalIdentifier ()
 Returns the identifier that would be recorded in a journal for this object. More...
 
virtual NXString Name ()
 Returns the custom name of the object. More...
 
virtual
NXOpen::Assemblies::Component
OwningComponent ()
 Returns the owning component, if this object is an occurrence. More...
 
virtual NXOpen::BasePartOwningPart ()
 Returns the owning part of this object
Created in NX3.0.0. More...
 
virtual void Print ()
 Prints a representation of this object to the system log file. More...
 
virtual NXOpen::INXObjectPrototype ()
 Returns the prototype of this object if it is an occurrence. More...
 
void SetAttribute (const NXString &title, int value)
 Creates or modifies an integer attribute. More...
 
void SetAttribute (const char *title, int value)
 Creates or modifies an integer attribute. More...
 
void SetAttribute (const NXString &title, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetAttribute (const char *title, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title, double value)
 Creates or modifies a real attribute. More...
 
void SetAttribute (const char *title, double value)
 Creates or modifies a real attribute. More...
 
void SetAttribute (const NXString &title, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetAttribute (const char *title, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title, const NXString &value)
 Creates or modifies a string attribute. More...
 
void SetAttribute (const char *title, const char *value)
 Creates or modifies a string attribute. More...
 
void SetAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title)
 Creates or modifies a null attribute which is an attribute with a title and no value. More...
 
void SetAttribute (const char *title)
 Creates or modifies a null attribute which is an attribute with a title and no value. More...
 
void SetAttribute (const NXString &title, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetAttribute (const char *title, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetBooleanUserAttribute (const NXString &title, int index, bool value, NXOpen::Update::Option option)
 Creates or modifies a boolean attribute with the option to update or not. More...
 
void SetBooleanUserAttribute (const char *title, int index, bool value, NXOpen::Update::Option option)
 Creates or modifies a boolean attribute with the option to update or not. More...
 
virtual void SetName (const NXString &name)
 Sets the custom name of the object. More...
 
virtual void SetName (const char *name)
 Sets the custom name of the object. More...
 
void SetPdmReferenceAttribute (const NXString &attributeTitle, const NXString &attributeValue)
 Sets the value of PDM Reference attribute on the object. More...
 
void SetPdmReferenceAttribute (const char *attributeTitle, const char *attributeValue)
 Sets the value of PDM Reference attribute on the object. More...
 
void SetReferenceAttribute (const NXString &title, const NXString &value)
 Creates or modifies a string attribute which uses a reference string. More...
 
void SetReferenceAttribute (const char *title, const char *value)
 Creates or modifies a string attribute which uses a reference string. More...
 
void SetReferenceAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute which uses a reference string, with the option to update or not. More...
 
void SetReferenceAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute which uses a reference string, with the option to update or not. More...
 
void SetTimeAttribute (const NXString &title, const NXString &value)
 Creates or modifies a time attribute. More...
 
void SetTimeAttribute (const char *title, const char *value)
 Creates or modifies a time attribute. More...
 
void SetTimeAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const NXString &title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const char *title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetUserAttribute (const NXOpen::NXObject::AttributeInformation &info, NXOpen::Update::Option option)
 Creates or modifies an attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type, bool lock)
 Lock or unlock the given attribute. More...
 
void SetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type, bool lock)
 Lock or unlock the given attribute. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

JA interface for the UserDefinedObject object
Created in NX5.0.0.


Member Enumeration Documentation

Status of the object linked to a NXOpen::Features::UserDefinedObjectFeature.

Enumerator
LinkStatusUpToDate 

The associated object is up to date.

LinkStatusOutOfDate 

The associated object is out of date.

Available link types for a NXOpen::Features::UserDefinedObjectFeature .

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

NXString NXOpen::UserDefinedObjects::UserDefinedObject::ClassName ( )

Returns the class name of this UDO
Created in NX5.0.0.



License requirements : None

void NXOpen::UserDefinedObjects::UserDefinedObject::ClearUserDefinedObjectStatus ( )

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.

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
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetDoubles ( )

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
std::vector<int> NXOpen::UserDefinedObjects::UserDefinedObject::GetIntegers ( )

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
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetLengths ( )

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
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.

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
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.

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
std::vector<NXString> NXOpen::UserDefinedObjects::UserDefinedObject::GetStrings ( )

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
NXOpen::Features::UserDefinedObjectFeature* NXOpen::UserDefinedObjects::UserDefinedObject::GetUserDefinedObjectFeature ( )

Gets the NXOpen::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
int NXOpen::UserDefinedObjects::UserDefinedObject::GetUserDefinedObjectStatus ( )

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
std::vector<double> NXOpen::UserDefinedObjects::UserDefinedObject::GetVolumes ( )

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
std::vector<NXOpen::UserDefinedObjects::UserDefinedObject::LinkDefinition> NXOpen::UserDefinedObjects::UserDefinedObject::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.

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
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.

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
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

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
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

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
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.
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

Parameters
linkTypeThe type of links you wish to set
linksNew 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

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.
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

Parameters
stringsNew Array of strings stored with this UDO
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.
void NXOpen::UserDefinedObjects::UserDefinedObject::SetUserDefinedClass ( NXOpen::UserDefinedObjects::UserDefinedClass userDefinedClass)

Sets the NXOpen::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.
NXOpen::UserDefinedObjects::UserDefinedClass* NXOpen::UserDefinedObjects::UserDefinedObject::UserDefinedClass ( )

Returns the NXOpen::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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.