### GetStandardProfileDBFolder example Source: https://www.openstaad.com/docs/standard-table-sections Returns the standard profile DB folder. The example connects to OpenSTAAD and calls GetStandardProfileDBFolder, then prints the raw result. ```python from openstaad import ops s = ops.connect() result = s.GetStandardProfileDBFolder() print(result) ``` -------------------------------- ### CreateDesignBrief example Source: https://www.openstaad.com/docs/design-steel Creates the design brief with the specified design code. The example connects to OpenSTAAD and prints the raw return value from the COM call. ```python from openstaad import ops s = ops.connect() result = s.CreateDesignBrief(1) print(result) ``` -------------------------------- ### GetUserProvidedTableList example Source: https://www.openstaad.com/docs/table-report Returns a list of user-provided table numbers. The example prints the returned list. ```python from openstaad import ops s = ops.connect() result = s.GetUserProvidedTableList() print(result) ``` -------------------------------- ### CreateTubePropertyFromTable example Source: https://www.openstaad.com/docs/standard-table-sections Creates a tube property from a table. The example connects to OpenSTAAD and calls CreateTubePropertyFromTable with sample arguments, then prints the raw result. ```python from openstaad import ops s = ops.connect() result = s.CreateTubePropertyFromTable(1, "value", 1, 1.0, 1.0, 1.0) print(result) ``` -------------------------------- ### SetActiveWindow example Source: https://www.openstaad.com/docs/view Sets the active window. The example connects to OpenSTAAD and calls SetActiveWindow with an integer id, printing the raw return value. ```python from openstaad import ops s = ops.connect() result = s.SetActiveWindow(1) print(result) ``` -------------------------------- ### AddUPTPropertyTUBE Example Source: https://www.openstaad.com/docs/upt-profiles Adds the UPT property TUBE. Returns True on success, False otherwise. The example connects to OpenSTAAD and calls the method with sample parameters. ```python from openstaad import ops s = ops.connect() result = s.AddUPTPropertyTUBE(1, "value", 1, 1.0, 1.0, 1.0, 1, 1.0, 1.0, 1.0, 1.0) print(result) ``` -------------------------------- ### GetPlateList Example Source: https://www.openstaad.com/docs/plate Returns the list of all plate IDs. The example connects, calls GetPlateList with no arguments, and prints the list of integers. ```python from openstaad import ops s = ops.connect() result = s.GetPlateList() print(result) ``` -------------------------------- ### CreateReport example Source: https://www.openstaad.com/docs/table-report Creates a report with the given title. The example connects to OpenSTAAD and prints the raw return value from the underlying COM call. ```python from openstaad import ops s = ops.connect() result = s.CreateReport("value") print(result) ``` -------------------------------- ### AddNodalLoad example Source: https://www.openstaad.com/docs/nodal-loads Adds a nodal load with forces and moments in all directions. The example connects to OpenSTAAD and prints the raw return value. ```python from openstaad import ops s = ops.connect() result = s.AddNodalLoad([1, 2], 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) print(result) ``` -------------------------------- ### GetGeneratedQuadPanelIncidences Example Source: https://www.openstaad.com/docs/plate Returns the generated quad panel incidences. The example connects, calls GetGeneratedQuadPanelIncidences with no arguments, and prints the list of values. ```python from openstaad import ops s = ops.connect() result = s.GetGeneratedQuadPanelIncidences() print(result) ``` -------------------------------- ### CreateIsotropicMaterialTimber example Source: https://www.openstaad.com/docs/material Creates an isotropic timber material. The example connects to OpenSTAAD and calls CreateIsotropicMaterialTimber with placeholder values for material name and properties. ```python from openstaad import ops s = ops.connect() result = s.CreateIsotropicMaterialTimber("value", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1) print(result) ``` -------------------------------- ### SetLabel example Source: https://www.openstaad.com/docs/view Sets the label. The example connects to OpenSTAAD and calls SetLabel with an integer and a boolean, printing the raw return value. ```python from openstaad import ops s = ops.connect() result = s.SetLabel(1, True) print(result) ``` -------------------------------- ### CreateIsotropicMaterialProperties example Source: https://www.openstaad.com/docs/material Creates isotropic material properties. The example connects to OpenSTAAD and calls CreateIsotropicMaterialProperties with placeholder values for material name and properties. ```python from openstaad import ops s = ops.connect() result = s.CreateIsotropicMaterialProperties("value", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) print(result) ``` -------------------------------- ### GetDefaultStandardProfileDBFolder example Source: https://www.openstaad.com/docs/standard-table-sections Returns the default standard profile DB folder. The example connects to OpenSTAAD and calls GetDefaultStandardProfileDBFolder, then prints the raw result. ```python from openstaad import ops s = ops.connect() result = s.GetDefaultStandardProfileDBFolder() print(result) ``` -------------------------------- ### GetMemberIncidence Source: https://www.openstaad.com/docs/member Gets the start and end node numbers for a given beam. Takes a beam number and returns a tuple of start and end node numbers. ```APIDOC ## GetMemberIncidence ### Description Get the start and end node numbers for a given beam. ### Method GetMemberIncidence ### Parameters - **beam** (int): Beam number. ### Returns tuple: Start and end node numbers as a tuple (start, end). ### Example ```python from openstaad import ops # Connect to the running STAAD.Pro session s = ops.connect() #Execute the function from geometry module start_node, end_node = s.GetMemberIncidence(1) print(start_node,end_node) ``` ``` -------------------------------- ### GetSupportReactions Example Source: https://www.openstaad.com/docs/support Connects to OpenSTAAD and prints the support reactions for node 1 and load case 1. ```python from openstaad import ops s = ops.connect() result = s.GetSupportReactions(1, 1) print(result) ``` -------------------------------- ### GetMemberIncidence Example Source: https://www.openstaad.com/docs/member Connects to a running STAAD.Pro session and retrieves the start and end node numbers for beam 1, printing them. ```python from openstaad import ops # Connect to the running STAAD.Pro session s = ops.connect() #Execute the function from geometry module start_node, end_node = s.GetMemberIncidence(1) print(start_node,end_node) ``` -------------------------------- ### GetSupportInformation Example Source: https://www.openstaad.com/docs/support Connects to OpenSTAAD and prints the support information tuple for node 1. ```python from openstaad import ops s = ops.connect() result = s.GetSupportInformation(1) print(result) ``` -------------------------------- ### GetSupportInformationEx Example Source: https://www.openstaad.com/docs/support Connects to OpenSTAAD and prints the extended support information tuple for node 1. ```python from openstaad import ops s = ops.connect() result = s.GetSupportInformationEx(1) print(result) ``` -------------------------------- ### GetPhysicalMemberCount: Get total count of physical members Source: https://www.openstaad.com/docs/physical-member Returns the total number of physical members in the model. The example prints the count. ```python from openstaad import ops # Connect to the running STAAD.Pro session s = ops.connect() #Execute the function from geometry module pm_count = s.GetPhysicalMemberCount() print(pm_count) ``` -------------------------------- ### CreateIsotropicMaterialSteel example Source: https://www.openstaad.com/docs/material Creates an isotropic steel material. The example connects to OpenSTAAD and calls CreateIsotropicMaterialSteel with placeholder values for name and material properties. ```python from openstaad import ops s = ops.connect() result = s.CreateIsotropicMaterialSteel("value", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1) print(result) ``` -------------------------------- ### GetOutputUnitForForce example Source: https://www.openstaad.com/docs/session-file-root Connects to OpenSTAAD and prints the output unit for force. No parameters are required. ```python from openstaad import ops s = ops.connect() result = s.GetOutputUnitForForce() print(result) ``` -------------------------------- ### GetNoOfSelectedPhysicalMembers: Get count of selected physical members Source: https://www.openstaad.com/docs/physical-member Returns the number of selected physical members in the model. The example prints the count. ```python from openstaad import ops # Connect to the running STAAD.Pro session s = ops.connect() #Execute the function from geometry module selected_count = s.GetNoOfSelectedPhysicalMembers() print(selected_count) ``` -------------------------------- ### CreateIsotropicMaterialPropertiesEx example Source: https://www.openstaad.com/docs/material Creates extended isotropic material properties. The example connects to OpenSTAAD and calls CreateIsotropicMaterialPropertiesEx with placeholder values for material name and additional properties. ```python from openstaad import ops s = ops.connect() result = s.CreateIsotropicMaterialPropertiesEx("value", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) print(result) ``` -------------------------------- ### CreateIsotropicMaterialConcrete example Source: https://www.openstaad.com/docs/material Creates an isotropic concrete material. The example connects to OpenSTAAD and calls CreateIsotropicMaterialConcrete with placeholder values for name and material properties. ```python from openstaad import ops s = ops.connect() result = s.CreateIsotropicMaterialConcrete("value", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1) print(result) ``` -------------------------------- ### GetLastPhysicalMemberNo: Get the last physical member number Source: https://www.openstaad.com/docs/physical-member Returns the number of the last physical member in the model. The example prints the result. ```python from openstaad import ops # Connect to the running STAAD.Pro session s = ops.connect() #Execute the function from geometry module last_pm = s.GetLastPhysicalMemberNo() print(last_pm) ``` -------------------------------- ### GetNoOfGeneratedQuadPanels Example Source: https://www.openstaad.com/docs/plate Returns the number of generated quad panels. The example connects, calls GetNoOfGeneratedQuadPanels with no arguments, and prints the raw return value. ```python from openstaad import ops s = ops.connect() result = s.GetNoOfGeneratedQuadPanels() print(result) ``` -------------------------------- ### SplitBeamInEqlParts example Source: https://www.openstaad.com/docs/member Splits a beam into equal parts. The method takes a beam number and the number of parts. It does not return a value. ```python from openstaad import ops s = ops.connect() s.SplitBeamInEqlParts(1, 1) ``` -------------------------------- ### GetSelectedPhysicalMembers: Get selected physical members Source: https://www.openstaad.com/docs/physical-member Returns a list of integers representing the selected physical members. The example connects and prints the result. ```python from openstaad import ops s = ops.connect() result = s.GetSelectedPhysicalMembers() print(result) ``` -------------------------------- ### AddMemberFixedEnd Example Source: https://www.openstaad.com/docs/member-loads Adds fixed-end loads to beams [1, 2] with start and end load lists [1, 2]. Returns True on success. ```python from openstaad import ops s = ops.connect() result = s.AddMemberFixedEnd([1, 2], [1, 2], [1, 2]) print(result) ``` -------------------------------- ### OpenView Example Source: https://www.openstaad.com/docs/view Opens a view by name with window options. Returns the raw COM call result. ```python from openstaad import ops s = ops.connect() result = s.OpenView("value", True) print(result) ``` -------------------------------- ### CreateNewViewForSelectionsEx Example Source: https://www.openstaad.com/docs/view Creates a new view for selections with window options. Takes an integer windowOptions parameter. Returns the raw COM return value. ```python from openstaad import ops s = ops.connect() result = s.CreateNewViewForSelectionsEx(1) print(result) ``` -------------------------------- ### AddBeam Example Source: https://www.openstaad.com/docs/member Adds a beam/member with specified start and end nodes. Returns the assigned member number, -1 if unable to add, or -2001 if a node is not found. ```python # Example usage of AddBeam # member_id = openstaad.Geometry.AddBeam(nNodeA, nNodeB) from openstaad import ops # Instanciar el módulo Geometry s = ops.connect() # Ejecutar la función desde el módulo geometry member_id = s.AddBeam(nNodeA, nNodeB) ``` -------------------------------- ### GetOutputUnitForRotation example Source: https://www.openstaad.com/docs/session-file-root Connects to OpenSTAAD and prints the output unit for rotation. No parameters are required. ```python from openstaad import ops s = ops.connect() result = s.GetOutputUnitForRotation() print(result) ``` -------------------------------- ### GetIntersectBeamsCount Example Source: https://www.openstaad.com/docs/member Connects to a running STAAD.Pro session and gets the number of new beams that would be created by intersecting beams 1, 2, and 3 with a tolerance of 0.01. ```python from openstaad import ops # Instanciar el módulo Geometry s = ops.connect() # Obtener el número de nuevos beams que se crearían al intersectar los beams 1, 2 y 3 con una tolerancia de 0.01 count = s.GetIntersectBeamsCount([1, 2, 3], 0.01) ``` -------------------------------- ### CreateLoadList example Source: https://www.openstaad.com/docs/load-lists Creates a load list with the given list type and load case list. Returns True on success, False otherwise. ```python from openstaad import ops s = ops.connect() result = s.CreateLoadList(1, [1, 2]) print(result) ``` -------------------------------- ### GetPhysicalMemberUniqueID: Get unique ID for a physical member Source: https://www.openstaad.com/docs/physical-member Returns the unique identifier for the given physical member. The example queries physical member 1 and prints the unique ID. ```python from openstaad import ops # Connect to the running STAAD.Pro session s = ops.connect() #Execute the function from geometry module unique_id = s.GetPhysicalMemberUniqueID(1) print(unique_id) ``` -------------------------------- ### CreateSteelDesignCommand example Source: https://www.openstaad.com/docs/design-steel Creates the steel design command with the given design code, command number, and value lists. The example connects to OpenSTAAD and calls the method without using the return value. ```python from openstaad import ops s = ops.connect() s.CreateSteelDesignCommand(1, 1, [1, 2], [1, 2], [1, 2], [1, 2]) ``` -------------------------------- ### GetMemberReleaseSpecEx Example Source: https://www.openstaad.com/docs/member-specifications Returns the release specification for a member at the given end. Takes beam_id and release_spec_position (0 for start, 1 for end). Returns a tuple (release, spring, mp_factor, mp_factor_list). ```python from openstaad import ops s = ops.connect() release, spring, mp_factor, mp_factor_list = s.GetMemberReleaseSpecEx(1, 0) print(release, spring) ``` -------------------------------- ### ShowAllMembers example Source: https://www.openstaad.com/docs/member-annotation Shows all members. Takes no parameters. Returns None. ```python from openstaad import ops s = ops.connect() s.ShowAllMembers() ``` -------------------------------- ### GetSupportCount Example Source: https://www.openstaad.com/docs/support Connects to OpenSTAAD and prints the total number of supports defined in the model. ```python from openstaad import ops s = ops.connect() count = s.GetSupportCount() print(f"Number of supports: {count}") ``` -------------------------------- ### GetPID example Source: https://www.openstaad.com/docs/section-query-attributes Returns the PID for an entity. The example connects to OpenSTAAD and prints the integer result. ```python from openstaad import ops s = ops.connect() result = s.GetPID(1, 1) print(result) ``` -------------------------------- ### GetReportCount example Source: https://www.openstaad.com/docs/table-report Returns the number of reports. The example prints the raw return value from the COM call. ```python from openstaad import ops s = ops.connect() result = s.GetReportCount() print(result) ``` -------------------------------- ### GetApplicationDesktopSize Example Source: https://www.openstaad.com/docs/session-file-root Connects to the running STAAD.Pro session and retrieves the application desktop size as a tuple of (int, int). ```python from openstaad import ops s = ops.connect() result = s.GetApplicationDesktopSize() print(result) ``` -------------------------------- ### GetSectionPropertyName example Source: https://www.openstaad.com/docs/section-query-attributes Returns the section property name. The example connects to OpenSTAAD and prints the string result. ```python from openstaad import ops s = ops.connect() result = s.GetSectionPropertyName(1) print(result) ``` -------------------------------- ### GetSupportName Example Source: https://www.openstaad.com/docs/support Connects to OpenSTAAD and prints the support name for support number 1. ```python from openstaad import ops s = ops.connect() result = s.GetSupportName(1) print(result) ``` -------------------------------- ### GetSectionPropertyList example Source: https://www.openstaad.com/docs/section-query-attributes Returns the section property list. The example connects to OpenSTAAD and prints the list of integers. ```python from openstaad import ops s = ops.connect() result = s.GetSectionPropertyList() print(result) ``` -------------------------------- ### GetSupportNodes Example Source: https://www.openstaad.com/docs/support Connects to OpenSTAAD and prints the list of node numbers that have a support assigned. ```python from openstaad import ops s = ops.connect() nodes = s.GetSupportNodes() print(nodes) ``` -------------------------------- ### ShowPlan: Show the plan view Source: https://www.openstaad.com/docs/view Shows the plan view. Takes no parameters and does not return a value. ```python from openstaad import ops s = ops.connect() s.ShowPlan() ``` -------------------------------- ### GetUserProvidedTableCount example Source: https://www.openstaad.com/docs/table-report Returns the count of user-provided tables. The example prints the raw return value from the COM call. ```python from openstaad import ops s = ops.connect() result = s.GetUserProvidedTableCount() print(result) ``` -------------------------------- ### GetTableCount example Source: https://www.openstaad.com/docs/table-report Returns the number of tables in a report. The example passes a report number and prints the raw return value. ```python from openstaad import ops s = ops.connect() result = s.GetTableCount(1) print(result) ``` -------------------------------- ### GetProcessHandle example Source: https://www.openstaad.com/docs/session-file-root Connects to OpenSTAAD and prints the process handle. No parameters are required. ```python from openstaad import ops s = ops.connect() result = s.GetProcessHandle() print(result) ``` -------------------------------- ### SetInterfaceMode example Source: https://www.openstaad.com/docs/view Sets the interface mode. The example connects to OpenSTAAD and calls SetInterfaceMode with an integer. This method does not return a value. ```python from openstaad import ops s = ops.connect() s.SetInterfaceMode(1) ``` -------------------------------- ### GetMaxSectionDisplacement example Source: https://www.openstaad.com/docs/section-query-attributes Returns the maximum section displacement. The example connects to OpenSTAAD and prints the result tuple of (float, float). ```python from openstaad import ops s = ops.connect() result = s.GetMaxSectionDisplacement(1, "value", 1) print(result) ``` -------------------------------- ### GetCentroidLocationForSection example Source: https://www.openstaad.com/docs/section-query-attributes Returns the centroid location for a section. The example connects to OpenSTAAD and prints the result tuple of (float, float). ```python from openstaad import ops s = ops.connect() result = s.GetCentroidLocationForSection(1) print(result) ``` -------------------------------- ### CreateUPTTableEx example Source: https://www.openstaad.com/docs/upt-profiles Creates a UPT table ex. Requires table_ref_id (int) and table_type (int). Returns the raw COM return value. ```python from openstaad import ops s = ops.connect() result = s.CreateUPTTableEx(1, 1) print(result) ``` -------------------------------- ### GetAssignedAttributeByIndex example Source: https://www.openstaad.com/docs/section-query-attributes Returns the assigned attribute by index. The example connects to OpenSTAAD and prints the result tuple of (str, str). ```python from openstaad import ops s = ops.connect() result = s.GetAssignedAttributeByIndex(1) print(result) ``` -------------------------------- ### ShowApplication - Show the STAAD.Pro application Source: https://www.openstaad.com/docs/session-file-root Connects to the running STAAD.Pro session and calls ShowApplication to display the application. No parameters or return value. ```python from openstaad import ops s = ops.connect() s.ShowApplication() ``` -------------------------------- ### CreateUPTTable example Source: https://www.openstaad.com/docs/upt-profiles Creates a UPT table. Requires a table_type (int). Returns the raw COM return value. ```python from openstaad import ops s = ops.connect() result = s.CreateUPTTable(1) print(result) ``` -------------------------------- ### HideSurface Example Source: https://www.openstaad.com/docs/parametric-surface Hides the surface with the given surface number. Returns None. The example connects to openstaad and calls the function. ```python from openstaad import ops s = ops.connect() s.HideSurface(1) ``` -------------------------------- ### GetApplicationVersion Example Source: https://www.openstaad.com/docs/session-file-root Connects to the running STAAD.Pro session and retrieves the application version number as text and in individual parts. ```python from openstaad import ops # Connect to the running STAAD.Pro session s = ops.connect() # Execute de analize funcion from root module. staad_version = s.GetApplicationVersion() print(staad_version) ``` -------------------------------- ### GetAnalysisStatus example Source: https://www.openstaad.com/docs/analysis-command Retrieves the analysis status for any STD model. The example shows connecting to the root module and printing the status. ```python from openstaad import ops # instantiate the root module s = ops.connect() # Execute the analyze function from root module. status = s.GetAnalysisStatus() print(status) ``` -------------------------------- ### GetOutputUnitForMoment example Source: https://www.openstaad.com/docs/session-file-root Connects to OpenSTAAD and prints the output unit for moment. No parameters are required. ```python from openstaad import ops s = ops.connect() result = s.GetOutputUnitForMoment() print(result) ``` -------------------------------- ### SetWindowPosition example Source: https://www.openstaad.com/docs/view Sets the window position. The example connects to OpenSTAAD and calls SetWindowPosition with four floats. This method does not return a value. ```python from openstaad import ops s = ops.connect() s.SetWindowPosition(1.0, 1.0, 1.0, 1.0) ``` -------------------------------- ### GetAllSolidShearStresses example Source: https://www.openstaad.com/docs/solid-3d Connects to STAAD.Pro and retrieves all solid shear stresses for solid 1, corner 1, load case 1. Prints the result list. ```python from openstaad import ops s = ops.connect() result = s.GetAllSolidShearStresses(1, 1, 1) print(result) ``` -------------------------------- ### SetScaleValues example Source: https://www.openstaad.com/docs/view Sets the scale values. The example connects to OpenSTAAD and calls SetScaleValues with a list, printing the raw return value. ```python from openstaad import ops s = ops.connect() result = s.SetScaleValues([1, 2]) print(result) ``` -------------------------------- ### AssignBetaAngle example Source: https://www.openstaad.com/docs/member-specifications Connects to OpenSTAAD and assigns a beta angle of 1.0 to beams 1 and 2. Returns the raw COM return value. ```python from openstaad import ops s = ops.connect() result = s.AssignBetaAngle([1, 2], 1.0) print(result) ``` -------------------------------- ### RenameView example Source: https://www.openstaad.com/docs/view Renames the view. The example connects to OpenSTAAD and calls RenameView with a string argument, printing the raw return value. ```python from openstaad import ops s = ops.connect() result = s.RenameView("value") print(result) ``` -------------------------------- ### ShowApplication Source: https://www.openstaad.com/docs/session-file-root Shows the application window. This function takes no parameters and returns no value. ```APIDOC ## ShowApplication ### Description Shows the application. ### Method ShowApplication ### Parameters None. ### Returns None: This function does not return a value. ### Example ```python from openstaad import ops s = ops.connect() s.ShowApplication() ``` ``` -------------------------------- ### GetRecordForSection example Source: https://www.openstaad.com/docs/section-query-attributes Returns the record for a section. The example connects to OpenSTAAD and prints the raw return value from the underlying COM call. ```python from openstaad import ops s = ops.connect() result = s.GetRecordForSection(1, "value") print(result) ``` -------------------------------- ### CreateElasticFooting example Source: https://www.openstaad.com/docs/support Creates an elastic footing with specified length, width, direction, and subgrade. Returns the raw COM call result. ```python from openstaad import ops s = ops.connect() result = s.CreateElasticFooting(1.0, 1.0, 1, 1.0) print(result) ``` -------------------------------- ### GetOutputUnitForSectInertia example Source: https://www.openstaad.com/docs/session-file-root Connects to OpenSTAAD and prints the output unit for section inertia. No parameters are required. ```python from openstaad import ops s = ops.connect() result = s.GetOutputUnitForSectInertia() print(result) ``` -------------------------------- ### GetPlateCount Example Source: https://www.openstaad.com/docs/plate Returns the total plate count. The example connects, calls GetPlateCount with no arguments, and prints the integer return value. ```python from openstaad import ops s = ops.connect() result = s.GetPlateCount() print(result) ``` -------------------------------- ### GetAllPlateCenterForces example Source: https://www.openstaad.com/docs/plate-results Connects to OpenSTAAD and retrieves all plate center forces for plate 1, load case 1. Returns a list of floats. ```python from openstaad import ops s = ops.connect() result = s.GetAllPlateCenterForces(1, 1) print(result) ``` -------------------------------- ### GetNoOfSelectedPlates Example Source: https://www.openstaad.com/docs/plate Returns the number of selected plates. The example connects, calls GetNoOfSelectedPlates with no arguments, and prints the integer return value. ```python from openstaad import ops s = ops.connect() result = s.GetNoOfSelectedPlates() print(result) ``` -------------------------------- ### GetOutputUnitForStress example Source: https://www.openstaad.com/docs/session-file-root Connects to OpenSTAAD and prints the output unit for stress. No parameters are required. ```python from openstaad import ops s = ops.connect() result = s.GetOutputUnitForStress() print(result) ``` -------------------------------- ### GetLastPlateNo Example Source: https://www.openstaad.com/docs/plate Returns the last plate number. The example connects, calls GetLastPlateNo with no arguments, and prints the raw return value. ```python from openstaad import ops s = ops.connect() result = s.GetLastPlateNo() print(result) ``` -------------------------------- ### GetOutputUnitForDistForce example Source: https://www.openstaad.com/docs/session-file-root Connects to OpenSTAAD and prints the output unit for distributed force. No parameters are required. ```python from openstaad import ops s = ops.connect() result = s.GetOutputUnitForDistForce() print(result) ``` -------------------------------- ### AddSeismicDefinition example Source: https://www.openstaad.com/docs/nodal-loads Adds a seismic definition with type and accidental parameters. The example connects to OpenSTAAD and prints the raw return value. ```python from openstaad import ops s = ops.connect() result = s.AddSeismicDefinition(1, 1) print(result) ``` -------------------------------- ### GetAllSolidPrincipalStresses example Source: https://www.openstaad.com/docs/solid-3d Connects to STAAD.Pro and retrieves all solid principal stresses for solid 1, corner 1, load case 1. Prints the result list. ```python from openstaad import ops s = ops.connect() result = s.GetAllSolidPrincipalStresses(1, 1, 1) print(result) ``` -------------------------------- ### GetOutputUnitForDisplacement example Source: https://www.openstaad.com/docs/session-file-root Connects to OpenSTAAD and prints the output unit for displacement. No parameters are required. ```python from openstaad import ops s = ops.connect() result = s.GetOutputUnitForDisplacement() print(result) ``` -------------------------------- ### GetUserProvidedTableNo example Source: https://www.openstaad.com/docs/table-report Returns the user-provided table number for a given table index. The example prints the raw return value from the COM call. ```python from openstaad import ops s = ops.connect() result = s.GetUserProvidedTableNo(1) print(result) ``` -------------------------------- ### GetCountryTableNo example Source: https://www.openstaad.com/docs/table-report Returns the country table number for a given beam ID. The example prints the raw return value from the COM call. ```python from openstaad import ops s = ops.connect() result = s.GetCountryTableNo(1) print(result) ``` -------------------------------- ### CreateNewViewForSelections Example Source: https://www.openstaad.com/docs/view Creates a new view for the current selections. No parameters. Returns the raw COM return value. ```python from openstaad import ops s = ops.connect() result = s.CreateNewViewForSelections() print(result) ``` -------------------------------- ### BeginLoadMerging Example Source: https://www.openstaad.com/docs/member-loads Connects to OpenStaad and calls BeginLoadMerging with no arguments. Returns the raw return value from the underlying OpenSTAAD COM call. ```python from openstaad import ops s = ops.connect() result = s.BeginLoadMerging() print(result) ``` -------------------------------- ### SetSectionView example Source: https://www.openstaad.com/docs/view Sets the section view. The example connects to OpenSTAAD and calls SetSectionView with an integer and two floats. This method does not return a value. ```python from openstaad import ops s = ops.connect() s.SetSectionView(1, 1.0, 1.0) ``` -------------------------------- ### ComputeWallWindPressureProfileASCE72016 Example Source: https://www.openstaad.com/docs/standard-table-sections Calls ComputeWallWindPressureProfileASCE72016 with sample arguments including wind speed and height above sea level. Prints the raw return value from the underlying OpenSTAAD COM call. ```python from openstaad import ops s = ops.connect() result = s.ComputeWallWindPressureProfileASCE72016(1.0, 1.0, 1, 1, 1, True, [1, 2], [1, 2], [1, 2], 1) print(result) ``` -------------------------------- ### ComputeWallWindPressureProfile Example Source: https://www.openstaad.com/docs/standard-table-sections Calls ComputeWallWindPressureProfile with sample integer, float, boolean, and list arguments. Prints the raw return value from the underlying OpenSTAAD COM call. ```python from openstaad import ops s = ops.connect() result = s.ComputeWallWindPressureProfile(1, 1.0, 1, 1, 1, True, [1, 2], [1, 2], [1, 2], 1) print(result) ``` -------------------------------- ### SetReactionAnnotationMode example Source: https://www.openstaad.com/docs/view Sets the reaction annotation mode. The example connects to OpenSTAAD and calls SetReactionAnnotationMode with two booleans. This method does not return a value. ```python from openstaad import ops s = ops.connect() s.SetReactionAnnotationMode(True, True) ``` -------------------------------- ### Run buckling analysis ex with s.PerformBucklingAnalysisEx() Source: https://www.openstaad.com/docs/analysis-command Performs the buckling analysis ex. Takes Method, MaxNoOfIterations, and PrintOption as integer parameters. Returns the raw return value from the underlying OpenSTAAD COM call. ```python from openstaad import ops s = ops.connect() result = s.PerformBucklingAnalysisEx(1, 1, 1) print(result) ``` -------------------------------- ### SetModeSectionPage example Source: https://www.openstaad.com/docs/view Sets the mode section page. The example connects to OpenSTAAD and calls SetModeSectionPage with three integers. This method does not return a value. ```python from openstaad import ops s = ops.connect() s.SetModeSectionPage(1, 1, 1) ``` -------------------------------- ### SetFlagForHiddenEntities example Source: https://www.openstaad.com/docs/view Sets the flag for hidden entities. The example connects to OpenSTAAD and calls SetFlagForHiddenEntities with an integer flag, printing the returned value. ```python from openstaad import ops s = ops.connect() result = s.SetFlagForHiddenEntities(1) print(result) ``` -------------------------------- ### SplitLoadsOnBeam Example Source: https://www.openstaad.com/docs/member-loads Connects to OpenStaad and calls SplitLoadsOnBeam with two integer arguments. Returns True if the call succeeded, False otherwise. ```python from openstaad import ops s = ops.connect() result = s.SplitLoadsOnBeam(1, 1) print(result) ``` -------------------------------- ### SetDiagramMode example Source: https://www.openstaad.com/docs/view Sets the diagram mode. The example connects to OpenSTAAD and calls SetDiagramMode with an integer and two booleans. This method does not return a value. ```python from openstaad import ops s = ops.connect() s.SetDiagramMode(1, True, True) ``` -------------------------------- ### GetElasticFootingAssignmentList example Source: https://www.openstaad.com/docs/support Connects to OpenSTAAD and retrieves the elastic footing assignment list for a given support ID. Prints the list of integers. ```python from openstaad import ops s = ops.connect() result = s.GetElasticFootingAssignmentList(1) print(result) ```