|
NX Open C++ Reference Guide
|
The builder to create slope feature. More...
Public Types | |
| enum | PositionType { PositionTypeFront, PositionTypeRear, PositionTypeBoth } |
| Represents the slope positions. More... | |
| enum | RequirementsControlType { RequirementsControlTypeStandardDriven, RequirementsControlTypeUserDefined } |
| Represents the requirements control types to define the slope. More... | |
| enum | VisualizationType { VisualizationTypeCurve, VisualizationTypeSurface, VisualizationTypeCurveandSurface } |
| Represents the visualization types of the output. More... | |
| enum | WheelSizeType { WheelSizeTypeStaticRadius, WheelSizeTypeDiameter } |
| Represents the wheel size types to calculate slope output. More... | |
Public Member Functions | |
| NXOpen::Expression * | FrontAngle () |
| Returns the expression containing the front angle. | |
| NXString | FrontLoading () |
| Returns the loading applied to the vehicle front used in the slope. | |
| NXOpen::ScCollector * | FrontObjects () |
| Returns the selected front faces for slope measurement. | |
| NXOpen::Features::VehicleDesign::SlopeBuilder::PositionType | Position () |
| Returns the slope position. | |
| NXOpen::Expression * | RearAngle () |
| Returns the expression containing the rear angle. | |
| NXString | RearLoading () |
| Returns the loading applied to the vehicle rear used in the slope. | |
| NXOpen::ScCollector * | RearObjects () |
| Returns the selected rear faces for slope measurement. | |
| NXOpen::Features::VehicleDesign::SlopeBuilder::RequirementsControlType | RequirementsControl () |
| Returns the requirements control for standard or user defined. | |
| void | SetFrontLoading (const NXString &frontLoading) |
| Sets the loading applied to the vehicle front used in the slope. | |
| void | SetFrontLoading (const char *frontLoading) |
| Sets the loading applied to the vehicle front used in the slope. | |
| void | SetPosition (NXOpen::Features::VehicleDesign::SlopeBuilder::PositionType position) |
| Sets the slope position. | |
| void | SetRearLoading (const NXString &rearLoading) |
| Sets the loading applied to the vehicle rear used in the slope. | |
| void | SetRearLoading (const char *rearLoading) |
| Sets the loading applied to the vehicle rear used in the slope. | |
| void | SetRequirementsControl (NXOpen::Features::VehicleDesign::SlopeBuilder::RequirementsControlType requirement) |
| Sets the requirements control for standard or user defined. | |
| void | SetShowDistanceMeasurement (bool showDistanceMeasurement) |
| Sets the value to show distance measurement. | |
| void | SetStandard (const NXString &standard) |
| Sets the standard used to define the slope. | |
| void | SetStandard (const char *standard) |
| Sets the standard used to define the slope. | |
| void | SetVisualization (NXOpen::Features::VehicleDesign::SlopeBuilder::VisualizationType visualization) |
| Sets the visualization type of the slope output. | |
| void | SetWheelSize (NXOpen::Features::VehicleDesign::SlopeBuilder::WheelSizeType wheelSize) |
| Sets the wheel size used in the slope. | |
| bool | ShowDistanceMeasurement () |
| Returns the value to show distance measurement. | |
| NXString | Standard () |
| Returns the standard used to define the slope. | |
| NXOpen::Features::VehicleDesign::SlopeBuilder::VisualizationType | Visualization () |
| Returns the visualization type of the slope output. | |
| NXOpen::Features::VehicleDesign::SlopeBuilder::WheelSizeType | WheelSize () |
| Returns the wheel size used in the slope. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
The builder to create slope feature.
To create a new instance of this class, use Features::VehicleDesignCollection::CreateSlopeBuilder
Default values.
| Property | Value |
|---|---|
|
Position |
Front |
|
RequirementsControl |
StandardDriven |
|
Visualization |
Surface |
Created in NX8.5.0.
| NXOpen::Expression* NXOpen::Features::VehicleDesign::SlopeBuilder::FrontAngle | ( | ) |
Returns the expression containing the front angle.
Created in NX8.5.0.
License requirements : None
| NXString NXOpen::Features::VehicleDesign::SlopeBuilder::FrontLoading | ( | ) |
Returns the loading applied to the vehicle front used in the slope.
Created in NX8.5.0.
License requirements : None
| NXOpen::ScCollector* NXOpen::Features::VehicleDesign::SlopeBuilder::FrontObjects | ( | ) |
Returns the selected front faces for slope measurement.
Created in NX8.5.0.
License requirements : None
| NXOpen::Features::VehicleDesign::SlopeBuilder::PositionType NXOpen::Features::VehicleDesign::SlopeBuilder::Position | ( | ) |
Returns the slope position.
Created in NX8.5.0.
License requirements : None
| NXOpen::Expression* NXOpen::Features::VehicleDesign::SlopeBuilder::RearAngle | ( | ) |
Returns the expression containing the rear angle.
Created in NX8.5.0.
License requirements : None
| NXString NXOpen::Features::VehicleDesign::SlopeBuilder::RearLoading | ( | ) |
Returns the loading applied to the vehicle rear used in the slope.
Created in NX8.5.0.
License requirements : None
| NXOpen::ScCollector* NXOpen::Features::VehicleDesign::SlopeBuilder::RearObjects | ( | ) |
Returns the selected rear faces for slope measurement.
Created in NX8.5.0.
License requirements : None
| NXOpen::Features::VehicleDesign::SlopeBuilder::RequirementsControlType NXOpen::Features::VehicleDesign::SlopeBuilder::RequirementsControl | ( | ) |
Returns the requirements control for standard or user defined.
Created in NX8.5.0.
License requirements : None
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetFrontLoading | ( | const NXString & | frontLoading | ) |
Sets the loading applied to the vehicle front used in the slope.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| frontLoading | frontloading |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetFrontLoading | ( | const char * | frontLoading | ) |
Sets the loading applied to the vehicle front used in the slope.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| frontLoading | frontloading |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetPosition | ( | NXOpen::Features::VehicleDesign::SlopeBuilder::PositionType | position | ) |
Sets the slope position.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| position | position |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetRearLoading | ( | const NXString & | rearLoading | ) |
Sets the loading applied to the vehicle rear used in the slope.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| rearLoading | rearloading |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetRearLoading | ( | const char * | rearLoading | ) |
Sets the loading applied to the vehicle rear used in the slope.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| rearLoading | rearloading |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetRequirementsControl | ( | NXOpen::Features::VehicleDesign::SlopeBuilder::RequirementsControlType | requirement | ) |
Sets the requirements control for standard or user defined.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| requirement | requirement |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetShowDistanceMeasurement | ( | bool | showDistanceMeasurement | ) |
Sets the value to show distance measurement.
True will show the distance measurement. False will hide the distance measurement.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| showDistanceMeasurement | showdistancemeasurement |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetStandard | ( | const NXString & | standard | ) |
Sets the standard used to define the slope.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| standard | standard |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetStandard | ( | const char * | standard | ) |
Sets the standard used to define the slope.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| standard | standard |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetVisualization | ( | NXOpen::Features::VehicleDesign::SlopeBuilder::VisualizationType | visualization | ) |
Sets the visualization type of the slope output.
See @link Features::VehicleDesign::SlopeBuilder::VisualizationType Features::VehicleDesign::SlopeBuilder::VisualizationType@endlink for valid values.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| visualization | visualization |
| void NXOpen::Features::VehicleDesign::SlopeBuilder::SetWheelSize | ( | NXOpen::Features::VehicleDesign::SlopeBuilder::WheelSizeType | wheelSize | ) |
Sets the wheel size used in the slope.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
| wheelSize | wheelsize |
| bool NXOpen::Features::VehicleDesign::SlopeBuilder::ShowDistanceMeasurement | ( | ) |
Returns the value to show distance measurement.
True will show the distance measurement. False will hide the distance measurement.
Created in NX8.5.0.
License requirements : None
| NXString NXOpen::Features::VehicleDesign::SlopeBuilder::Standard | ( | ) |
Returns the standard used to define the slope.
Created in NX8.5.0.
License requirements : None
| NXOpen::Features::VehicleDesign::SlopeBuilder::VisualizationType NXOpen::Features::VehicleDesign::SlopeBuilder::Visualization | ( | ) |
Returns the visualization type of the slope output.
See @link Features::VehicleDesign::SlopeBuilder::VisualizationType Features::VehicleDesign::SlopeBuilder::VisualizationType@endlink for valid values.
Created in NX8.5.0.
License requirements : None
| NXOpen::Features::VehicleDesign::SlopeBuilder::WheelSizeType NXOpen::Features::VehicleDesign::SlopeBuilder::WheelSize | ( | ) |
Returns the wheel size used in the slope.
Created in NX8.5.0.
License requirements : None