NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Display::DatumPlaneGridBuilder Class Reference

Represents the builder for adding a datum plane grid Display::DatumPlaneGrid to a datum plane. More...

Inheritance diagram for NXOpen::Display::DatumPlaneGridBuilder:
NXOpen::Display::BoundedGridBuilder NXOpen::Display::GridBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  GridOrientationType { GridOrientationTypeFromDatumPlane, GridOrientationTypeCustom }
 Specifies grid orientation option to be used for grid display. More...

Public Member Functions

std::vector< NXOpen::DatumPlane * > GetDatumPlanes ()
 Get the list of datum planes.
NXOpen::Display::DatumPlaneGridBuilder::GridOrientationType GridOrientation ()
 Returns the grid orientation
Created in NX6.0.0.
void SetDatumPlanes (const std::vector< NXOpen::DatumPlane * > &datumPlanes)
 Set the list of datum planes.
void SetGridOrientation (NXOpen::Display::DatumPlaneGridBuilder::GridOrientationType gridOrientation)
 Sets the grid orientation
Created in NX6.0.0.

Detailed Description

Represents the builder for adding a datum plane grid Display::DatumPlaneGrid to a datum plane.


To create a new instance of this class, use Display::GridCollection::CreateDatumPlaneGridBuilder
Default values.

Property Value

Associative

1

GridOrientation

Custom

LabelReference

Local

MajorLineSpacing

100 (millimeters part), 1 (inches part)

MajorLineStyle

Solid

MajorLineWeight

Normal

MinorLineStyle

Dashed

MinorLineWeight

Thin

MinorLinesPerMajor

1

Show

1

ShowLabel

Always

ShowMajorLines

1

ShowOnTop

0

SnapPointsPerMinor

1

SnapToGrid

0


Created in NX6.0.0.


Member Enumeration Documentation

Specifies grid orientation option to be used for grid display.

Enumerator:
GridOrientationTypeFromDatumPlane 

Grid display matches datum plane display.

GridOrientationTypeCustom 

Grid size, location, and orientation can be customized using the manipulator controls.


Member Function Documentation

Get the list of datum planes.

Returns:
datum plane list
Created in NX6.0.0.

License requirements : None

Returns the grid orientation
Created in NX6.0.0.



License requirements : None

void NXOpen::Display::DatumPlaneGridBuilder::SetDatumPlanes ( const std::vector< NXOpen::DatumPlane * > &  datumPlanes)

Set the list of datum planes.

When editing an existing datum plane grid, only a single datum plane may be set and it must meet the following conditions:


Created in NX6.0.0.

License requirements : None

Parameters:
datumPlanesdatum plane list

Sets the grid orientation
Created in NX6.0.0.



License requirements : None

Parameters:
gridOrientationgridorientation

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