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

This class is used to display User Defined Objects
Created in NX5.0.0. More...

Inheritance diagram for NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext:
NXOpen::TransientObject

Public Types

enum  FacetType { FacetTypeTriangle, FacetTypePolygon, FacetTypeTristrip }
 The enumerated type facet to be displayed. More...
 
enum  PolyMarker {
  PolyMarkerNoMarker, PolyMarkerPoint, PolyMarkerDot, PolyMarkerAsterisk,
  PolyMarkerCircle, PolyMarkerPoundsign, PolyMarkerX, PolyMarkerGridpoint,
  PolyMarkerSquare, PolyMarkerTriangleMarker, PolyMarkerDiamond, PolyMarkerCenterline,
  PolyMarkerConsFix, PolyMarkerConsHorizontal, PolyMarkerConsVertical, PolyMarkerConsParallel,
  PolyMarkerConsPerpendicular, PolyMarkerConsTangent, PolyMarkerConsConcentric, PolyMarkerConsCoincident,
  PolyMarkerConsCollinear, PolyMarkerConsPointOnCurve, PolyMarkerConsMidpoint, PolyMarkerConsEqualLength,
  PolyMarkerConsEqualRadius, PolyMarkerConsConstantLength, PolyMarkerConsConstantAngle, PolyMarkerConsMirror,
  PolyMarkerDimRadius, PolyMarkerDimDiameter, PolyMarkerDimParallel, PolyMarkerDimPerpendicular,
  PolyMarkerConsSlope, PolyMarkerConsString, PolyMarkerConsUniformScaled, PolyMarkerConsNonUniformScaled,
  PolyMarkerConsAssocTrim, PolyMarkerConsAssocOffset, PolyMarkerDisp2tResSpotWeld, PolyMarkerDisp3tResSpotWeld,
  PolyMarkerDisp4tResSpotWeld, PolyMarkerDisp2tDcSpotWeld, PolyMarkerDisp3tDcSpotWeld, PolyMarkerDisp4tDcSpotWeld,
  PolyMarkerDisp2tKpcSpotWeld, PolyMarkerDisp3tKpcSpotWeld, PolyMarkerDisp4tKpcSpotWeld, PolyMarkerDisp2tProcSpotWeld,
  PolyMarkerDisp3tProcSpotWeld, PolyMarkerDisp4tProcSpotWeld, PolyMarkerArcSpotWeld, PolyMarkerClinchWeld,
  PolyMarkerAnchor, PolyMarkerLeftLeaderConnection, PolyMarkerRightLeaderConnection, PolyMarkerFilledCircle,
  PolyMarkerFilledSquare, PolyMarkerLargeFilledSquare, PolyMarkerDatumPoint, PolyMarkerSnappingDiamond,
  PolyMarkerCircleInCircle, PolyMarkerCircleInSquare, PolyMarkerSquareInSquare, PolyMarkerFilledLeftTriangle,
  PolyMarkerFilledRightTriangle, PolyMarkerFilledUpTriangle, PolyMarkerFilledDownTriangle, PolyMarkerFilledLeftTriangleInCircle,
  PolyMarkerFilledRightTriangleInCircle, PolyMarkerFilledUpTriangleInCircle, PolyMarkerFilledDownTriangleInCircle, PolyMarkerFilledLeftTriangleInSquare,
  PolyMarkerFilledRightTriangleInSquare, PolyMarkerFilledUpTriangleInSquare, PolyMarkerFilledDownTriangleInSquare, PolyMarkerRoundedCross,
  PolyMarkerFilledDiamond, PolyMarkerUpDownTriangles, PolyMarkerLeftRightTriangles, PolyMarkerSmallWheel,
  PolyMarkerLargeWheel, PolyMarkerHollowCircle, PolyMarkerPreviewPerpendicular, PolyMarkerPreviewHorizontal,
  PolyMarkerPreviewVertical, PolyMarkerPreviewTangent, PolyMarkerPreviewParallel, PolyMarkerPreviewPointOnCurve,
  PolyMarkerPreviewCollinear, PolyMarkerRuler, PolyMarkerProtractor, PolyMarkerSketchNotebook,
  PolyMarkerArcEndPoint, PolyMarkerDisp2PtArcMarker, PolyMarkerBigAsterisk, PolyMarkerLineInCircle,
  PolyMarkerPlusInCircle, PolyMarkerCenterOfRotation, PolyMarkerPreviewX, PolyMarkerPreviewY,
  PolyMarkerPreviewZ, PolyMarkerDisp2tGeneralSpotWeld, PolyMarkerDisp3tGeneralSpotWeld, PolyMarkerDisp4tGeneralSpotWeld,
  PolyMarkerDisp2tVitalSpotWeld, PolyMarkerDisp3tVitalSpotWeld, PolyMarkerDisp4tVitalSpotWeld, PolyMarkerDisp2tImportantSpotWeld,
  PolyMarkerDisp3tImportantSpotWeld, PolyMarkerDisp4tImportantSpotWeld, PolyMarkerDisp2tSemipanelSpotWeld, PolyMarkerDisp3tSemipanelSpotWeld,
  PolyMarkerDisp4tSemipanelSpotWeld, PolyMarkerInvalidMarker
}
 This enumerated type specifies the type of marker to be displayed. More...
 
enum  StandardTextRef {
  StandardTextRefSystemDefault, StandardTextRefBaselineStart = 0, StandardTextRefBaselineCenter, StandardTextRefBaselineEnd,
  StandardTextRefTopLeft, StandardTextRefTopCenter, StandardTextRefTopRight, StandardTextRefMiddleLeft,
  StandardTextRefMiddleCenter, StandardTextRefMiddleRight, StandardTextRefBottomLeft, StandardTextRefBottomCenter,
  StandardTextRefBottomRight
}
 This enumerated type specifies the type of reference point used in the text box for standard_text methods. More...
 
enum  TextRef {
  TextRefSystemDefault, TextRefTopLeft, TextRefTopCenter, TextRefTopRight,
  TextRefMiddleLeft, TextRefMiddleCenter, TextRefMiddleRight, TextRefBottomLeft,
  TextRefBottomCenter, TextRefBottomRight
}
 This enumerated type specifies the type of reference point used in the text box. More...
 
enum  TextSize {
  TextSizeSmall, TextSizeNormal, TextSizeMedium = 1, TextSizeLarge,
  TextSizeNumSizes
}
 Provides a way to specify the size of the desired text, as small, medium or large (normal is a synonym for medium). More...
 
enum  ViewMode {
  ViewModeNotShaded = 1, ViewModePartiallyShaded, ViewModeFullyShaded, ViewModeAnalysisShaded,
  ViewModeStudioShaded
}
 The enumerated view mode. More...
 

Public Member Functions

void DisplayAbsoluteRotationScreenSizeStandardText (int fontIndex, const NXString &fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const NXString &string, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize textSize)
 Displays a single line "Standard Text" string using "Absolute Rotation and Screen Size Geometry" for a UserDefinedObject . A "Standard Text" string uses one of the fonts available from the operating system. More...
 
void DisplayAbsoluteRotationScreenSizeStandardText (int fontIndex, const char *fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const char *string, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize textSize)
 Displays a single line "Standard Text" string using "Absolute Rotation and Screen Size Geometry" for a UserDefinedObject . A "Standard Text" string uses one of the fonts available from the operating system. More...
 
void DisplayAbsoluteStandardText (int fontIndex, const NXString &fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const NXString &string, double glyphWidth, double glyphHeight)
 Displays a single line "Standard Text" string using "Absolute Geometry" for a UserDefinedObject . More...
 
void DisplayAbsoluteStandardText (int fontIndex, const char *fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const char *string, double glyphWidth, double glyphHeight)
 Displays a single line "Standard Text" string using "Absolute Geometry" for a UserDefinedObject . More...
 
void DisplayArc (const NXOpen::Point3d &center, const NXOpen::Matrix3x3 &original, double radius, double startAngle, double endAngle)
 Displays an arc for a UserDefinedObject . More...
 
void DisplayCircle (const NXOpen::Point3d &center, const NXOpen::Matrix3x3 &original, double radius, bool filled)
 Displays a circle for a UserDefinedObject . More...
 
void DisplayFacets (int numVertices, int numFacets, const std::vector< NXOpen::Point3d > &vertices, const std::vector< NXOpen::Vector3d > &normals, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::FacetType typeOfFacet)
 Displays a series of facets for a UserDefinedObject . More...
 
void DisplayMultiLineAbsoluteRotationScreenSizeStandardText (int fontIndex, const NXString &fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const std::vector< NXString > &strings, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize textSize)
 Displays a multi-line "Standard Text" string using "Absolute Rotation and Screen Size Geometry" for a UserDefinedObject . A "Standard Text" string uses one of the fonts available from the operating system. More...
 
void DisplayMultiLineAbsoluteRotationScreenSizeStandardText (int fontIndex, const char *fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const std::vector< NXString > &strings, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize textSize)
 Displays a multi-line "Standard Text" string using "Absolute Rotation and Screen Size Geometry" for a UserDefinedObject . A "Standard Text" string uses one of the fonts available from the operating system. More...
 
void DisplayMultiLineAbsoluteStandardText (int fontIndex, const NXString &fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const std::vector< NXString > &strings, double glyphWidth, double glyphHeight)
 Displays a multi-line "Standard Text" string using "Absolute Geometry" for a UserDefinedObject . More...
 
void DisplayMultiLineAbsoluteStandardText (int fontIndex, const char *fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const std::vector< NXString > &strings, double glyphWidth, double glyphHeight)
 Displays a multi-line "Standard Text" string using "Absolute Geometry" for a UserDefinedObject . More...
 
void DisplayMultiLineScreenStandardText (int fontIndex, const NXString &fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const std::vector< NXString > &strings, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize textSize)
 Displays a multi-line "Standard Text" string using "Screen Geometry" for a UserDefinedObject . More...
 
void DisplayMultiLineScreenStandardText (int fontIndex, const char *fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const std::vector< NXString > &strings, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize textSize)
 Displays a multi-line "Standard Text" string using "Screen Geometry" for a UserDefinedObject . More...
 
void DisplayPoints (const std::vector< NXOpen::Point3d > &points, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::PolyMarker markerType)
 Displays a series of points for a UserDefinedObject . More...
 
void DisplayPolygon (const std::vector< NXOpen::Point3d > &points, bool filled)
 Displays a polygon (a closed set of line segements) for a UserDefinedObject . More...
 
void DisplayPolyline (const std::vector< NXOpen::Point3d > &points)
 Displays a polyline (a connected set of line segements) for a UserDefinedObject . More...
 
void DisplayScreenStandardText (int fontIndex, const NXString &fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const NXString &string, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize textSize)
 Displays a single line "Standard Text" string using "Screen Geometry" for a UserDefinedObject . More...
 
void DisplayScreenStandardText (int fontIndex, const char *fontStyle, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef referencePointType, const char *string, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize textSize)
 Displays a single line "Standard Text" string using "Screen Geometry" for a UserDefinedObject . More...
 
void DisplayText (const NXString &text, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextRef referencePoint)
 Displays a text string using an NX text font for a UserDefinedObject . More...
 
void DisplayText (const char *text, const NXOpen::Point3d &textCoordinates, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextRef referencePoint)
 Displays a text string using an NX text font for a UserDefinedObject . More...
 
void DisplayUnicodeMarker (const NXString &unicodeChar, int fontIndex, const NXString &fontStyle, const NXOpen::Point3d &markerCoordinates, double markerSize)
 Displays a single character in the given font and style centered at the given position. More...
 
void DisplayUnicodeMarker (const char *unicodeChar, int fontIndex, const char *fontStyle, const NXOpen::Point3d &markerCoordinates, double markerSize)
 Displays a single character in the given font and style centered at the given position. More...
 
NXOpen::ViewGetViewMode (bool *isViewModeValid, NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::ViewMode *viewMode, bool *isAttenPtValid, NXOpen::Point3d *attentionPoint, bool *isDrawingViewOpen)
 Get information about the current view mode and display context in which geometry is displayed. More...
 
virtual ~UserDefinedObjectDisplayContext ()
 Frees the memory associated with this object. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

This class is used to display User Defined Objects
Created in NX5.0.0.


Member Enumeration Documentation

The enumerated type facet to be displayed.

Enumerator
FacetTypeTriangle 

The facet topology is a triangle facet.

FacetTypePolygon 

The facet topology is a polygon facet.

FacetTypeTristrip 

The facet topology is a tristrip facet.

This enumerated type specifies the type of marker to be displayed.

Enumerator
PolyMarkerNoMarker 

no marker

PolyMarkerPoint 

point

PolyMarkerDot 

dot

PolyMarkerAsterisk 

asterisk

PolyMarkerCircle 

circle

PolyMarkerPoundsign 

poundsign

PolyMarkerX 

x

PolyMarkerGridpoint 

gridpoint

PolyMarkerSquare 

square

PolyMarkerTriangleMarker 

triangle marker

PolyMarkerDiamond 

diamond

PolyMarkerCenterline 

centerline

PolyMarkerConsFix 

cons fix

PolyMarkerConsHorizontal 

cons horizontal

PolyMarkerConsVertical 

cons vertical

PolyMarkerConsParallel 

cons parallel

PolyMarkerConsPerpendicular 

cons perpendicular

PolyMarkerConsTangent 

cons tangent

PolyMarkerConsConcentric 

cons concentric

PolyMarkerConsCoincident 

cons coincident

PolyMarkerConsCollinear 

cons collinear

PolyMarkerConsPointOnCurve 

cons point on curve

PolyMarkerConsMidpoint 

cons midpoint

PolyMarkerConsEqualLength 

cons equal length

PolyMarkerConsEqualRadius 

cons equal radius

PolyMarkerConsConstantLength 

cons constant length

PolyMarkerConsConstantAngle 

cons constant angle

PolyMarkerConsMirror 

cons mirror

PolyMarkerDimRadius 

dim radius

PolyMarkerDimDiameter 

dim diameter

PolyMarkerDimParallel 

dim parallel

PolyMarkerDimPerpendicular 

dim perpendicular

PolyMarkerConsSlope 

cons slope

PolyMarkerConsString 

cons string

PolyMarkerConsUniformScaled 

cons uniform scaled

PolyMarkerConsNonUniformScaled 

cons non uniform scaled

PolyMarkerConsAssocTrim 

cons assoc trim

PolyMarkerConsAssocOffset 

cons assoc offset

PolyMarkerDisp2tResSpotWeld 

disp2t res spot weld

PolyMarkerDisp3tResSpotWeld 

disp3t res spot weld

PolyMarkerDisp4tResSpotWeld 

disp4t res spot weld

PolyMarkerDisp2tDcSpotWeld 

disp2t dc spot weld

PolyMarkerDisp3tDcSpotWeld 

disp3t dc spot weld

PolyMarkerDisp4tDcSpotWeld 

disp4t dc spot weld

PolyMarkerDisp2tKpcSpotWeld 

disp2t kpc spot weld

PolyMarkerDisp3tKpcSpotWeld 

disp3t kpc spot weld

PolyMarkerDisp4tKpcSpotWeld 

disp4t kpc spot weld

PolyMarkerDisp2tProcSpotWeld 

disp2t proc spot weld

PolyMarkerDisp3tProcSpotWeld 

disp3t proc spot weld

PolyMarkerDisp4tProcSpotWeld 

disp4t proc spot weld

PolyMarkerArcSpotWeld 

arc spot weld

PolyMarkerClinchWeld 

clinch weld

PolyMarkerAnchor 

anchor

PolyMarkerLeftLeaderConnection 

left leader connection

PolyMarkerRightLeaderConnection 

right leader connection

PolyMarkerFilledCircle 

filled circle

PolyMarkerFilledSquare 

filled square

PolyMarkerLargeFilledSquare 

large filled square

PolyMarkerDatumPoint 

datum point

PolyMarkerSnappingDiamond 

snapping diamond

PolyMarkerCircleInCircle 

circle in circle

PolyMarkerCircleInSquare 

circle in square

PolyMarkerSquareInSquare 

square in square

PolyMarkerFilledLeftTriangle 

filled left triangle

PolyMarkerFilledRightTriangle 

filled right triangle

PolyMarkerFilledUpTriangle 

filled up triangle

PolyMarkerFilledDownTriangle 

filled down triangle

PolyMarkerFilledLeftTriangleInCircle 

filled left triangle in circle

PolyMarkerFilledRightTriangleInCircle 

filled right triangle in circle

PolyMarkerFilledUpTriangleInCircle 

filled up triangle in circle

PolyMarkerFilledDownTriangleInCircle 

filled down triangle in circle

PolyMarkerFilledLeftTriangleInSquare 

filled left triangle in square

PolyMarkerFilledRightTriangleInSquare 

filled right triangle in square

PolyMarkerFilledUpTriangleInSquare 

filled up triangle in square

PolyMarkerFilledDownTriangleInSquare 

filled down triangle in square

PolyMarkerRoundedCross 

rounded cross

PolyMarkerFilledDiamond 

filled diamond

PolyMarkerUpDownTriangles 

up down triangles

PolyMarkerLeftRightTriangles 

left right triangles

PolyMarkerSmallWheel 

small wheel

PolyMarkerLargeWheel 

large wheel

PolyMarkerHollowCircle 

hollow circle

PolyMarkerPreviewPerpendicular 

preview perpendicular

PolyMarkerPreviewHorizontal 

preview horizontal

PolyMarkerPreviewVertical 

preview vertical

PolyMarkerPreviewTangent 

preview tangent

PolyMarkerPreviewParallel 

preview parallel

PolyMarkerPreviewPointOnCurve 

preview point on curve

PolyMarkerPreviewCollinear 

preview collinear

PolyMarkerRuler 

ruler

PolyMarkerProtractor 

protractor

PolyMarkerSketchNotebook 

sketch notebook

PolyMarkerArcEndPoint 

arc end point

PolyMarkerDisp2PtArcMarker 

disp2pt arc marker

PolyMarkerBigAsterisk 

big asterisk

PolyMarkerLineInCircle 

line in circle

PolyMarkerPlusInCircle 

plus in circle

PolyMarkerCenterOfRotation 

center of rotation

PolyMarkerPreviewX 

preview x

PolyMarkerPreviewY 

preview y

PolyMarkerPreviewZ 

preview z

PolyMarkerDisp2tGeneralSpotWeld 

disp2t general spot weld

PolyMarkerDisp3tGeneralSpotWeld 

disp3t general spot weld

PolyMarkerDisp4tGeneralSpotWeld 

disp4t general spot weld

PolyMarkerDisp2tVitalSpotWeld 

disp2t vital spot weld

PolyMarkerDisp3tVitalSpotWeld 

disp3t vital spot weld

PolyMarkerDisp4tVitalSpotWeld 

disp4t vital spot weld

PolyMarkerDisp2tImportantSpotWeld 

disp2t important spot weld

PolyMarkerDisp3tImportantSpotWeld 

disp3t important spot weld

PolyMarkerDisp4tImportantSpotWeld 

disp4t important spot weld

PolyMarkerDisp2tSemipanelSpotWeld 

disp2t semipanel spot weld

PolyMarkerDisp3tSemipanelSpotWeld 

disp3t semipanel spot weld

PolyMarkerDisp4tSemipanelSpotWeld 

disp4t semipanel spot weld

PolyMarkerInvalidMarker 

invalid marker

This enumerated type specifies the type of reference point used in the text box for standard_text methods.

Enumerator
StandardTextRefSystemDefault 

Display the text using the system default reference point position.

StandardTextRefBaselineStart 

Display the text starting on the baseline, at the left end of the text box for left-to-right text, or at the right end of the text box for right-to-left text.

StandardTextRefBaselineCenter 

Display the text with the given position in the horizontal center of the text box at the baseline.

StandardTextRefBaselineEnd 

Display the text starting on the baseline, at the right end of the text box for left-to-right text, or at the left end of the text box for right-to-left text.

StandardTextRefTopLeft 

Display the text with the given position in the top left of the text box.

StandardTextRefTopCenter 

Display the text with the given position in the top center of the text box.

StandardTextRefTopRight 

Display the text with the given position in the top right of the text box.

StandardTextRefMiddleLeft 

Display the text with the given position in the middle left of the text box.

StandardTextRefMiddleCenter 

Display the text with the given position in middle center of text box.

StandardTextRefMiddleRight 

Display the text with the given position in middle right of text box.

StandardTextRefBottomLeft 

Display the text with the given position in bottom left of text box.

StandardTextRefBottomCenter 

Display the text with the given position in bottom center of text box.

StandardTextRefBottomRight 

Display the text with the given position in bottom right of text box.

This enumerated type specifies the type of reference point used in the text box.

Enumerator
TextRefSystemDefault 

Display the text using the system default.

TextRefTopLeft 

Display the text with the given position in the top left of the text box.

TextRefTopCenter 

Display the text with the given position in the top center of the text box.

TextRefTopRight 

Display the text with the given position in the top right of the text box.

TextRefMiddleLeft 

Display the text with the given position in the middle left of the text box.

TextRefMiddleCenter 

Display the text with the given position in middle center of text box.

TextRefMiddleRight 

Display the text with the given position in middle right of text box.

TextRefBottomLeft 

Display the text with the given position in bottom left of text box.

TextRefBottomCenter 

Display the text with the given position in bottom center of text box.

TextRefBottomRight 

Display the text with the given position in bottom right of text box.

Provides a way to specify the size of the desired text, as small, medium or large (normal is a synonym for medium).

Enumerator
TextSizeSmall 

small

TextSizeNormal 

normal

TextSizeMedium 

medium

TextSizeLarge 

large

TextSizeNumSizes 

num sizes

The enumerated view mode.

Enumerator
ViewModeNotShaded 

The view is not shaded.

ViewModePartiallyShaded 

The view is partially shaded.

ViewModeFullyShaded 

The view is fully shaded.

ViewModeAnalysisShaded 

The view is analysis shaded.

ViewModeStudioShaded 

The view is studio shaded.

Constructor & Destructor Documentation

virtual NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::~UserDefinedObjectDisplayContext ( )
virtual

Frees the memory associated with this object.

After invocation of this method, the object is no longer valid.
Created in NX5.0.0.

License requirements : None

Member Function Documentation

void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayAbsoluteRotationScreenSizeStandardText ( int  fontIndex,
const NXString fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const NXString string,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize  textSize 
)

Displays a single line "Standard Text" string using "Absolute Rotation and Screen Size Geometry" for a UserDefinedObject . A "Standard Text" string uses one of the fonts available from the operating system.

"Absolute Rotation and Screen Size Geometry" means the text appears the same physical sized on the screen regardless of the view scale (like "Screen Geometry"), the text remains front-facing and approximately upright (similar to "Screen Geometry"), but the orientation of the text changes as the user rotates the view (like "Absolute Geometry"). The text will be displayed on the XY plane of the absolute coordinate system. This method is not supported for 2D output such as CGM.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringText string to display
textSizesee enum values
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayAbsoluteRotationScreenSizeStandardText ( int  fontIndex,
const char *  fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const char *  string,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize  textSize 
)

Displays a single line "Standard Text" string using "Absolute Rotation and Screen Size Geometry" for a UserDefinedObject . A "Standard Text" string uses one of the fonts available from the operating system.

"Absolute Rotation and Screen Size Geometry" means the text appears the same physical sized on the screen regardless of the view scale (like "Screen Geometry"), the text remains front-facing and approximately upright (similar to "Screen Geometry"), but the orientation of the text changes as the user rotates the view (like "Absolute Geometry"). The text will be displayed on the XY plane of the absolute coordinate system. This method is not supported for 2D output such as CGM.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringText string to display
textSizesee enum values
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayAbsoluteStandardText ( int  fontIndex,
const NXString fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const NXString string,
double  glyphWidth,
double  glyphHeight 
)

Displays a single line "Standard Text" string using "Absolute Geometry" for a UserDefinedObject .

A "Standard Text" string uses one of the fonts available from the operating system. "Absolute Geometry" means that the text scales and rotates with the view, so it appears larger when you zoom in and smaller when you zoom out. This is the type of text normally used by NX Drafting. Note that the text will be displayed on the Absolute XY plane.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringText string to display
glyphWidthWidth of text in units of the Displayed Part
glyphHeightHeight of text in units of the Displayed Part
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayAbsoluteStandardText ( int  fontIndex,
const char *  fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const char *  string,
double  glyphWidth,
double  glyphHeight 
)

Displays a single line "Standard Text" string using "Absolute Geometry" for a UserDefinedObject .

A "Standard Text" string uses one of the fonts available from the operating system. "Absolute Geometry" means that the text scales and rotates with the view, so it appears larger when you zoom in and smaller when you zoom out. This is the type of text normally used by NX Drafting. Note that the text will be displayed on the Absolute XY plane.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringText string to display
glyphWidthWidth of text in units of the Displayed Part
glyphHeightHeight of text in units of the Displayed Part
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayArc ( const NXOpen::Point3d center,
const NXOpen::Matrix3x3 original,
double  radius,
double  startAngle,
double  endAngle 
)

Displays an arc for a UserDefinedObject .

The arc will be created in a plane whose normal is the Z axis of the orientation matrix (matrix[0-2] is the X axis of the orientation matrix, matrix[3-5] is the Y axis of the orientation matrix, and matrix[6-8] is the Z axis of the orientation matrix.) The start and end angles are measured relative to the X and Y axis of this orientation matrix.
Created in NX5.0.0.

License requirements : None

Parameters
centerCenter of the arc (absolute coordinates transformed by the orientation matrix)
originalOrientation matrix for the arc.
radiusRadius of the arc. Must be greater than zero.
startAngleStart angle in radians
endAngleEnd angle in radians
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayCircle ( const NXOpen::Point3d center,
const NXOpen::Matrix3x3 original,
double  radius,
bool  filled 
)

Displays a circle for a UserDefinedObject .

The circle will be created in a plane which is normal to the Z axis of the orientation matrix. (matrix[0-2] is the X axis of the orientation matrix, matrix[3-5] is the Y axis of the orientation matrix, and matrix[6-8] is the Z axis of the orientation matrix.)
Created in NX5.0.0.

License requirements : None

Parameters
centerCenter of the arc (absolute coordinates transformed by the orientation matrix)
originalOrientation matrix for the arc.
radiusRadius of the arc. Must be greater than zero.
filledTrue if the interior of the circle is solid filled, otherwise the interior is not filled
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayFacets ( int  numVertices,
int  numFacets,
const std::vector< NXOpen::Point3d > &  vertices,
const std::vector< NXOpen::Vector3d > &  normals,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::FacetType  typeOfFacet 
)

Displays a series of facets for a UserDefinedObject .


Created in NX5.0.0.

License requirements : None

Parameters
numVerticesNumber of points to define a facet.
numFacetsNumber of facets to display.
verticesArray of point coordinates which define the vertices of the facets. For example assume num_facets = 2 and num_vertices = 3, then vertices[0-2] defines the point of the first vertex of the first facet, vertices[3-5] defines the second vertex point of the first facet, and vertices[6-8] defines the last vertex point of the first facet. Next vertices[9-11] define the first vertex point of the second facet, vertices[12-14] is the second vertex of the second facet, and last vertices[15-17] defines the last vertex of the second facet.
normalsArray of vectors which define the normal to the facet at a vertex point. Normal vectors must be unit vectors, and they should point out away from the faceted object. For example assume num_facets = 2 and num_vertices = 3, then normals[0-8] define the normal vectors at each vertex point in the first facet, and normals[9-17] define the normals for the vertex points of the second facet. More specifically normals[0-2] should define a unit normal vector out away from the facet at the point defined by vertices[0-2]. Likewise normals[3-5] should define a unit normal vector out away from the facet at the point defined by vertices[3-5].
typeOfFacetThe format of the facet in the facet array
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayMultiLineAbsoluteRotationScreenSizeStandardText ( int  fontIndex,
const NXString fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const std::vector< NXString > &  strings,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize  textSize 
)

Displays a multi-line "Standard Text" string using "Absolute Rotation and Screen Size Geometry" for a UserDefinedObject . A "Standard Text" string uses one of the fonts available from the operating system.

"Absolute Rotation and Screen Size Geometry" means the text appears the same physical sized on the screen regardless of the view scale (like "Screen Geometry"), the text remains front-facing and approximately upright (similar to "Screen Geometry"), but the orientation of the text changes as the user rotates the view (like "Absolute Geometry"). The text will be displayed on the XY plane of the absolute coordinate system. This method is not supported for 2D output such as CGM.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringsArray of text strings to display
textSizesee enum values
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayMultiLineAbsoluteRotationScreenSizeStandardText ( int  fontIndex,
const char *  fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const std::vector< NXString > &  strings,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize  textSize 
)

Displays a multi-line "Standard Text" string using "Absolute Rotation and Screen Size Geometry" for a UserDefinedObject . A "Standard Text" string uses one of the fonts available from the operating system.

"Absolute Rotation and Screen Size Geometry" means the text appears the same physical sized on the screen regardless of the view scale (like "Screen Geometry"), the text remains front-facing and approximately upright (similar to "Screen Geometry"), but the orientation of the text changes as the user rotates the view (like "Absolute Geometry"). The text will be displayed on the XY plane of the absolute coordinate system. This method is not supported for 2D output such as CGM.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringsArray of text strings to display
textSizesee enum values
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayMultiLineAbsoluteStandardText ( int  fontIndex,
const NXString fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const std::vector< NXString > &  strings,
double  glyphWidth,
double  glyphHeight 
)

Displays a multi-line "Standard Text" string using "Absolute Geometry" for a UserDefinedObject .

A "Standard Text" string uses one of the fonts available from the operating system. "Absolute Geometry" means that the text scales and rotates with the view, so it appears larger when you zoom in and smaller when you zoom out. This is the type of text normally used by NX Drafting. Note that the text will be displayed on the Absolute XY plane.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringsArray of text strings to display
glyphWidthWidth of text in units of the Displayed Part
glyphHeightHeight of text in units of the Displayed Part
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayMultiLineAbsoluteStandardText ( int  fontIndex,
const char *  fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const std::vector< NXString > &  strings,
double  glyphWidth,
double  glyphHeight 
)

Displays a multi-line "Standard Text" string using "Absolute Geometry" for a UserDefinedObject .

A "Standard Text" string uses one of the fonts available from the operating system. "Absolute Geometry" means that the text scales and rotates with the view, so it appears larger when you zoom in and smaller when you zoom out. This is the type of text normally used by NX Drafting. Note that the text will be displayed on the Absolute XY plane.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringsArray of text strings to display
glyphWidthWidth of text in units of the Displayed Part
glyphHeightHeight of text in units of the Displayed Part
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayMultiLineScreenStandardText ( int  fontIndex,
const NXString fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const std::vector< NXString > &  strings,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize  textSize 
)

Displays a multi-line "Standard Text" string using "Screen Geometry" for a UserDefinedObject .

A "Standard Text" string uses one of the fonts available from the operating system. "Screen Geometry" means that the text remains parallel to the screen and appears the same physical size on the screen regardless of the view scale. This method is not supported for 2D output such as CGM. Note that the text will be displayed on the Absolute XY plane.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringsArray of text strings to display
textSizesee enum values
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayMultiLineScreenStandardText ( int  fontIndex,
const char *  fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const std::vector< NXString > &  strings,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize  textSize 
)

Displays a multi-line "Standard Text" string using "Screen Geometry" for a UserDefinedObject .

A "Standard Text" string uses one of the fonts available from the operating system. "Screen Geometry" means that the text remains parallel to the screen and appears the same physical size on the screen regardless of the view scale. This method is not supported for 2D output such as CGM. Note that the text will be displayed on the Absolute XY plane.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringsArray of text strings to display
textSizesee enum values
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayPoints ( const std::vector< NXOpen::Point3d > &  points,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::PolyMarker  markerType 
)

Displays a series of points for a UserDefinedObject .


Created in NX5.0.0.

License requirements : None

Parameters
pointsArray of point coordinates. points[0-2] defines the first point, points[3-5] defines the second point, etc.
markerTypeThe type of marker displayed for each point
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayPolygon ( const std::vector< NXOpen::Point3d > &  points,
bool  filled 
)

Displays a polygon (a closed set of line segements) for a UserDefinedObject .

The line segments are defined by an array of points.
Created in NX5.0.0.

License requirements : None

Parameters
pointsArray of point coordinates which define the polyline. points[0-2] defines the first end point, points[3-5] defines the second end point, etc.
filledTrue if the interior of the polygon is solid filled, otherwise the interior is not filled
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayPolyline ( const std::vector< NXOpen::Point3d > &  points)

Displays a polyline (a connected set of line segements) for a UserDefinedObject .

The line segments are defined by an array of points.
Created in NX5.0.0.

License requirements : None

Parameters
pointsArray of point coordinates which define the polyline. points[0-2] defines the first point, points[3-5] defines the second point, etc.
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayScreenStandardText ( int  fontIndex,
const NXString fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const NXString string,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize  textSize 
)

Displays a single line "Standard Text" string using "Screen Geometry" for a UserDefinedObject .

A "Standard Text" string uses one of the fonts available from the operating system. "Screen Geometry" means that the text remains parallel to the screen and appears the same physical size on the screen regardless of the view scale. This method is not supported for 2D output such as CGM. Note that the text will be displayed on the Absolute XY plane.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringText string to display
textSizesee enum values
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayScreenStandardText ( int  fontIndex,
const char *  fontStyle,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::StandardTextRef  referencePointType,
const char *  string,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextSize  textSize 
)

Displays a single line "Standard Text" string using "Screen Geometry" for a UserDefinedObject .

A "Standard Text" string uses one of the fonts available from the operating system. "Screen Geometry" means that the text remains parallel to the screen and appears the same physical size on the screen regardless of the view scale. This method is not supported for 2D output such as CGM. Note that the text will be displayed on the Absolute XY plane.
Created in NX8.0.0.

License requirements : None

Parameters
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
textCoordinatesPosition of text box reference point in Absolute Coordinates
referencePointTypeReference point type of text box
stringText string to display
textSizesee enum values
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayText ( const NXString text,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextRef  referencePoint 
)

Displays a text string using an NX text font for a UserDefinedObject .


Created in NX5.0.0.

License requirements : None

Parameters
textText string to display
textCoordinatesPosition of text box reference point in abs
referencePointReference point of text box
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayText ( const char *  text,
const NXOpen::Point3d textCoordinates,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::TextRef  referencePoint 
)

Displays a text string using an NX text font for a UserDefinedObject .


Created in NX5.0.0.

License requirements : None

Parameters
textText string to display
textCoordinatesPosition of text box reference point in abs
referencePointReference point of text box
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayUnicodeMarker ( const NXString unicodeChar,
int  fontIndex,
const NXString fontStyle,
const NXOpen::Point3d markerCoordinates,
double  markerSize 
)

Displays a single character in the given font and style centered at the given position.

The character will always be displayed parallel to the screen.


Created in NX8.0.0.

License requirements : None

Parameters
unicodeCharA single Unicode character to display at the given coordinate position.
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
markerCoordinatesPosition for the center of the marker in Absolute Coordinates
markerSizeIn inches on the screen
void NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::DisplayUnicodeMarker ( const char *  unicodeChar,
int  fontIndex,
const char *  fontStyle,
const NXOpen::Point3d markerCoordinates,
double  markerSize 
)

Displays a single character in the given font and style centered at the given position.

The character will always be displayed parallel to the screen.


Created in NX8.0.0.

License requirements : None

Parameters
unicodeCharA single Unicode character to display at the given coordinate position.
fontIndexIndex of the text font to be used. This must be an index of a standard font. It may be 0 to use the default font.
fontStyleThe name of a style supported by the given font. Specify NULL to use the default style for the font, which usually is Regular (no bold, no italic). If a non-NULL style does not exist for the font, the font's default style will be used.
markerCoordinatesPosition for the center of the marker in Absolute Coordinates
markerSizeIn inches on the screen
NXOpen::View* NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::GetViewMode ( bool *  isViewModeValid,
NXOpen::UserDefinedObjects::UserDefinedObjectDisplayContext::ViewMode viewMode,
bool *  isAttenPtValid,
NXOpen::Point3d attentionPoint,
bool *  isDrawingViewOpen 
)

Get information about the current view mode and display context in which geometry is displayed.

Returns
View being displayed
Created in NX8.5.0.

License requirements : None
Parameters
isViewModeValidTrue if the view mode was returned and False if no information was available
viewModeView mode describes the views shading and face analysis mode - see enum values for more details
isAttenPtValidTrue if the attention point was returned and False if no information was available
attentionPointThe attention point of the geometry just displayed
isDrawingViewOpenIs the drawing view open for display? If true then geometry may be added to the drawing. If false another view which is not the drawing is open

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