NX Open C++ Reference Guide
|
Represents a Slope Analysis builder. More...
Public Types | |
enum | DisplayModes { DisplayModesFringe, DisplayModesHedgehog, DisplayModesContourLines } |
The display type. More... | |
Public Member Functions | |
void | CreatePMILabel (const NXOpen::Point3d &location, NXOpen::DisplayableObject *face) |
Create a PMI label. More... | |
NXOpen::GeometricAnalysis::FaceAnalysisDataRangeBuilder * | DataRange () |
Returns the slope analysis data range. More... | |
NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::DisplayModes | DisplayMode () |
Returns the display mode. More... | |
NXOpen::GeometricAnalysis::FaceAnalysisDisplayBuilder * | DisplaySettings () |
Returns the slope analysis display settings. More... | |
NXOpen::SelectDisplayableObjectList * | Faces () |
Returns the face to apply slope analysis. More... | |
NXOpen::GeometricAnalysis::FaceAnalysisNormalsBuilder * | Normals () |
Returns the slope analysis normals. More... | |
int | NumberOfContourLines () |
Returns the number of contour lines. More... | |
NXOpen::SelectNXObjectList * | PmiPoint () |
Returns the point to draw labels. More... | |
void | SetDisplayMode (NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::DisplayModes displayMode) |
Sets the display mode. More... | |
void | SetNumberOfContourLines (int numberOfContourLines) |
Sets the number of contour lines. More... | |
void | SetSpikeLength (double spikeLength) |
Sets the spike length. More... | |
void | SetVector (NXOpen::Direction *vector) |
Sets the reference vector used for slope analysis. More... | |
double | SpikeLength () |
Returns the spike length. More... | |
void | StartSlopeAnalysis () |
Start slope analysis. More... | |
NXOpen::Direction * | Vector () |
Returns the reference vector used for slope analysis. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Represents a Slope Analysis builder.
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisObjectCollectionEx::CreateSlopeAnalysisBuilder
Default values.
Property | Value |
---|---|
DataRange.IsFixed |
1 |
DataRange.Max |
0.010000 |
DataRange.Middle |
0.000000 |
DataRange.MiddleScale |
0.000000 |
DataRange.Min |
-0.010000 |
DataRange.ZoomScale |
8 |
DisplayMode |
Fringe |
DisplaySettings.CanShowFacet |
0 |
DisplaySettings.ColorLegendOption |
Blend |
DisplaySettings.DisplayResolution.AngleTolerance |
15.0 |
DisplaySettings.DisplayResolution.EdgeTolerance |
0.005 |
DisplaySettings.DisplayResolution.FaceTolerance |
0.005 |
DisplaySettings.DisplayResolution.Resolution |
Standard |
DisplaySettings.DisplayResolution.WidthTolerance |
0.3 |
DisplaySettings.NumberOfColors |
Seven |
NumberOfContourLines |
8 |
SpikeLength |
25.4 (millimeters part), 1.0 (inches part) |
Created in NX11.0.0.
void NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::CreatePMILabel | ( | const NXOpen::Point3d & | location, |
NXOpen::DisplayableObject * | face | ||
) |
Create a PMI label.
Created in NX11.0.0.
License requirements : None
location | the loction on the face to create a PMI label. |
face | the selected face to create a PMI label. |
NXOpen::GeometricAnalysis::FaceAnalysisDataRangeBuilder* NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::DataRange | ( | ) |
Returns the slope analysis data range.
Created in NX11.0.0.
License requirements : None
NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::DisplayModes NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::DisplayMode | ( | ) |
Returns the display mode.
Created in NX11.0.0.
License requirements : None
NXOpen::GeometricAnalysis::FaceAnalysisDisplayBuilder* NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::DisplaySettings | ( | ) |
Returns the slope analysis display settings.
Created in NX11.0.0.
License requirements : None
NXOpen::SelectDisplayableObjectList* NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::Faces | ( | ) |
Returns the face to apply slope analysis.
Created in NX11.0.0.
License requirements : None
NXOpen::GeometricAnalysis::FaceAnalysisNormalsBuilder* NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::Normals | ( | ) |
Returns the slope analysis normals.
Created in NX11.0.0.
License requirements : None
int NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::NumberOfContourLines | ( | ) |
Returns the number of contour lines.
Created in NX11.0.0.
License requirements : None
NXOpen::SelectNXObjectList* NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::PmiPoint | ( | ) |
Returns the point to draw labels.
Created in NX11.0.0.
License requirements : None
void NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::SetDisplayMode | ( | NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::DisplayModes | displayMode | ) |
Sets the display mode.
Created in NX11.0.0.
License requirements : None
displayMode | displaymode |
void NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::SetNumberOfContourLines | ( | int | numberOfContourLines | ) |
Sets the number of contour lines.
Created in NX11.0.0.
License requirements : None
numberOfContourLines | numberofcontourlines |
void NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::SetSpikeLength | ( | double | spikeLength | ) |
Sets the spike length.
Created in NX11.0.0.
License requirements : None
spikeLength | spikelength |
void NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::SetVector | ( | NXOpen::Direction * | vector | ) |
Sets the reference vector used for slope analysis.
Created in NX11.0.0.
License requirements : None
vector | vector |
double NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::SpikeLength | ( | ) |
Returns the spike length.
Created in NX11.0.0.
License requirements : None
void NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::StartSlopeAnalysis | ( | ) |
Start slope analysis.
Created in NX11.0.0.
License requirements : None
NXOpen::Direction* NXOpen::GeometricAnalysis::SlopeAnalysisBuilder::Vector | ( | ) |
Returns the reference vector used for slope analysis.
Created in NX11.0.0.
License requirements : None