NX Open C++ Reference Guide
|
Represents a Features::VehicleDesign::BaseDataBuilder . More...
Public Member Functions | |
void | AddLoading (NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder *loading) |
Adds a loading, which represents Features::VehicleDesign::BaseDataLoadingBuilder , to the base data. | |
void | AddPassenger (NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder *passenger) |
Adds a passenger, which represents Features::VehicleDesign::BaseDataPassengerBuilder , to the base data. | |
NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder * | CreateLoading (NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder *pOther) |
Creates an instance of Features::VehicleDesign::BaseDataLoadingBuilder from another instance. | |
NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder * | CreatePassenger (NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder *pOther) |
Creates an instance of Features::VehicleDesign::BaseDataPassengerBuilder from another instance. | |
NXOpen::Features::VehicleDesign::BaseDataDriverBuilder * | Driver () |
Returns the driver builder, which represents a Features::VehicleDesign::BaseDataDriverBuilder . | |
double | GetBodyWidth () |
Returns the body width. | |
double | GetFrontOverhang () |
Returns the front overhang of the vehicle. | |
int | GetLoadingCount () |
Returns the total number of loadings in the base data. | |
NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder * | GetNthLoading (int nIndex) |
Returns the nth loading, which represents Features::VehicleDesign::BaseDataLoadingBuilder , from the base data. | |
NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder * | GetNthPassenger (int nIndex) |
Returns the nth passenger, which represents Features::VehicleDesign::BaseDataPassengerBuilder , from the base data. | |
NXOpen::Features::VehicleDesign::BaseDataWheelBuilder * | GetNthWheel (int nWheelIndex) |
Gets the nth wheel. | |
int | GetPassengerCount () |
Returns the total number of passengers in the base data. | |
double | GetRearOverhang () |
Returns the rear overhang of the vehicle. | |
double | GetVehicleLength () |
Returns the overall vehicle length. | |
double | GetVehicleWidth () |
Returns the vehicle width. | |
double | GetWheelbase () |
Returns the wheelbase of the vehicle. | |
NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder * | LoadingDefinition () |
Returns the loading definition. | |
NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder * | PassengerDefinition () |
Returns the passenger definition. | |
void | RemoveLoading (NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder *loading) |
Removes a loading, which represents Features::VehicleDesign::BaseDataLoadingBuilder , from the base data. | |
void | RemovePassenger (NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder *passenger) |
Removes a passenger, which represents Features::VehicleDesign::BaseDataPassengerBuilder , from the base data. | |
void | SetBodyWidth (double bodyWidth) |
Sets the body width. | |
void | SetFrontOverhang (double overhangFront) |
Sets the front overhang of the vehicle. | |
void | SetRearOverhang (double overhangBack) |
Sets the rear overhang of the vehicle. | |
void | SetShowSurface (bool showSurface) |
Sets the option to indicate whether to show surface or not. | |
void | SetShowWireframe (bool showWireframe) |
Sets the option to indicate whether to show curve or not. | |
void | SetVehicleCategory (const NXString &vehicleCategory) |
Sets the vehicle category. | |
void | SetVehicleCategory (const char *vehicleCategory) |
Sets the vehicle category. | |
void | SetVehicleDescription (const NXString &vehicleDescription) |
Sets the name or short description of the vehicle. | |
void | SetVehicleDescription (const char *vehicleDescription) |
Sets the name or short description of the vehicle. | |
void | SetVehicleWidth (double vehicleWidth) |
Sets the vehicle width. | |
void | SetWheelPositionDefinition (NXOpen::Features::VehicleDesign::BaseDataWheelBuilder::PositionDefinitionOptions positionDefinition) |
Sets the wheel position definition option of the vehicle. | |
bool | ShowSurface () |
Returns the option to indicate whether to show surface or not. | |
bool | ShowWireframe () |
Returns the option to indicate whether to show curve or not. | |
NXString | VehicleCategory () |
Returns the vehicle category. | |
NXString | VehicleDescription () |
Returns the name or short description of the vehicle. | |
NXOpen::Features::VehicleDesign::BaseDataWheelBuilder::PositionDefinitionOptions | WheelPositionDefinition () |
Returns the wheel position definition option of the vehicle. | |
![]() | |
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Features::VehicleDesign::BaseDataBuilder .
To create a new instance of this class, use Features::VehicleDesignCollection::CreateBaseDataBuilder
Created in NX8.5.0.
void NXOpen::Features::VehicleDesign::BaseDataBuilder::AddLoading | ( | NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder * | loading | ) |
Adds a loading, which represents Features::VehicleDesign::BaseDataLoadingBuilder , to the base data.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
loading | loading |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::AddPassenger | ( | NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder * | passenger | ) |
Adds a passenger, which represents Features::VehicleDesign::BaseDataPassengerBuilder , to the base data.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
passenger | passenger |
NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder* NXOpen::Features::VehicleDesign::BaseDataBuilder::CreateLoading | ( | NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder * | pOther | ) |
Creates an instance of Features::VehicleDesign::BaseDataLoadingBuilder from another instance.
If pOther is NULL, the created builder will be initialized with default value. If pOther is not NULL, the created builder will be iniialized with pOther's value. @return
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
pOther | data to be initialized from, can be NULL |
NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder* NXOpen::Features::VehicleDesign::BaseDataBuilder::CreatePassenger | ( | NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder * | pOther | ) |
Creates an instance of Features::VehicleDesign::BaseDataPassengerBuilder from another instance.
If pOther is NULL, the created builder will be initialized with default value. If pOther is not NULL, the created builder will be iniialized with pOther's value. @return
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
pOther | Data to be initialized from, can be NULL |
NXOpen::Features::VehicleDesign::BaseDataDriverBuilder* NXOpen::Features::VehicleDesign::BaseDataBuilder::Driver | ( | ) |
Returns the driver builder, which represents a Features::VehicleDesign::BaseDataDriverBuilder .
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::VehicleDesign::BaseDataBuilder::GetBodyWidth | ( | ) |
Returns the body width.
This value is used for calculating the fields of vision according to US and CDN standards instead of vehicle width.
double NXOpen::Features::VehicleDesign::BaseDataBuilder::GetFrontOverhang | ( | ) |
Returns the front overhang of the vehicle.
The front overhang is measured from the front wheel center point in the negative x direction. @return
Created in NX8.5.0.
License requirements : None
int NXOpen::Features::VehicleDesign::BaseDataBuilder::GetLoadingCount | ( | ) |
Returns the total number of loadings in the base data.
NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder* NXOpen::Features::VehicleDesign::BaseDataBuilder::GetNthLoading | ( | int | nIndex | ) |
Returns the nth loading, which represents Features::VehicleDesign::BaseDataLoadingBuilder , from the base data.
nIndex | nindex |
NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder* NXOpen::Features::VehicleDesign::BaseDataBuilder::GetNthPassenger | ( | int | nIndex | ) |
Returns the nth passenger, which represents Features::VehicleDesign::BaseDataPassengerBuilder , from the base data.
nIndex | nindex |
NXOpen::Features::VehicleDesign::BaseDataWheelBuilder* NXOpen::Features::VehicleDesign::BaseDataBuilder::GetNthWheel | ( | int | nWheelIndex | ) |
Gets the nth wheel.
nWheelIndex | nwheelindex |
int NXOpen::Features::VehicleDesign::BaseDataBuilder::GetPassengerCount | ( | ) |
Returns the total number of passengers in the base data.
double NXOpen::Features::VehicleDesign::BaseDataBuilder::GetRearOverhang | ( | ) |
Returns the rear overhang of the vehicle.
The rear overhang is measured from the rear wheel center point in the positive x direction. @return
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::VehicleDesign::BaseDataBuilder::GetVehicleLength | ( | ) |
Returns the overall vehicle length.
Vehicle length is a computed value and cannot be changed by the user. The underlying formula calculates vehicle length based on wheelbase plus front and back overhang.
double NXOpen::Features::VehicleDesign::BaseDataBuilder::GetVehicleWidth | ( | ) |
Returns the vehicle width.
The vehicle width is calculated outgoing from the vehicle mid plane half of the defined value in positive y direction and as well half of the defined value in negative y direction.
double NXOpen::Features::VehicleDesign::BaseDataBuilder::GetWheelbase | ( | ) |
Returns the wheelbase of the vehicle.
Wheelbase is a computed value and cannot be changed by the user. The underlying formula calculates wheelbase based on the x coordinate of the rear wheel center point minus the x coordinate of the front wheel center point.
NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder* NXOpen::Features::VehicleDesign::BaseDataBuilder::LoadingDefinition | ( | ) |
Returns the loading definition.
Created in NX8.5.0.
License requirements : None
NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder* NXOpen::Features::VehicleDesign::BaseDataBuilder::PassengerDefinition | ( | ) |
Returns the passenger definition.
Created in NX8.5.0.
License requirements : None
void NXOpen::Features::VehicleDesign::BaseDataBuilder::RemoveLoading | ( | NXOpen::Features::VehicleDesign::BaseDataLoadingBuilder * | loading | ) |
Removes a loading, which represents Features::VehicleDesign::BaseDataLoadingBuilder , from the base data.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
loading | loading |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::RemovePassenger | ( | NXOpen::Features::VehicleDesign::BaseDataPassengerBuilder * | passenger | ) |
Removes a passenger, which represents Features::VehicleDesign::BaseDataPassengerBuilder , from the base data.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
passenger | passenger |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetBodyWidth | ( | double | bodyWidth | ) |
Sets the body width.
This value is used for calculating the fields of vision according to US and CDN standards instead of vehicle width.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
bodyWidth | bodywidth |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetFrontOverhang | ( | double | overhangFront | ) |
Sets the front overhang of the vehicle.
The front overhang is measured from the front wheel center point in the negative x direction.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
overhangFront | overhangfront |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetRearOverhang | ( | double | overhangBack | ) |
Sets the rear overhang of the vehicle.
The rear overhang is measured from the rear wheel center point in the positive x direction.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
overhangBack | overhangback |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetShowSurface | ( | bool | showSurface | ) |
Sets the option to indicate whether to show surface or not.
If it is true, the wheel surface is shown.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
showSurface | showsurface |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetShowWireframe | ( | bool | showWireframe | ) |
Sets the option to indicate whether to show curve or not.
If it is true, the wheel curve is shown.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
showWireframe | showwireframe |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetVehicleCategory | ( | const NXString & | vehicleCategory | ) |
Sets the vehicle category.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
vehicleCategory | vehiclecategory |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetVehicleCategory | ( | const char * | vehicleCategory | ) |
Sets the vehicle category.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
vehicleCategory | vehiclecategory |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetVehicleDescription | ( | const NXString & | vehicleDescription | ) |
Sets the name or short description of the vehicle.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
vehicleDescription | vehicledescription |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetVehicleDescription | ( | const char * | vehicleDescription | ) |
Sets the name or short description of the vehicle.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
vehicleDescription | vehicledescription |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetVehicleWidth | ( | double | vehicleWidth | ) |
Sets the vehicle width.
The vehicle width is calculated outgoing from the vehicle mid plane half of the defined value in positive y direction and as well half of the defined value in negative y direction.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
vehicleWidth | vehiclewidth |
void NXOpen::Features::VehicleDesign::BaseDataBuilder::SetWheelPositionDefinition | ( | NXOpen::Features::VehicleDesign::BaseDataWheelBuilder::PositionDefinitionOptions | positionDefinition | ) |
Sets the wheel position definition option of the vehicle.
Created in NX8.5.0.
License requirements : nx_general_packaging ("NX General Packaging")
positionDefinition | positiondefinition |
bool NXOpen::Features::VehicleDesign::BaseDataBuilder::ShowSurface | ( | ) |
Returns the option to indicate whether to show surface or not.
If it is true, the wheel surface is shown.
Created in NX8.5.0.
License requirements : None
bool NXOpen::Features::VehicleDesign::BaseDataBuilder::ShowWireframe | ( | ) |
Returns the option to indicate whether to show curve or not.
If it is true, the wheel curve is shown.
Created in NX8.5.0.
License requirements : None
NXString NXOpen::Features::VehicleDesign::BaseDataBuilder::VehicleCategory | ( | ) |
Returns the vehicle category.
Created in NX8.5.0.
License requirements : None
NXString NXOpen::Features::VehicleDesign::BaseDataBuilder::VehicleDescription | ( | ) |
Returns the name or short description of the vehicle.
Created in NX8.5.0.
License requirements : None
NXOpen::Features::VehicleDesign::BaseDataWheelBuilder::PositionDefinitionOptions NXOpen::Features::VehicleDesign::BaseDataBuilder::WheelPositionDefinition | ( | ) |
Returns the wheel position definition option of the vehicle.
Created in NX8.5.0.
License requirements : None