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

Represents a NXOpen::Display::Stage A stage is an environment cube, a six-sided room, that can have between one and six visible walls. More...

Inheritance diagram for NXOpen::Display::Stage:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  OrientationType { OrientationTypeYz, OrientationTypeXz, OrientationTypeXy, OrientationTypeUserDefined }
 Represents an index to a floor plane type define. More...
 
enum  WallType {
  WallTypeLeft, WallTypeRight, WallTypeTop, WallTypeBottom,
  WallTypeFront, WallTypeBack, WallTypeTotal
}
 Represents an index to a particular wall in the stage. More...
 

Public Member Functions

void AlignFloorPlane (NXOpen::Plane *specifyFloorPlane)
 The stage's bottom wall (floor) aligns with the given plane. More...
 
void CommitOffset (NXOpen::View *view)
 Updates the data and display for a change to the stage's offset
Created in NX5.0.0. More...
 
void CommitWall (NXOpen::View *view, int currentWallIndex, bool updateStageDatabase)
 Updates the data and display for a given wall
Created in NX5.0.0. More...
 
NXOpen::Display::Stage::OrientationType FloorOrientationType ()
 Returns the floor orientation define
Created in NX10.0.0. More...
 
void FloorXaxis ()
 The stage's bottom wall to align with the WCS x-axis
Created in NX5.0.0. More...
 
void FloorYaxis ()
 The stage's bottom wall to align with the WCS y-axis
Created in NX5.0.0. More...
 
void FloorZaxis ()
 The stage's bottom wall to align with the WCS z-axis
Created in NX5.0.0. More...
 
NXOpen::Display::WallGetWallFromList (NXOpen::Display::Stage::WallType index)
 Returns a wall builder, given by the index, in the array of walls for the given stage. More...
 
double Offset ()
 Returns the offset distance to translate the stage in the z-direction, in part units
More...
 
NXOpen::ExpressionOffsetExpression ()
 Returns the stage offset expression
Created in NX10.0.0. More...
 
void SetFloorOrientationType (NXOpen::Display::Stage::OrientationType floorOrientationType)
 Sets the floor orientation define
Created in NX10.0.0. More...
 
void SetOffset (double offset)
 Sets the offset distance to translate the stage in the z-direction, in part units
More...
 
void SetSize (double size)
 Sets the size all of the stage walls (length and width), in part units
More...
 
void SetSpecifyFloorPlane (NXOpen::Plane *specifyFloorPlane)
 Sets the specify floor plane
Created in NX5.0.0. More...
 
void SetWallInList (NXOpen::Display::Stage::WallType index, NXOpen::Display::Wall *wall)
 Sets a wall builder in the array at the given index
Created in NX5.0.0. More...
 
double Size ()
 Returns the size all of the stage walls (length and width), in part units
More...
 
NXOpen::ExpressionSizeExpression ()
 Returns the stage size expression
Created in NX10.0.0. More...
 
NXOpen::PlaneSpecifyFloorPlane ()
 Returns the specify floor plane
Created in NX5.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::Display::Stage A stage is an environment cube, a six-sided room, that can have between one and six visible walls.

You optionally specify a stage in Studio rendering styles and High Quality Images.


This class is restricted to being called from a program running during an Interactive NX session. If run from a non-interactive session it will return NULL.


To create a new instance of this class, use NXOpen::ViewCollection::CreateStage

Created in NX5.0.0.

Member Enumeration Documentation

Represents an index to a floor plane type define.

Enumerator
OrientationTypeYz 

Use yz plane for the stage floor.

OrientationTypeXz 

Use xz plane for the stage floor.

OrientationTypeXy 

Use xy plane for the stage floor.

OrientationTypeUserDefined 

Use user defined plane for the stage floor.

Represents an index to a particular wall in the stage.

Enumerator
WallTypeLeft 

The left wall of the stage.

WallTypeRight 

The right wall of the stage.

WallTypeTop 

The top wall or "ceiling" of the stage.

WallTypeBottom 

The bottom wall or "floor" of the stage.

WallTypeFront 

The front wall of the stage.

WallTypeBack 

The back wall of the stage.

WallTypeTotal 

The total number of walls in the stage.

Member Function Documentation

void NXOpen::Display::Stage::AlignFloorPlane ( NXOpen::Plane specifyFloorPlane)

The stage's bottom wall (floor) aligns with the given plane.


Created in NX5.0.0.

License requirements : None

Parameters
specifyFloorPlanespecifyfloorplane
void NXOpen::Display::Stage::CommitOffset ( NXOpen::View view)

Updates the data and display for a change to the stage's offset
Created in NX5.0.0.



License requirements : None

Parameters
viewview of the stage
void NXOpen::Display::Stage::CommitWall ( NXOpen::View view,
int  currentWallIndex,
bool  updateStageDatabase 
)

Updates the data and display for a given wall
Created in NX5.0.0.



License requirements : None

Parameters
viewview of the stage and walls
currentWallIndexthe index of the wall in the stage builder array
updateStageDatabaseif true, commit the stage builder
NXOpen::Display::Stage::OrientationType NXOpen::Display::Stage::FloorOrientationType ( )

Returns the floor orientation define
Created in NX10.0.0.



License requirements : None

void NXOpen::Display::Stage::FloorXaxis ( )

The stage's bottom wall to align with the WCS x-axis
Created in NX5.0.0.



License requirements : None

void NXOpen::Display::Stage::FloorYaxis ( )

The stage's bottom wall to align with the WCS y-axis
Created in NX5.0.0.



License requirements : None

void NXOpen::Display::Stage::FloorZaxis ( )

The stage's bottom wall to align with the WCS z-axis
Created in NX5.0.0.



License requirements : None

NXOpen::Display::Wall* NXOpen::Display::Stage::GetWallFromList ( NXOpen::Display::Stage::WallType  index)

Returns a wall builder, given by the index, in the array of walls for the given stage.

Returns
the wall
Created in NX5.0.0.

License requirements : None
Parameters
indexindex to the array of walls
double NXOpen::Display::Stage::Offset ( )

Returns the offset distance to translate the stage in the z-direction, in part units

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::Display::Stage::OffsetExpression instead.


Created in NX5.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Display::Stage::OffsetExpression ( )

Returns the stage offset expression
Created in NX10.0.0.



License requirements : None

void NXOpen::Display::Stage::SetFloorOrientationType ( NXOpen::Display::Stage::OrientationType  floorOrientationType)

Sets the floor orientation define
Created in NX10.0.0.



License requirements : None

Parameters
floorOrientationTypefloororientationtype
void NXOpen::Display::Stage::SetOffset ( double  offset)

Sets the offset distance to translate the stage in the z-direction, in part units

Deprecated:
Deprecated in NX10.0.0.

This functionality is no longer supported.


Created in NX5.0.0.

License requirements : None

Parameters
offsetoffset
void NXOpen::Display::Stage::SetSize ( double  size)

Sets the size all of the stage walls (length and width), in part units

Deprecated:
Deprecated in NX10.0.0.

This functionality is no longer supported.


Created in NX5.0.0.

License requirements : None

Parameters
sizesize
void NXOpen::Display::Stage::SetSpecifyFloorPlane ( NXOpen::Plane specifyFloorPlane)

Sets the specify floor plane
Created in NX5.0.0.



License requirements : None

Parameters
specifyFloorPlanespecifyfloorplane
void NXOpen::Display::Stage::SetWallInList ( NXOpen::Display::Stage::WallType  index,
NXOpen::Display::Wall wall 
)

Sets a wall builder in the array at the given index
Created in NX5.0.0.



License requirements : None

Parameters
indexindex to the array of walls
wallthe wall
double NXOpen::Display::Stage::Size ( )

Returns the size all of the stage walls (length and width), in part units

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::Display::Stage::SizeExpression instead.


Created in NX5.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Display::Stage::SizeExpression ( )

Returns the stage size expression
Created in NX10.0.0.



License requirements : None

NXOpen::Plane* NXOpen::Display::Stage::SpecifyFloorPlane ( )

Returns the specify floor plane
Created in NX5.0.0.



License requirements : None


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