NX Open C++ Reference Guide
|
Represents a base class for a PMI filter. More...
Public Types | |
enum | ComponentMethod { ComponentMethodSelected, ComponentMethodSelectedAndChildren, ComponentMethodAll } |
Specifies the type of component method used on the associated components for display. More... | |
enum | FilterType { FilterTypeByType, FilterTypeByView, FilterTypeByComponent } |
Represents a type of PMI filter that can be created using the Part Navigator. More... | |
Public Member Functions | |
void | ApplyToView (NXOpen::View *view) |
Applies the PMI filter to a view. | |
NXOpen::Annotations::PmiFilter * | Copy () |
Creates a copy of the PMI filter. | |
void | EnableInView (NXOpen::View *view, bool enabled) |
Enables or disables the PMI filter in a given view Created in NX4.0.0. | |
std::vector< NXOpen::View * > | GetAppliedViews () |
Gets the views where the PMI filter is applied. | |
NXOpen::Annotations::PmiFilter::ComponentMethod | GetComponentMethod () |
Gets the component method of the PMI filter. | |
std::vector < NXOpen::Assemblies::Component * > | GetComponents () |
Gets the components associated with the PMI filter. | |
NXOpen::Annotations::PmiFilter::FilterType | GetFilterType () |
Gets the type of PMI filter. | |
bool | IsEnabled (NXOpen::View *view) |
Determines if the PMI filter is enabled in the view. | |
void | RemoveFromView (NXOpen::View *view) |
Removes a PMI filter from a view. | |
void | SetComponentMethod (NXOpen::Annotations::PmiFilter::ComponentMethod componentMethod) |
Sets the component method of the PMI filter. | |
void | SetComponents (const std::vector< NXOpen::Assemblies::Component * > &components) |
Sets the components associated with the PMI filter. |
Represents a base class for a PMI filter.
Created in NX4.0.0.
Specifies the type of component method used on the associated components for display.
Represents a type of PMI filter that can be created using the Part Navigator.
void NXOpen::Annotations::PmiFilter::ApplyToView | ( | NXOpen::View * | view | ) |
Applies the PMI filter to a view.
Created in NX4.0.0.
License requirements : geometric_tol ("GDT")
view | Specifies the model view in which the filter is to be applied |
Creates a copy of the PMI filter.
void NXOpen::Annotations::PmiFilter::EnableInView | ( | NXOpen::View * | view, |
bool | enabled | ||
) |
Enables or disables the PMI filter in a given view
Created in NX4.0.0.
License requirements : geometric_tol ("GDT")
view | Specifies the model view in which the filter should be enabled or disabled |
enabled | Specifies the flag indicating that the filter should be enabled |
std::vector<NXOpen::View *> NXOpen::Annotations::PmiFilter::GetAppliedViews | ( | ) |
Gets the views where the PMI filter is applied.
NXOpen::Annotations::PmiFilter::ComponentMethod NXOpen::Annotations::PmiFilter::GetComponentMethod | ( | ) |
Gets the component method of the PMI filter.
std::vector<NXOpen::Assemblies::Component *> NXOpen::Annotations::PmiFilter::GetComponents | ( | ) |
Gets the components associated with the PMI filter.
Gets the type of PMI filter.
bool NXOpen::Annotations::PmiFilter::IsEnabled | ( | NXOpen::View * | view | ) |
Determines if the PMI filter is enabled in the view.
view | Specifies the model view to query |
void NXOpen::Annotations::PmiFilter::RemoveFromView | ( | NXOpen::View * | view | ) |
Removes a PMI filter from a view.
Created in NX4.0.0.
License requirements : geometric_tol ("GDT")
view | Specifies the model view in which the filter should be removed |
void NXOpen::Annotations::PmiFilter::SetComponentMethod | ( | NXOpen::Annotations::PmiFilter::ComponentMethod | componentMethod | ) |
Sets the component method of the PMI filter.
Created in NX4.0.0.
License requirements : geometric_tol ("GDT")
componentMethod | component method |
void NXOpen::Annotations::PmiFilter::SetComponents | ( | const std::vector< NXOpen::Assemblies::Component * > & | components | ) |
Sets the components associated with the PMI filter.
Created in NX4.0.0.
License requirements : geometric_tol ("GDT")
components | components |