For wind load definition, you can use the following function to add the height vs. intensity data for a particular wind load type--
Load.AddWindIntensity type, intensity, height
For seismic load, do you want to create the seismic definition using OpenSTAAD Function or do you want to add the seismic load on the structure using the direction and factor? If you want to add the load, then you can use the following function--
Load.AddSeismicLoad direction, factor
Load.AddWindIntensity type, intensity, height
For seismic load, do you want to create the seismic definition using OpenSTAAD Function or do you want to add the seismic load on the structure using the direction and factor? If you want to add the load, then you can use the following function--
Load.AddSeismicLoad direction, factor