NX Open C++ Reference Guide
|
Represents the builder for adding a datum plane grid Display::DatumPlaneGrid to a datum plane. More...
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. |
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.
std::vector<NXOpen::DatumPlane *> NXOpen::Display::DatumPlaneGridBuilder::GetDatumPlanes | ( | ) |
Get the list of datum planes.
NXOpen::Display::DatumPlaneGridBuilder::GridOrientationType NXOpen::Display::DatumPlaneGridBuilder::GridOrientation | ( | ) |
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
datumPlanes | datum plane list |
void NXOpen::Display::DatumPlaneGridBuilder::SetGridOrientation | ( | NXOpen::Display::DatumPlaneGridBuilder::GridOrientationType | gridOrientation | ) |
Sets the grid orientation
Created in NX6.0.0.
License requirements : None
gridOrientation | gridorientation |