NX Open C++ Reference Guide
|
Represents an object that manages PMI objects. More...
Public Member Functions | |
void | ApplyModelViewOrder (const NXString &savedOrderName) |
Applies a saved explicit order Created in NX9.0.0. | |
void | ApplyModelViewOrder (const char *savedOrderName) |
Applies a saved explicit order Created in NX9.0.0. | |
std::vector < NXOpen::Annotations::Annotation * > | CopyDisplayInstanceObjects (const std::vector< NXOpen::Annotations::Annotation * > &inputObjects, NXOpen::View *view) |
Creates copies of input PMI Display Instance objects in the part. | |
std::vector < NXOpen::Annotations::Pmi * > | CopyObjects (const std::vector< NXOpen::Annotations::Pmi * > &inputObjects) |
Creates copies of input PMI objects in the part. | |
NXOpen::Annotations::ArbitraryAreaSeedBuilder * | CreateArbitraryAreaSeedBuilder () |
Creates a Annotations::ArbitraryAreaSeedBuilder. | |
NXOpen::Annotations::PMIExplicitOrderBuilder * | CreateExplicitOrderBuilder () |
Creates a Annotations::PMIExplicitOrderBuilder. | |
void | CutDisplayInstanceObjects (const std::vector< NXOpen::Annotations::Annotation * > &inputObjects, const std::vector< NXOpen::View * > &cutViews, NXOpen::View *viewOfPaste) |
Cuts the input PMI Display Instance objects in the part. | |
void | DeleteReplaceAnnotation (NXOpen::Annotations::Annotation *oldAnnotation, NXOpen::Annotations::Annotation *newAnnotation) |
Deletes or replaces one annotation with another. | |
NXOpen::Annotations::Pmi * | GetDisplayInstanceParent (NXOpen::Annotations::Annotation *displayInstance) |
Returns the PMI Display Instance parent. | |
NXOpen::Annotations::Annotation * | GetInheritParent (NXOpen::Annotations::Annotation *inheritedPmi) |
Returns the inherited PMI parent. | |
bool | IsEffectivityFiltered (NXOpen::Annotations::Pmi *object) |
The flag indicates whether the PMI is an effectivity filtered PMI because of assembly component configuration from managed environment. | |
bool | IsInheritedPmi (NXOpen::Annotations::Annotation *object) |
The flag indicating whether the annotation is an inherited PMI on the drawing sheet/view. | |
NXOpen::Annotations::PmiAttributeCollection * | PmiAttributes () |
PmiAttribute collection Created in NX3.0.0. | |
NXOpen::Annotations::PmiLightweightSectionCollection * | PmiLightweightSections () |
Lightweight Section View collection Created in NX7.5.0. | |
NXOpen::Annotations::PmiRegionCollection * | PmiRegions () |
Region collection Created in NX6.0.2. | |
NXOpen::Annotations::PmiCollection * | Pmis () |
Pmi collection Created in NX3.0.0. | |
NXOpen::Annotations::PmiWaveCollection * | PmiWave () |
WAVE collection Created in NX8.0.0. | |
void | Resize () |
Resizes all PMI symbols displayed in the active view Created in NX8.0.0. | |
void | RestoreUnpastedObjects () |
Restores the unpasted PMI objects in the part. | |
void | SaveModelViewOrder (std::vector< NXString > &orderList, const NXString &saveName) |
Saves an explicit order defined by the user Created in NX9.0.0. | |
void | SaveModelViewOrder (std::vector< NXString > &orderList, const char *saveName) |
Saves an explicit order defined by the user Created in NX9.0.0. | |
NXOpen::Annotations::SearchModelViewCollection * | SearchModelViews () |
PMI search view collection Created in NX7.5.0. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents an object that manages PMI objects.
To obtain an instance of this class, refer to Part
Created in NX5.0.0.
void NXOpen::Annotations::PmiManager::ApplyModelViewOrder | ( | const NXString & | savedOrderName | ) |
Applies a saved explicit order
Created in NX9.0.0.
License requirements : geometric_tol ("GDT")
savedOrderName | savedordername |
void NXOpen::Annotations::PmiManager::ApplyModelViewOrder | ( | const char * | savedOrderName | ) |
Applies a saved explicit order
Created in NX9.0.0.
License requirements : geometric_tol ("GDT")
savedOrderName | savedordername |
std::vector<NXOpen::Annotations::Annotation *> NXOpen::Annotations::PmiManager::CopyDisplayInstanceObjects | ( | const std::vector< NXOpen::Annotations::Annotation * > & | inputObjects, |
NXOpen::View * | view | ||
) |
Creates copies of input PMI Display Instance objects in the part.
<br> Client must perform update @link Update::DoUpdate Update::DoUpdate@endlink () after calling this method. <br> @return Copies of PMI Display Instance objects
Created in NX5.0.0.
License requirements : geometric_tol ("GDT")
std::vector<NXOpen::Annotations::Pmi *> NXOpen::Annotations::PmiManager::CopyObjects | ( | const std::vector< NXOpen::Annotations::Pmi * > & | inputObjects | ) |
Creates copies of input PMI objects in the part.
<br> Client must perform update @link Update::DoUpdate Update::DoUpdate@endlink after calling this method. <br> @return Copies of PMI objects
Created in NX5.0.0.
License requirements : geometric_tol ("GDT")
inputObjects | PMI objects to be copied |
NXOpen::Annotations::ArbitraryAreaSeedBuilder* NXOpen::Annotations::PmiManager::CreateArbitraryAreaSeedBuilder | ( | ) |
Creates a Annotations::ArbitraryAreaSeedBuilder.
NXOpen::Annotations::PMIExplicitOrderBuilder* NXOpen::Annotations::PmiManager::CreateExplicitOrderBuilder | ( | ) |
Creates a Annotations::PMIExplicitOrderBuilder.
void NXOpen::Annotations::PmiManager::CutDisplayInstanceObjects | ( | const std::vector< NXOpen::Annotations::Annotation * > & | inputObjects, |
const std::vector< NXOpen::View * > & | cutViews, | ||
NXOpen::View * | viewOfPaste | ||
) |
Cuts the input PMI Display Instance objects in the part.
Cut operation makes the PMI Display Instance object invisible in the view of cut and makes it visible in the view of paste.
Client must perform update Update::DoUpdate () after calling this method.
Created in NX5.0.0.
License requirements : geometric_tol ("GDT")
void NXOpen::Annotations::PmiManager::DeleteReplaceAnnotation | ( | NXOpen::Annotations::Annotation * | oldAnnotation, |
NXOpen::Annotations::Annotation * | newAnnotation | ||
) |
Deletes or replaces one annotation with another.
<br> This will adjust the requirements ID of the annotation if one annotation replaces another. This method may be used in NX generated automation programs but it is not intended to be used in a customer written automation program. <br>
Created in NX6.0.0.
License requirements : None
oldAnnotation | Annotations::Annotation Annotation or Dimension Set to be deleted |
newAnnotation | Annotations::Annotation to replace the deleted annootation, can be NULL |
NXOpen::Annotations::Pmi* NXOpen::Annotations::PmiManager::GetDisplayInstanceParent | ( | NXOpen::Annotations::Annotation * | displayInstance | ) |
NXOpen::Annotations::Annotation* NXOpen::Annotations::PmiManager::GetInheritParent | ( | NXOpen::Annotations::Annotation * | inheritedPmi | ) |
bool NXOpen::Annotations::PmiManager::IsEffectivityFiltered | ( | NXOpen::Annotations::Pmi * | object | ) |
The flag indicates whether the PMI is an effectivity filtered PMI because of assembly component configuration from managed environment.
object | PMI object to examine |
bool NXOpen::Annotations::PmiManager::IsInheritedPmi | ( | NXOpen::Annotations::Annotation * | object | ) |
The flag indicating whether the annotation is an inherited PMI on the drawing sheet/view.
Inherited PMI is the associative copy of the PMI display instance in modeling.
object | Annotation to examine |
NXOpen::Annotations::PmiAttributeCollection* NXOpen::Annotations::PmiManager::PmiAttributes | ( | ) |
PmiAttribute collection
Created in NX3.0.0.
NXOpen::Annotations::PmiLightweightSectionCollection* NXOpen::Annotations::PmiManager::PmiLightweightSections | ( | ) |
NXOpen::Annotations::PmiRegionCollection* NXOpen::Annotations::PmiManager::PmiRegions | ( | ) |
Region collection
Created in NX6.0.2.
NXOpen::Annotations::PmiCollection* NXOpen::Annotations::PmiManager::Pmis | ( | ) |
Pmi collection
Created in NX3.0.0.
NXOpen::Annotations::PmiWaveCollection* NXOpen::Annotations::PmiManager::PmiWave | ( | ) |
WAVE collection
Created in NX8.0.0.
void NXOpen::Annotations::PmiManager::Resize | ( | ) |
Resizes all PMI symbols displayed in the active view
Created in NX8.0.0.
License requirements : geometric_tol ("GDT")
void NXOpen::Annotations::PmiManager::RestoreUnpastedObjects | ( | ) |
Restores the unpasted PMI objects in the part.
<br> This method is used by NX user interface to restore PMI objects that were cut but not pasted. If called by an automation program, this method can cause unexpected results. <br>
Created in NX5.0.0.
License requirements : geometric_tol ("GDT")
void NXOpen::Annotations::PmiManager::SaveModelViewOrder | ( | std::vector< NXString > & | orderList, |
const NXString & | saveName | ||
) |
Saves an explicit order defined by the user
Created in NX9.0.0.
License requirements : geometric_tol ("GDT")
orderList | orderlist |
saveName | savename |
void NXOpen::Annotations::PmiManager::SaveModelViewOrder | ( | std::vector< NXString > & | orderList, |
const char * | saveName | ||
) |
Saves an explicit order defined by the user
Created in NX9.0.0.
License requirements : geometric_tol ("GDT")
orderList | orderlist |
saveName | savename |
NXOpen::Annotations::SearchModelViewCollection* NXOpen::Annotations::PmiManager::SearchModelViews | ( | ) |
PMI search view collection
Created in NX7.5.0.
tag_t NXOpen::Annotations::PmiManager::Tag | ( | ) | const |
Returns the tag of this object.