NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Protected Member Functions | List of all members
NXOpen.PDM.NonMasterData Class Reference

Represents a class that performs various operations on NonMaster Datasets More...

Inheritance diagram for NXOpen.PDM.NonMasterData:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Types

enum  CopyNonMasterPartsOption { All, None }
 This enum is used to specify which non-master parts should be copied to new part during the save as operation. More...
 

Public Member Functions

unsafe void CreateNonMasterListForLogicalObject (NXOpen.PDM.LogicalObject logicalObject)
 Create NonMaster list for the selected logical Object More...
 
unsafe bool EditNonMasterToCopyName (NXOpen.PDM.LogicalObject logicalObject, string oldName, string newName)
 Sets the name the non-master part will get saved as. More...
 
unsafe
NXOpen.PDM.NonMasterData.CopyNonMasterPartsOption 
GetCopyNonMasterPartsOption (NXOpen.PDM.LogicalObject logicalObject)
 Get the nonmasters saveAs option for given logical object. More...
 
unsafe string[] GetNonMasterListForCopyLogicalObject (NXOpen.PDM.LogicalObject logicalObject)
 Gets NonMaster list for the given logical Object More...
 
unsafe bool IsNonMasterForLogicalObjectBeingCopied (NXOpen.PDM.LogicalObject logicalObject, string partName)
 Returns whether or not the non-master part specified for the given NXOpen.PDM.LogicalObject will actually get saved during the save as operation. More...
 
unsafe void SetNonMasterSaveAsOption (NXOpen.PDM.LogicalObject logicalObject, NXOpen.PDM.NonMasterData.CopyNonMasterPartsOption saveOption)
 Set the nonmasters saveAs option for given logical object. More...
 
unsafe void SetSelectedNonMasterToCopy (NXOpen.PDM.LogicalObject logicalObject, string partName)
 Sets whether or not the non-master part specified will actually get saved during the save as operation. More...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. More...
 

Additional Inherited Members

- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents a class that performs various operations on NonMaster Datasets

Created in NX11.0.0

Member Enumeration Documentation

This enum is used to specify which non-master parts should be copied to new part during the save as operation.

Enumerator
All 

save all during save as

None 

save none during save as

Member Function Documentation

unsafe void NXOpen.PDM.NonMasterData.CreateNonMasterListForLogicalObject ( NXOpen.PDM.LogicalObject  logicalObject)
inline

Create NonMaster list for the selected logical Object

Created in NX11.0.0

License requirements: None.

Parameters
logicalObject
unsafe bool NXOpen.PDM.NonMasterData.EditNonMasterToCopyName ( NXOpen.PDM.LogicalObject  logicalObject,
string  oldName,
string  newName 
)
inline

Sets the name the non-master part will get saved as.

It will get saved as the original non-master name if this method is not called.

Created in NX11.0.0

License requirements: None.

Parameters
logicalObject
oldNamethe non-master part whose save as name is being set here
newNamethe new name
Returns
flag to indicate whether the newName is valid
override void NXOpen.PDM.NonMasterData.FreeResource ( )
inlineprotectedvirtual

Frees the object from memory.

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

License requirements: None.

Implements NXOpen.TransientObject.

unsafe NXOpen.PDM.NonMasterData.CopyNonMasterPartsOption NXOpen.PDM.NonMasterData.GetCopyNonMasterPartsOption ( NXOpen.PDM.LogicalObject  logicalObject)
inline

Get the nonmasters saveAs option for given logical object.

Save As option can be one of these NonMasterData.CopyNonMasterPartsOption.All and NonMasterData.CopyNonMasterPartsOption.None

Created in NX11.0.0

License requirements: None.

Parameters
logicalObject
Returns
unsafe string [] NXOpen.PDM.NonMasterData.GetNonMasterListForCopyLogicalObject ( NXOpen.PDM.LogicalObject  logicalObject)
inline

Gets NonMaster list for the given logical Object

Created in NX11.0.0

License requirements: None.

Parameters
logicalObject
Returns
Non-master part file names
unsafe bool NXOpen.PDM.NonMasterData.IsNonMasterForLogicalObjectBeingCopied ( NXOpen.PDM.LogicalObject  logicalObject,
string  partName 
)
inline

Returns whether or not the non-master part specified for the given NXOpen.PDM.LogicalObject will actually get saved during the save as operation.

Created in NX11.0.0

License requirements: None.

Parameters
logicalObject
partNamethe non-master part that the caller wants to save or not save
Returns
True means that this non-master will be saved. False means that this non-master will not be saved.
unsafe void NXOpen.PDM.NonMasterData.SetNonMasterSaveAsOption ( NXOpen.PDM.LogicalObject  logicalObject,
NXOpen.PDM.NonMasterData.CopyNonMasterPartsOption  saveOption 
)
inline

Set the nonmasters saveAs option for given logical object.

Save As option can be one of these NonMasterData.CopyNonMasterPartsOption.All and NonMasterData.CopyNonMasterPartsOption.None

Created in NX11.0.0

License requirements: None.

Parameters
logicalObject
saveOption
unsafe void NXOpen.PDM.NonMasterData.SetSelectedNonMasterToCopy ( NXOpen.PDM.LogicalObject  logicalObject,
string  partName 
)
inline

Sets whether or not the non-master part specified will actually get saved during the save as operation.

True means that it will be saved. False means that it will not be saved.

Created in NX11.0.0

License requirements: None.

Parameters
logicalObject
partNamethe non-master part whose save option is being set here

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