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

Represents a layout. More...

Inheritance diagram for NXOpen::Layout:
NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

List of all members.

Public Member Functions

NXOpen::LayoutDefinitionDefinition ()
 Returns the definition of the layout.
bool DisplayStatus ()
 Returns whether the layout is displayed or not.
std::vector< NXOpen::View * > GetViews ()
 Returns the View s of the layout.
void Open ()
 Opens a layout.
void ReplaceView (NXOpen::ModelingView *view, int row, int column, bool performFitView)
 Replaces a ModelingView with another one at a specified position.
void ReplaceView (NXOpen::ModelingView *oldView, NXOpen::ModelingView *newView, bool performFitView)
 Replaces a ModelingView with another one.
void Save ()
 Saves a layout.
NXOpen::LayoutSaveAs (const NXString &layoutName)
 Saves a layout with a different name.

Detailed Description

Represents a layout.


Created in NX3.0.0.


Member Function Documentation

Returns the definition of the layout.


Created in NX3.0.0.

License requirements : None

Returns whether the layout is displayed or not.


Created in NX3.0.0.

License requirements : None

Returns the View s of the layout.

Returns:

Created in NX3.0.0.

License requirements : None

Opens a layout.

The Drafting application does not support this method and if used, throws an exception.
Created in NX3.0.0.

License requirements : None

void NXOpen::Layout::ReplaceView ( NXOpen::ModelingView view,
int  row,
int  column,
bool  performFitView 
)

Replaces a ModelingView with another one at a specified position.


Created in NX3.0.0.

License requirements : None

Parameters:
viewNew view to replace old view
rowRow of view to be replaced
columnColumn of view to be replaced
performFitViewFlag that indicates for the system to perform a fit before displaying the view. Otherwise the system displays the view at the scale at which it was last saved.
void NXOpen::Layout::ReplaceView ( NXOpen::ModelingView oldView,
NXOpen::ModelingView newView,
bool  performFitView 
)

Replaces a ModelingView with another one.


Created in NX3.0.0.

License requirements : None

Parameters:
oldViewOld view to be replaced
newViewNew view to replace old view
performFitViewFlag to indicate for the system to perform a Fit before displaying the view. Otherwise the system will display the view at the scale at which they were last saved.

Saves a layout.

Drafting does not support this method. If you call this method within the Drafting application or when displaying a drawing sheet, it throws an exception.
Created in NX3.0.0.

License requirements : None

Saves a layout with a different name.

If a name contains lowercase characters, the system converts them to uppercase. Drafting does not support this method. If you call this method within the Drafting application or when displaying a drawing sheet, it throws an exception.

Returns:

Created in NX3.0.0.

License requirements : None
Parameters:
layoutNameName to save layout as
NOTE: The full Unicode character set is not supported for this parameter.

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