NX Open C++ Reference Guide
|
Provides utilities to to eliminate certain inaccessible objects from the part file. More...
Public Types | |
enum | CleanupParts { CleanupPartsWork, CleanupPartsComponents, CleanupPartsAll } |
Which parts to clean up. More... | |
enum | DeleteGroups { DeleteGroupsNone, DeleteGroupsUnnamed, DeleteGroupsAll } |
Which empty groups to clean up. More... | |
enum | ResetComponentDisplayAction { ResetComponentDisplayActionNo, ResetComponentDisplayActionRemoveRedundantChanges, ResetComponentDisplayActionRemoveAllChanges } |
Assembly display clean up action. More... | |
Public Member Functions | |
bool | CleanupAssemblyConstraints () |
Returns the option that specifies whether to cleanup assembly constraints. More... | |
bool | CleanupCAMObjects () |
Returns the option that specifies whether to delete or fix any corrupt internal CAM objects. More... | |
bool | CleanupDraftingObjects () |
Returns the option that specifies whether to perform drafting cleanup. More... | |
bool | CleanupFeatureData () |
Returns the option that specifies whether to perform solid cleanup. More... | |
bool | CleanupMatingData () |
Returns the option that specifies whether to cleanup mating data. More... | |
bool | CleanupRoutingData () |
Returns the option which determines if the routing part cleanup option should be performed. More... | |
bool | DeleteBrokenInterpartLinks () |
Returns the option that specifies whether or not to delete all inter-part links where one or more components in that inter-part link have been removed. More... | |
bool | DeleteDuplicateLights () |
Returns the option that specifies whether to delete duplicate light source objects from the part file. More... | |
bool | DeleteInvalidAttributes () |
Returns the option that specifies whether to delete all invalid user attributes from the part file. More... | |
bool | DeleteMaterials () |
Returns the option that specifies whether to delete all materials from the part file. More... | |
bool | DeleteSpreadSheetData () |
Returns the option that specifies whether to delete all spreadsheets from the part file. More... | |
bool | DeleteUnusedExpressions () |
Returns the option that specifies whether to delete expressions that are not used in the part. More... | |
bool | DeleteUnusedFonts () |
Returns the option that specifies whether to remove character fonts that are not used in any drafting text in the current part. More... | |
bool | DeleteUnusedObjects () |
Returns the option that specifies whether to delete all extraneous objects from the work part Created in NX3.0.0. More... | |
bool | DeleteVisualEditorData () |
Returns the option that specifies whether to delete Visual Editor data from the part file. More... | |
void | DoCleanup () |
Actually performs the part cleanup operation according to the properties set on this object Created in NX3.0.0. More... | |
bool | FixOffplaneSketchCurves () |
Returns the option that specifies whether to fix off-plane sketch curves. More... | |
NXOpen::PartCleanup::DeleteGroups | GroupsToDelete () |
Returns the option that specifies what empty groups should be deleted. More... | |
NXOpen::PartCleanup::CleanupParts | PartsToCleanup () |
Returns the option that specifies what parts will be cleaned up when PartCleanup::DoCleanup is called. More... | |
void | Reset () |
Resets all the properties back to the default values (i.e. More... | |
NXOpen::PartCleanup::ResetComponentDisplayAction | ResetComponentDisplay () |
Returns the option that specifies whether to remove assembly-specific geometry in component parts. More... | |
void | SetCleanupAssemblyConstraints (bool option) |
Sets the option that specifies whether to cleanup assembly constraints. More... | |
void | SetCleanupCAMObjects (bool option) |
Sets the option that specifies whether to delete or fix any corrupt internal CAM objects. More... | |
void | SetCleanupDraftingObjects (bool option) |
Sets the option that specifies whether to perform drafting cleanup. More... | |
void | SetCleanupFeatureData (bool option) |
Sets the option that specifies whether to perform solid cleanup. More... | |
void | SetCleanupMatingData (bool option) |
Sets the option that specifies whether to cleanup mating data. More... | |
void | SetCleanupRoutingData (bool option) |
Sets the option which determines if the routing part cleanup option should be performed. More... | |
void | SetDeleteBrokenInterpartLinks (bool option) |
Sets the option that specifies whether or not to delete all inter-part links where one or more components in that inter-part link have been removed. More... | |
void | SetDeleteDuplicateLights (bool option) |
Sets the option that specifies whether to delete duplicate light source objects from the part file. More... | |
void | SetDeleteInvalidAttributes (bool option) |
Sets the option that specifies whether to delete all invalid user attributes from the part file. More... | |
void | SetDeleteMaterials (bool option) |
Sets the option that specifies whether to delete all materials from the part file. More... | |
void | SetDeleteSpreadSheetData (bool option) |
Sets the option that specifies whether to delete all spreadsheets from the part file. More... | |
void | SetDeleteUnusedExpressions (bool option) |
Sets the option that specifies whether to delete expressions that are not used in the part. More... | |
void | SetDeleteUnusedFonts (bool option) |
Sets the option that specifies whether to remove character fonts that are not used in any drafting text in the current part. More... | |
void | SetDeleteUnusedObjects (bool option) |
Sets the option that specifies whether to delete all extraneous objects from the work part Created in NX3.0.0. More... | |
void | SetDeleteVisualEditorData (bool option) |
Sets the option that specifies whether to delete Visual Editor data from the part file. More... | |
void | SetFixOffplaneSketchCurves (bool option) |
Sets the option that specifies whether to fix off-plane sketch curves. More... | |
void | SetGroupsToDelete (NXOpen::PartCleanup::DeleteGroups option) |
Sets the option that specifies what empty groups should be deleted. More... | |
void | SetPartsToCleanup (NXOpen::PartCleanup::CleanupParts option) |
Sets the option that specifies what parts will be cleaned up when PartCleanup::DoCleanup is called. More... | |
void | SetResetComponentDisplay (NXOpen::PartCleanup::ResetComponentDisplayAction option) |
Sets the option that specifies whether to remove assembly-specific geometry in component parts. More... | |
void | SetTurnOffHighlighting (bool option) |
Sets the option that specifies whether to turn off highlighting for all displayable objects in the displayed part. More... | |
bool | TurnOffHighlighting () |
Returns the option that specifies whether to turn off highlighting for all displayable objects in the displayed part. More... | |
virtual | ~PartCleanup () |
Free resources associated with the instance. More... | |
Public Member Functions inherited from NXOpen::TransientObject | |
void * | GetHandle () |
Handle of the internal object represented by this object. More... | |
Provides utilities to to eliminate certain inaccessible objects from the part file.
To use this utility, first create an instance of this class by calling Session::NewPartCleanup . Then, set any part cleanup actions that you wish to be performed by setting the appropriate properties on this class. By default, all the properties are set to "false" or "none". Once all the properties are set, then call the PartCleanup::DoCleanup method to actually perform the cleanup action.
For more information on what the various part cleanup options do, see the Part Cleanup Options Dialog section of the Gateway Help.
Created in NX3.0.0.
|
virtual |
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 NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::CleanupAssemblyConstraints | ( | ) |
Returns the option that specifies whether to cleanup assembly constraints.
Created in NX7.5.5.
License requirements : None
bool NXOpen::PartCleanup::CleanupCAMObjects | ( | ) |
Returns the option that specifies whether to delete or fix any corrupt internal CAM objects.
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::CleanupDraftingObjects | ( | ) |
Returns the option that specifies whether to perform drafting cleanup.
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::CleanupFeatureData | ( | ) |
Returns the option that specifies whether to perform solid cleanup.
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::CleanupMatingData | ( | ) |
Returns the option that specifies whether to cleanup mating data.
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::CleanupRoutingData | ( | ) |
Returns the option which determines if the routing part cleanup option should be performed.
Created in NX7.5.4.
License requirements : None
bool NXOpen::PartCleanup::DeleteBrokenInterpartLinks | ( | ) |
Returns the option that specifies whether or not to delete all inter-part links where one or more components in that inter-part link have been removed.
Created in NX5.0.0.
License requirements : None
bool NXOpen::PartCleanup::DeleteDuplicateLights | ( | ) |
Returns the option that specifies whether to delete duplicate light source objects from the part file.
Created in NX7.5.3.
License requirements : None
bool NXOpen::PartCleanup::DeleteInvalidAttributes | ( | ) |
Returns the option that specifies whether to delete all invalid user attributes from the part file.
Created in NX8.0.3.
License requirements : None
bool NXOpen::PartCleanup::DeleteMaterials | ( | ) |
Returns the option that specifies whether to delete all materials from the part file.
Created in NX7.5.2.
License requirements : None
bool NXOpen::PartCleanup::DeleteSpreadSheetData | ( | ) |
Returns the option that specifies whether to delete all spreadsheets from the part file.
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::DeleteUnusedExpressions | ( | ) |
Returns the option that specifies whether to delete expressions that are not used in the part.
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::DeleteUnusedFonts | ( | ) |
Returns the option that specifies whether to remove character fonts that are not used in any drafting text in the current part.
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::DeleteUnusedObjects | ( | ) |
Returns the option that specifies whether to delete all extraneous objects from the work part
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::DeleteVisualEditorData | ( | ) |
Returns the option that specifies whether to delete Visual Editor data from the part file.
Created in NX3.0.0.
License requirements : None
void NXOpen::PartCleanup::DoCleanup | ( | ) |
Actually performs the part cleanup operation according to the properties set on this object
Created in NX3.0.0.
License requirements : None
bool NXOpen::PartCleanup::FixOffplaneSketchCurves | ( | ) |
Returns the option that specifies whether to fix off-plane sketch curves.
Created in NX3.0.0.
License requirements : None
NXOpen::PartCleanup::DeleteGroups NXOpen::PartCleanup::GroupsToDelete | ( | ) |
Returns the option that specifies what empty groups should be deleted.
Created in NX3.0.0.
License requirements : None
NXOpen::PartCleanup::CleanupParts NXOpen::PartCleanup::PartsToCleanup | ( | ) |
Returns the option that specifies what parts will be cleaned up when PartCleanup::DoCleanup is called.
Created in NX3.0.0.
License requirements : None
void NXOpen::PartCleanup::Reset | ( | ) |
Resets all the properties back to the default values (i.e.
everything turned off).
Created in NX3.0.0.
License requirements : None
NXOpen::PartCleanup::ResetComponentDisplayAction NXOpen::PartCleanup::ResetComponentDisplay | ( | ) |
Returns the option that specifies whether to remove assembly-specific geometry in component parts.
Created in NX3.0.0.
License requirements : None
void NXOpen::PartCleanup::SetCleanupAssemblyConstraints | ( | bool | option | ) |
Sets the option that specifies whether to cleanup assembly constraints.
Created in NX7.5.5.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetCleanupCAMObjects | ( | bool | option | ) |
Sets the option that specifies whether to delete or fix any corrupt internal CAM objects.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetCleanupDraftingObjects | ( | bool | option | ) |
Sets the option that specifies whether to perform drafting cleanup.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetCleanupFeatureData | ( | bool | option | ) |
Sets the option that specifies whether to perform solid cleanup.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetCleanupMatingData | ( | bool | option | ) |
Sets the option that specifies whether to cleanup mating data.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetCleanupRoutingData | ( | bool | option | ) |
Sets the option which determines if the routing part cleanup option should be performed.
Created in NX7.5.4.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteBrokenInterpartLinks | ( | bool | option | ) |
Sets the option that specifies whether or not to delete all inter-part links where one or more components in that inter-part link have been removed.
Created in NX5.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteDuplicateLights | ( | bool | option | ) |
Sets the option that specifies whether to delete duplicate light source objects from the part file.
Created in NX7.5.3.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteInvalidAttributes | ( | bool | option | ) |
Sets the option that specifies whether to delete all invalid user attributes from the part file.
Created in NX8.0.3.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteMaterials | ( | bool | option | ) |
Sets the option that specifies whether to delete all materials from the part file.
Created in NX7.5.2.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteSpreadSheetData | ( | bool | option | ) |
Sets the option that specifies whether to delete all spreadsheets from the part file.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteUnusedExpressions | ( | bool | option | ) |
Sets the option that specifies whether to delete expressions that are not used in the part.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteUnusedFonts | ( | bool | option | ) |
Sets the option that specifies whether to remove character fonts that are not used in any drafting text in the current part.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteUnusedObjects | ( | bool | option | ) |
Sets the option that specifies whether to delete all extraneous objects from the work part
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetDeleteVisualEditorData | ( | bool | option | ) |
Sets the option that specifies whether to delete Visual Editor data from the part file.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetFixOffplaneSketchCurves | ( | bool | option | ) |
Sets the option that specifies whether to fix off-plane sketch curves.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetGroupsToDelete | ( | NXOpen::PartCleanup::DeleteGroups | option | ) |
Sets the option that specifies what empty groups should be deleted.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetPartsToCleanup | ( | NXOpen::PartCleanup::CleanupParts | option | ) |
Sets the option that specifies what parts will be cleaned up when PartCleanup::DoCleanup is called.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetResetComponentDisplay | ( | NXOpen::PartCleanup::ResetComponentDisplayAction | option | ) |
Sets the option that specifies whether to remove assembly-specific geometry in component parts.
Created in NX3.0.0.
License requirements : None
option | option |
void NXOpen::PartCleanup::SetTurnOffHighlighting | ( | bool | option | ) |
Sets the option that specifies whether to turn off highlighting for all displayable objects in the displayed part.
Created in NX3.0.0.
License requirements : None
option | option |
bool NXOpen::PartCleanup::TurnOffHighlighting | ( | ) |
Returns the option that specifies whether to turn off highlighting for all displayable objects in the displayed part.
Created in NX3.0.0.
License requirements : None