NXOpen .NET Reference  12.0.0
Classes | Public Member Functions | Protected Member Functions | List of all members
NXOpen.PDM.AlternateIdManager Class Reference

This class is responsible for setting and getting NX Manager database attribute. More...

Inheritance diagram for NXOpen.PDM.AlternateIdManager:

Classes

struct  _AlternateIdsData
 Contains alternate Ids data
 
struct  _AssignAlternateRevData
 Contains alternate Revision Id data
 
struct  AlternateIdsData
 Contains alternate Ids data More...
 
struct  AssignAlternateRevData
 Contains alternate Revision Id data More...
 

Public Member Functions

unsafe void SetContext (string context)
 Sets the value of a context. More...
 
unsafe string GetContext ()
 Gets the value of a context as it is currently set on this manager class. More...
 
unsafe string[] GetAllContexts ()
 Gets a list of all the available contexts. More...
 
unsafe void SetIdType (string idType)
 Sets the value of an ID type. More...
 
unsafe string GetIdType ()
 Gets the value of a ID type as it is currently set on this manager class. More...
 
unsafe string[] GetAllIdTypes (string context)
 Gets a list of all the available ID types for a given context. More...
 
unsafe void SetAlternateItemId (string alternateItemId)
 Sets the value of the alternate item ID. More...
 
unsafe void AssignAlternateId (out string alternateItemId, out string alternateRevId)
 This method generates alternate item and revision IDs and sets these generated values on this manager class. More...
 
unsafe string GetAlternateItemId ()
 Gets the value of a alternate ID as it is currently set on this manager class. More...
 
unsafe void SetAlternateRevId (string alternateRevId)
 Sets the value of the alternate rev ID. More...
 
unsafe string AssignAlternateRevId ()
 This method generates an alternate rev ID and sets this generated value on this manager class. More...
 
unsafe string GetAlternateRevId ()
 Gets the value of a alternate rev ID as it is currently set on this manager class. More...
 
unsafe void SetAlternateName (string alternateName)
 Sets the value of the alternate name. More...
 
unsafe string GetAlternateName ()
 Gets the value of a alternate name as it is currently set on this manager class. More...
 
unsafe void SetAlternateDescription (string alternateDescription)
 Sets the value of the alternate description. More...
 
unsafe string GetAlternateDescription ()
 Gets the value of a alternate name as it is currently set on this manager class. More...
 
unsafe void SetAlternateIdAsDefaultIndentifier (bool alternateIdAsDefaultIndentifier)
 Sets whether the alternate ID information should be the default indentifier. More...
 
unsafe bool GetAlternateIdAsDefaultIndentifier ()
 Gets (as it is currently set on this manager class) whether the alternate ID information should be the default indentifier. More...
 
unsafe void SetAlternateIdInformation (string context, string idType, string alternateItemId, string alternateRevId, string alternateName, string alternateDescription, bool alternateIdAsDefaultIndentifier)
 Sets alternate ID information on this manager class. More...
 
unsafe void CreateAlternateIdInformation ()
 Adds the alternate ID information set by calling SetAlternateIdInformation and the various "assign" and "set" methods. More...
 
unsafe
NXOpen.PDM.AlternateIdManager.AlternateIdsData 
AssignAlternateIds (string context, string idType)
 Generates the alternate ID information by calling AssignAlternateIds . More...
 
unsafe
NXOpen.PDM.AlternateIdManager.AssignAlternateRevData 
AssignAlternateRevision ()
 Generates the alternate Revision ID information. More...
 

Protected Member Functions

override void FreeResource ()
 Free resources associated with the instance. More...
 

Detailed Description

This class is responsible for setting and getting NX Manager database attribute.

Use PDM.PartBuilder.NewAlternateIdManager to get the instance of this class.

Created in NX4.0.0

Member Function Documentation

unsafe void NXOpen.PDM.AlternateIdManager.AssignAlternateId ( out string  alternateItemId,
out string  alternateRevId 
)

This method generates alternate item and revision IDs and sets these generated values on this manager class.

Note that the ID context and type must be set on the builder in order for this assign operation to be successful.

Created in NX4.0.0

License requirements: None.

Parameters
alternateItemIdthe newly generated alternate item ID value that was set on this manager
alternateRevIdthe newly generated alternate revision ID value that was set on this manager
unsafe NXOpen.PDM.AlternateIdManager.AlternateIdsData NXOpen.PDM.AlternateIdManager.AssignAlternateIds ( string  context,
string  idType 
)

Generates the alternate ID information by calling AssignAlternateIds .

Returns pointer to PDM.Altids.AlternateIdsData object. Sets Alternate Name,Alternate Id,Alternate Revision ,Alternate Description, flag for alternate Id modifiable and flag for revision modifiable into Alternate Manager object.

Created in NX5.0.0

License requirements: None.

Parameters
contextthe context
idTypethe Id type
Returns
Contains alternate Ids data
unsafe string NXOpen.PDM.AlternateIdManager.AssignAlternateRevId ( )

This method generates an alternate rev ID and sets this generated value on this manager class.

Note that the ID context and type must be set on the builder in order for this assign operation to be successful.

Created in NX4.0.0

License requirements: None.

Returns
the newly generated alternate rev ID value that was set on this manager
unsafe NXOpen.PDM.AlternateIdManager.AssignAlternateRevData NXOpen.PDM.AlternateIdManager.AssignAlternateRevision ( )

Generates the alternate Revision ID information.

Sets Alternate Revision and flag for revision modifiable into Alternate Manager object.

Created in NX5.0.0

License requirements: None.

Returns
Contains alternate Revision Id data
unsafe void NXOpen.PDM.AlternateIdManager.CreateAlternateIdInformation ( )

Adds the alternate ID information set by calling SetAlternateIdInformation and the various "assign" and "set" methods.

The context, ID type, alternate ID, alternate revision ID, and the alternate name must all be set before calling this method.

Created in NX4.0.0

License requirements: None.

override void NXOpen.PDM.AlternateIdManager.FreeResource ( )
protected

Free resources associated with the instance.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Created in NX4.0.0

License requirements: None.

unsafe string [] NXOpen.PDM.AlternateIdManager.GetAllContexts ( )

Gets a list of all the available contexts.

Created in NX4.0.0

License requirements: None.

Returns
list of contexts
unsafe string [] NXOpen.PDM.AlternateIdManager.GetAllIdTypes ( string  context)

Gets a list of all the available ID types for a given context.

Created in NX4.0.0

License requirements: None.

Parameters
contextthe context
Returns
list of ID types
unsafe string NXOpen.PDM.AlternateIdManager.GetAlternateDescription ( )

Gets the value of a alternate name as it is currently set on this manager class.

Created in NX4.0.0

License requirements: None.

Returns
the current value of the alternate description on this manager
unsafe bool NXOpen.PDM.AlternateIdManager.GetAlternateIdAsDefaultIndentifier ( )

Gets (as it is currently set on this manager class) whether the alternate ID information should be the default indentifier.

Created in NX4.0.0

License requirements: None.

Returns
the current value of option on this manager
unsafe string NXOpen.PDM.AlternateIdManager.GetAlternateItemId ( )

Gets the value of a alternate ID as it is currently set on this manager class.

Created in NX4.0.0

License requirements: None.

Returns
the current value of the alternate item ID on this manager
unsafe string NXOpen.PDM.AlternateIdManager.GetAlternateName ( )

Gets the value of a alternate name as it is currently set on this manager class.

Created in NX4.0.0

License requirements: None.

Returns
the current value of the alternate name on this manager
unsafe string NXOpen.PDM.AlternateIdManager.GetAlternateRevId ( )

Gets the value of a alternate rev ID as it is currently set on this manager class.

Created in NX4.0.0

License requirements: None.

Returns
the current value of the alternate rev ID on this manager
unsafe string NXOpen.PDM.AlternateIdManager.GetContext ( )

Gets the value of a context as it is currently set on this manager class.

Created in NX4.0.0

License requirements: None.

Returns
the current value of the context on this manager
unsafe string NXOpen.PDM.AlternateIdManager.GetIdType ( )

Gets the value of a ID type as it is currently set on this manager class.

Created in NX4.0.0

License requirements: None.

Returns
the current value of the ID type on this manager
unsafe void NXOpen.PDM.AlternateIdManager.SetAlternateDescription ( string  alternateDescription)

Sets the value of the alternate description.

Created in NX4.0.0

License requirements: None.

Parameters
alternateDescriptionthe new value the alternate description is to be set to
unsafe void NXOpen.PDM.AlternateIdManager.SetAlternateIdAsDefaultIndentifier ( bool  alternateIdAsDefaultIndentifier)

Sets whether the alternate ID information should be the default indentifier.

Created in NX4.0.0

License requirements: None.

Parameters
alternateIdAsDefaultIndentifierthe new value the option is to be set to
unsafe void NXOpen.PDM.AlternateIdManager.SetAlternateIdInformation ( string  context,
string  idType,
string  alternateItemId,
string  alternateRevId,
string  alternateName,
string  alternateDescription,
bool  alternateIdAsDefaultIndentifier 
)

Sets alternate ID information on this manager class.

a null reference (Nothing in Visual Basic) can be specified for parameters which are set via other set or assign methods on this builder.

Created in NX4.0.0

License requirements: None.

Parameters
contextthe new value the context is to be set to
idTypethe new value the ID type is to be set to
alternateItemIdthe new value the alternate item ID is to be set to
alternateRevIdthe new value the alternate rev ID is to be set to
alternateNamethe new value the alternate name is to be set to
alternateDescriptionthe new value the alternate description is to be set to
alternateIdAsDefaultIndentifierthe new value the option is to be set to
unsafe void NXOpen.PDM.AlternateIdManager.SetAlternateItemId ( string  alternateItemId)

Sets the value of the alternate item ID.

Created in NX4.0.0

License requirements: None.

Parameters
alternateItemIdthe new value the alternate item ID is to be set to
unsafe void NXOpen.PDM.AlternateIdManager.SetAlternateName ( string  alternateName)

Sets the value of the alternate name.

Created in NX4.0.0

License requirements: None.

Parameters
alternateNamethe new value the alternate name is to be set to
unsafe void NXOpen.PDM.AlternateIdManager.SetAlternateRevId ( string  alternateRevId)

Sets the value of the alternate rev ID.

Created in NX4.0.0

License requirements: None.

Parameters
alternateRevIdthe new value the alternate rev ID is to be set to
unsafe void NXOpen.PDM.AlternateIdManager.SetContext ( string  context)

Sets the value of a context.

Created in NX4.0.0

License requirements: None.

Parameters
contextthe new value the context is to be set to
unsafe void NXOpen.PDM.AlternateIdManager.SetIdType ( string  idType)

Sets the value of an ID type.

Created in NX4.0.0

License requirements: None.

Parameters
idTypethe new value the ID type is to be set to

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