I'm using STAAD.Pro Script Editor and OpenSTAAD to generate a structural model. I noticed that the command OSLoadUI::AddSelfWeightInXYZ, parameter varInDirection works properly using the self weight direction index 1, 2, 3 for X, Y, Z, respectively instead…