NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::VisualReporting::VisualReportExplorer Class Reference

The Explorer of the results of a visual report. More...

Public Types

enum  ExploreReportOption { ExploreReportOptionOff, ExploreReportOptionOn }
 Represents whether Explore Report mode is on or off. More...
 
enum  ReportDownStatus { ReportDownStatusNone, ReportDownStatusEnd, ReportDownStatusMore }
 Status reported by ReportDown . More...
 
enum  ReportOnObjectsOption { ReportOnObjectsOptionReplace, ReportOnObjectsOptionAdd }
 When the set of objects to report upon is changed, should the contents of the set be replaced or extended. More...
 

Public Member Functions

void ClearReportObjects ()
 Remove all objects from the visual report.
 
NXOpen::VisualReporting::VisualReportExplorer::ExploreReportOption ExploreReport ()
 Returns the Explore Report setting.
 
NXOpen::VisualReporting::GroupLabelGetExploringGroup ()
 Gets the exploring VisualReporting::GroupLabel.
 
void RemoveReportObjects (const std::vector< NXOpen::NXObject * > &nxObjects)
 Remove objects from report.
 
NXOpen::VisualReporting::VisualReportExplorer::ReportDownStatus ReportDown (NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption reportOnObjectsOption)
 Report down the assembly, starting from the Assemblies::ComponentAssembly::RootComponent .
 
NXOpen::VisualReporting::VisualReportExplorer::ReportDownStatus ReportDown (const std::vector< NXOpen::NXObject * > &nxObjects, NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption reportOnObjectsOption)
 Report down from a starting array of objects.
 
void ReportOnChildren (const std::vector< NXOpen::NXObject * > &nxObjects, NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption reportOnObjectsOption)
 Report on the children of nxObjects.
 
void ReportOnObjects (const std::vector< NXOpen::NXObject * > &nxObjects, NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption reportOnObjectsOption)
 Set objects to report upon.
 
void ReportOnParents (const std::vector< NXOpen::NXObject * > &nxObjects, NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption reportOnObjectsOption)
 Report on the parents of the nxObjects.
 
void ResetReportObjects ()
 Resets the objects to report upon.
 
void SetExploreReport (NXOpen::VisualReporting::VisualReportExplorer::ExploreReportOption exploreReportOption)
 Sets the Explore Report setting.
 
void SetGroupToExplore (NXOpen::VisualReporting::GroupLabel *groupLabel)
 Sets the VisualReporting::GroupLabel to explore.
 
tag_t Tag () const
 Returns the tag of this object.
 

Detailed Description

The Explorer of the results of a visual report.

   The Visual Report Explorer enables a report to focus on specified objects
   or on a particular group in the visual report.
<br> To obtain an instance of this class, refer to @link VisualReporting::VisualReportManager  VisualReporting::VisualReportManager @endlink  <br> 


Created in NX7.5.0.

Member Enumeration Documentation

Represents whether Explore Report mode is on or off.

Enumerator:
ExploreReportOptionOff 

Explore Visual Report results is off.

ExploreReportOptionOn 

Explore Visual Report results is on.

Status reported by ReportDown .

Enumerator:
ReportDownStatusNone 

There are no objects of interest below the specified objects.

ReportDownStatusEnd 

Report Down has reached the lowest level on all branches of the assembly.

ReportDownStatusMore 

There are more objects of interest below the currently reported upon objects.

When the set of objects to report upon is changed, should the contents of the set be replaced or extended.

Enumerator:
ReportOnObjectsOptionReplace 

Replace the existing set of objects.

ReportOnObjectsOptionAdd 

Add to the existing set of objects.

Member Function Documentation

void NXOpen::VisualReporting::VisualReportExplorer::ClearReportObjects ( )

Remove all objects from the visual report.


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

NXOpen::VisualReporting::VisualReportExplorer::ExploreReportOption NXOpen::VisualReporting::VisualReportExplorer::ExploreReport ( )

Returns the Explore Report setting.


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

NXOpen::VisualReporting::GroupLabel* NXOpen::VisualReporting::VisualReportExplorer::GetExploringGroup ( )

Gets the exploring VisualReporting::GroupLabel.

    @return  The exploring group 


Created in NX8.0.0.

License requirements : nx_visual_reporting ("Visual Reporting")

void NXOpen::VisualReporting::VisualReportExplorer::RemoveReportObjects ( const std::vector< NXOpen::NXObject * > &  nxObjects)

Remove objects from report.


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

Parameters
nxObjectsObjects to remove from report
NXOpen::VisualReporting::VisualReportExplorer::ReportDownStatus NXOpen::VisualReporting::VisualReportExplorer::ReportDown ( NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption  reportOnObjectsOption)

Report down the assembly, starting from the Assemblies::ComponentAssembly::RootComponent .

       A group to explore should have been specified for this method to         
       have any effect.
       The first time this method is called the operation will start from
       @link Assemblies::ComponentAssembly::RootComponent Assemblies::ComponentAssembly::RootComponent@endlink .
       On subsequent calls, the set of objects currently reported upon 
       will be used as the starting point.
    @return  Status from the report down operation 


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

Parameters
reportOnObjectsOptionAdd to or replace objects in report
NXOpen::VisualReporting::VisualReportExplorer::ReportDownStatus NXOpen::VisualReporting::VisualReportExplorer::ReportDown ( const std::vector< NXOpen::NXObject * > &  nxObjects,
NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption  reportOnObjectsOption 
)

Report down from a starting array of objects.

       A group to explore should have been specified for this method to
       have any effect.
       On subsequent calls to @link ReportDown ReportDown@endlink , with no nxObjects
       array, the set of objects currently reported upon will be used as the 
       starting point.
    @return  Status from the report down operation 


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

Parameters
nxObjectsObjects from which to start report down operation
reportOnObjectsOptionAdd to or replace objects in report
void NXOpen::VisualReporting::VisualReportExplorer::ReportOnChildren ( const std::vector< NXOpen::NXObject * > &  nxObjects,
NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption  reportOnObjectsOption 
)

Report on the children of nxObjects.

       The children will either replace the existing contents of the report
       or be added to the report.
       This operation is intended for @link Assemblies::Component Assemblies::Component@endlink s
       and will report on direct children of the components.
       If an object is not an instance of @link Assemblies::Component Assemblies::Component@endlink 
       or if it has no children then nothing will be changed.


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

Parameters
nxObjectsObjects whose children will be reported upon
reportOnObjectsOptionAdd to or replace objects in report
void NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjects ( const std::vector< NXOpen::NXObject * > &  nxObjects,
NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption  reportOnObjectsOption 
)

Set objects to report upon.


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

Parameters
nxObjectsObjects to report upon
reportOnObjectsOptionAdd to or replace objects in report
void NXOpen::VisualReporting::VisualReportExplorer::ReportOnParents ( const std::vector< NXOpen::NXObject * > &  nxObjects,
NXOpen::VisualReporting::VisualReportExplorer::ReportOnObjectsOption  reportOnObjectsOption 
)

Report on the parents of the nxObjects.

       The parents will either replace the existing contents of the report
       or be added to the report.
       This operation is intended for @link Assemblies::Component Assemblies::Component@endlink s
       and will report on the parent of the component.
       If the object is not an instance of @link Assemblies::Component Assemblies::Component@endlink 
       or if it has no parent then nothing will be changed.


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

Parameters
nxObjectsObjects whose parents will be reported upon
reportOnObjectsOptionAdd to or replace objects in report
void NXOpen::VisualReporting::VisualReportExplorer::ResetReportObjects ( )

Resets the objects to report upon.

       If there is no group to explore set, then all leaf nodes of the 
       assembly will be included in the report.
       If a group to explore is set, then elements of that group
       will be reported upon.  Where there are two elements of the group
       on the same branch of the assembly, the lowest will be reported upon.


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

void NXOpen::VisualReporting::VisualReportExplorer::SetExploreReport ( NXOpen::VisualReporting::VisualReportExplorer::ExploreReportOption  exploreReportOption)

Sets the Explore Report setting.


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

Parameters
exploreReportOptionexplorereportoption
void NXOpen::VisualReporting::VisualReportExplorer::SetGroupToExplore ( NXOpen::VisualReporting::GroupLabel groupLabel)

Sets the VisualReporting::GroupLabel to explore.

       The @link VisualReporting::GroupLabel VisualReporting::GroupLabel@endlink  to explore can be set to NULL.
       If there is no active visual report, then nothing will happen.
       Note that the @link VisualReporting::GroupLabel VisualReporting::GroupLabel@endlink  should belong to the active visual report
       otherwise the call will fail.
       This method will also cause the objects reported upon to be reset in the
       same way as a call to @link ResetReportObjects ResetReportObjects@endlink .


Created in NX7.5.0.

License requirements : nx_visual_reporting ("Visual Reporting")

Parameters
groupLabelThe group to explore
tag_t NXOpen::VisualReporting::VisualReportExplorer::Tag ( ) const

Returns the tag of this object.


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