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

Represents the definition of a layout. More...

Inheritance diagram for NXOpen::LayoutDefinition:
NXOpen::TransientObject

Public Types

enum  ArrangementType {
  ArrangementTypeL1, ArrangementTypeL2, ArrangementTypeL3, ArrangementTypeL4,
  ArrangementTypeL6, ArrangementTypeL9, ArrangementTypeNonStandard
}
 Indicates the arrangement type of a layout. More...
 

Public Member Functions

NXOpen::LayoutDefinition::ArrangementType Arrangement ()
 Returns the arrangement type of the layout definition. More...
 
void GetView (int row, int column, NXOpen::View **view)
 Returns the NXOpen::View at specified position in layout. More...
 
void SetView (int row, int column, NXOpen::ModelingView *view)
 Sets the NXOpen::ModelingView at specified position in layout. More...
 
virtual ~LayoutDefinition ()
 Free resources associated with the instance. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents the definition of a layout.

This includes the arrangement and location of the views in the arrangement.


Created in NX3.0.0.

Member Enumeration Documentation

Indicates the arrangement type of a layout.


Created in NX3.0.0.

Enumerator
ArrangementTypeL1 

One row by one column.

ArrangementTypeL2 

One row by two columns.

ArrangementTypeL3 

Two rows by one column.

ArrangementTypeL4 

Two rows by two columns.

ArrangementTypeL6 

Two rows by three columns.

ArrangementTypeL9 

Three rows by three columns.

ArrangementTypeNonStandard 

A non standard layout.

A layout definition cannot be made with this option.

Constructor & Destructor Documentation

virtual NXOpen::LayoutDefinition::~LayoutDefinition ( )
virtual

Free resources associated with the instance.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX3.0.0.

License requirements : None

Member Function Documentation

NXOpen::LayoutDefinition::ArrangementType NXOpen::LayoutDefinition::Arrangement ( )

Returns the arrangement type of the layout definition.


Created in NX3.0.0.

License requirements : None

void NXOpen::LayoutDefinition::GetView ( int  row,
int  column,
NXOpen::View **  view 
)

Returns the NXOpen::View at specified position in layout.

The system throws an exception when a user enters an invalid position.
Created in NX3.0.0.

License requirements : None

Parameters
rowRow of view
columnColumn of view
viewview
void NXOpen::LayoutDefinition::SetView ( int  row,
int  column,
NXOpen::ModelingView view 
)

Sets the NXOpen::ModelingView at specified position in layout.

The system throws an exception when a user enters an invalid position
Created in NX3.0.0.

License requirements : None

Parameters
rowRow of view
columnColumn of view
viewview

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