NX Open C++ Reference Guide
|
Represents an object that manages PMI objects. More...
Public Member Functions | |
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::RegionBuilder * | CreateRegionBuilder (NXOpen::Annotations::Region *region) |
Creates a Annotations::RegionBuilder This method has beeen deprecated. | |
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 | 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. | |
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.
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.
Client must perform update Update::DoUpdate () after calling this method.
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.
Client must perform update Update::DoUpdate after calling this method.
inputObjects | PMI objects to be copied |
NXOpen::Annotations::ArbitraryAreaSeedBuilder* NXOpen::Annotations::PmiManager::CreateArbitraryAreaSeedBuilder | ( | ) |
Creates a Annotations::ArbitraryAreaSeedBuilder.
NXOpen::Annotations::RegionBuilder* NXOpen::Annotations::PmiManager::CreateRegionBuilder | ( | NXOpen::Annotations::Region * | region | ) |
Creates a Annotations::RegionBuilder
This method has beeen deprecated.
Please use Annotations::PmiRegionCollection::CreateRegionBuilder instead.
Created in NX6.0.0.
License requirements : None
region | the region to be edited, if NULL, then create a region |
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.
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.
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 |
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 |
PmiAttribute collection
Created in NX3.0.0.
Region collection
Created in NX6.0.2.
Pmi collection
Created in NX3.0.0.
WAVE collection
Created in NX8.0.0.
Resizes all PMI symbols displayed in the active view
Created in NX8.0.0.
License requirements : geometric_tol ("GDT")
Restores the unpasted PMI objects in the part.
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.
Created in NX5.0.0.
License requirements : geometric_tol ("GDT")
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.