The Vehicle group of functions are high-level commands that pertain to the entire OpenVSP model.
Click here to return to the main page.
More...
◆ ClearVSPModel()
Clear the current OpenVSP model
string fid =
AddGeom(
"FUSELAGE",
"" );
Print(
string(
"--->Resetting VSP model to blank slate\n" ) );
◆ GetVSPFileName()
Get the file name of the current OpenVSP project
string fid =
AddGeom(
"FUSELAGE",
"" );
string fname = "example_fuse.vsp3";
Print(
"\tSaving vehicle file to: ",
false );
- Returns
- File name for the current OpenVSP project
◆ Update()
Update the entire vehicle and all lower level children
string fid =
AddGeom(
"FUSELAGE",
"" );
◆ VSPExit()
void VSPExit |
( |
int |
error_code | ) |
|
Exit the program with a specific error code
- Parameters
-
void SetXSecTanAngles(const string &in xsec_id, int side, double top, double right=- 1.0e12, double bottom=- 1.0e12, double left=- 1.0e12)