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

Represents a ViewOrientationBuilder. More...

Inheritance diagram for NXOpen::Drawings::ViewOrientationBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  Orientation {
  OrientationOrthographic, OrientationInheritOrientation, OrientationUseParentOrientation, OrientationUseParentOrienation = 2,
  OrientationSectionExisting
}
 This enum represents view orientation type. More...
 

Public Member Functions

NXOpen::Drawings::ViewOrientationBuilder::Orientation OrientationType ()
 Returns the orientation type
Created in NX6.0.0. More...
 
NXOpen::SelectViewSelectView ()
 Returns the select view
Created in NX6.0.0. More...
 
void SetOrientationType (NXOpen::Drawings::ViewOrientationBuilder::Orientation orientationType)
 Sets the orientation type
Created in NX6.0.0. 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 ViewOrientationBuilder.

The View Orientation Block is used to specify orientation of the view, and the view being inherited or sectioned, if needed.


Created in NX6.0.0.

Member Enumeration Documentation

This enum represents view orientation type.

Drawings::ViewOrientationBuilder::OrientationInheritOrientation and Drawings::ViewOrientationBuilder::OrientationSectionExisting options require a view selection.

Enumerator
OrientationOrthographic 

Orthographic.

OrientationInheritOrientation 

Inherit Orientation from a View.

OrientationUseParentOrientation 

Use Parent View Orientation.

OrientationUseParentOrienation 

DO NOT USE Deprecated as of NX75.

OrientationSectionExisting 

Section an Existing View.

Member Function Documentation

NXOpen::Drawings::ViewOrientationBuilder::Orientation NXOpen::Drawings::ViewOrientationBuilder::OrientationType ( )

Returns the orientation type
Created in NX6.0.0.



License requirements : None

NXOpen::SelectView* NXOpen::Drawings::ViewOrientationBuilder::SelectView ( )

Returns the select view
Created in NX6.0.0.



License requirements : None

void NXOpen::Drawings::ViewOrientationBuilder::SetOrientationType ( NXOpen::Drawings::ViewOrientationBuilder::Orientation  orientationType)

Sets the orientation type
Created in NX6.0.0.



License requirements : drafting ("DRAFTING")

Parameters
orientationTypeorientationtype
virtual bool NXOpen::Drawings::ViewOrientationBuilder::Validate ( )
virtual

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Returns
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


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