NX Open C++ Reference Guide
Public Member Functions
NXOpen::Annotations::PmiManager Class Reference

Represents an object that manages PMI objects. More...

List of all members.

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::ArbitraryAreaSeedBuilderCreateArbitraryAreaSeedBuilder ()
 Creates a Annotations::ArbitraryAreaSeedBuilder.
NXOpen::Annotations::RegionBuilderCreateRegionBuilder (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::PmiGetDisplayInstanceParent (NXOpen::Annotations::Annotation *displayInstance)
 Returns the PMI Display Instance parent.
NXOpen::Annotations::AnnotationGetInheritParent (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::PmiAttributeCollectionPmiAttributes ()
 PmiAttribute collection
Created in NX3.0.0.
NXOpen::Annotations::PmiLightweightSectionCollectionPmiLightweightSections ()
 Lightweight Section View collection
Created in NX7.5.0.
NXOpen::Annotations::PmiRegionCollectionPmiRegions ()
 Region collection
Created in NX6.0.2.
NXOpen::Annotations::PmiCollectionPmis ()
 Pmi collection
Created in NX3.0.0.
NXOpen::Annotations::PmiWaveCollectionPmiWave ()
 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::SearchModelViewCollectionSearchModelViews ()
 PMI search view collection
Created in NX7.5.0.
tag_t Tag () const
 Returns the tag of this object.

Detailed Description

Represents an object that manages PMI objects.


To obtain an instance of this class, refer to Part

Created in NX5.0.0.


Member Function Documentation

Creates copies of input PMI Display Instance objects in the part.


Client must perform update Update::DoUpdate () after calling this method.

Returns:
Copies of PMI Display Instance objects
Created in NX5.0.0.

License requirements : geometric_tol ("GDT")
Parameters:
inputObjectsPMI Display Instance objects to be copied
viewView in which PMI Display Instance are copied.
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.

Returns:
Copies of PMI objects
Created in NX5.0.0.

License requirements : geometric_tol ("GDT")
Parameters:
inputObjectsPMI objects to be copied

Creates a Annotations::ArbitraryAreaSeedBuilder.

Returns:

Created in NX6.0.0.

License requirements : None

Creates a Annotations::RegionBuilder
This method has beeen deprecated.

Please use Annotations::PmiRegionCollection::CreateRegionBuilder instead.

Returns:

Deprecated:
Deprecated in NX6.0.2.


Created in NX6.0.0.

License requirements : None

Parameters:
regionthe 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")

Parameters:
inputObjectsPMI Display Instance objects to be cut
cutViewsList of cut views. Each PMI Display Instance object is cut from the corresponding view in the list.
viewOfPasteView in which PMI Display Instances are pasted.

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

Parameters:
oldAnnotationAnnotations::Annotation Annotation or Dimension Set to be deleted
newAnnotationAnnotations::Annotation to replace the deleted annootation, can be NULL

Returns the PMI Display Instance parent.

The parent is the PMI Object.

Returns:
Parent PMI object
Created in NX5.0.0.

License requirements : None
Parameters:
displayInstancePMI Display Instance

Returns the inherited PMI parent.

The parent is the PMI Display Instance in modeling.

Returns:
Parent PMI Display Instance
Created in NX5.0.0.

License requirements : None
Parameters:
inheritedPmiInherited PMI

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.

Returns:

Created in NX5.0.0.

License requirements : None
Parameters:
objectAnnotation to examine

PmiAttribute collection
Created in NX3.0.0.


Lightweight Section View collection
Created in NX7.5.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")

PMI search view collection
Created in NX7.5.0.


Returns the tag of this object.


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