NXOpen .NET Reference
12.0.0
|
Represents a class that performs various operations on NonMaster Datasets More...
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 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 NXOpen.PDM.NonMasterData.CopyNonMasterPartsOption | GetCopyNonMasterPartsOption (NXOpen.PDM.LogicalObject logicalObject) |
Get the nonmasters saveAs option for given logical object. 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... | |
unsafe bool | EditNonMasterToCopyName (NXOpen.PDM.LogicalObject logicalObject, string oldName, string newName) |
Sets the name the non-master part will get saved as. More... | |
Protected Member Functions | |
override void | FreeResource () |
Frees the object from memory. More... | |
Represents a class that performs various operations on NonMaster Datasets
Created in NX11.0.0
unsafe void NXOpen.PDM.NonMasterData.CreateNonMasterListForLogicalObject | ( | NXOpen.PDM.LogicalObject | logicalObject | ) |
Create NonMaster list for the selected logical Object
Created in NX11.0.0
License requirements: None.
logicalObject |
unsafe bool NXOpen.PDM.NonMasterData.EditNonMasterToCopyName | ( | NXOpen.PDM.LogicalObject | logicalObject, |
string | oldName, | ||
string | newName | ||
) |
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.
logicalObject | |
oldName | the non-master part whose save as name is being set here |
newName | the new name |
|
protected |
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.
unsafe NXOpen.PDM.NonMasterData.CopyNonMasterPartsOption NXOpen.PDM.NonMasterData.GetCopyNonMasterPartsOption | ( | NXOpen.PDM.LogicalObject | logicalObject | ) |
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.
logicalObject |
unsafe string [] NXOpen.PDM.NonMasterData.GetNonMasterListForCopyLogicalObject | ( | NXOpen.PDM.LogicalObject | logicalObject | ) |
Gets NonMaster list for the given logical Object
Created in NX11.0.0
License requirements: None.
logicalObject |
unsafe bool NXOpen.PDM.NonMasterData.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.
Created in NX11.0.0
License requirements: None.
logicalObject | |
partName | the non-master part that the caller wants to save or not save |
unsafe void NXOpen.PDM.NonMasterData.SetNonMasterSaveAsOption | ( | NXOpen.PDM.LogicalObject | logicalObject, |
NXOpen.PDM.NonMasterData.CopyNonMasterPartsOption | saveOption | ||
) |
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.
logicalObject | |
saveOption |
unsafe void NXOpen.PDM.NonMasterData.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.
True means that it will be saved. False means that it will not be saved.
Created in NX11.0.0
License requirements: None.
logicalObject | |
partName | the non-master part whose save option is being set here |