extern std::vector<vec3d> ReadFileAirfoil( const string& xsec_id, const string& file_name );
ReadFileAirfoil( xsec'+str(p)+', "D:/delannay/OpenVSP_Project/'+airfoil_file+'" );
array<vec3d> @xsec'+str(p)+'_AirfoilUpperPnts = GetAirfoilUpperPnts( xsec'+str(p)+' );
array<vec3d> @xsec'+str(p)+'_AirfoilLowerPnts = GetAirfoilLowerPnts( xsec'+str(p)+' );
SetAirfoilPnts( xsec'+str(p)+', xsec'+str(p)+'_AirfoilUpperPnts, xsec'+str(p)+'_AirfoilLowerPnts ); NOTES:
- "airfoil_file" looks like "BOEING_737_OUTBOARD_AIRFOIL.dat"
- "str(p)" is an index I use in a for loop to set the airfoil for each xsec.