Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HeisenbergJY1/PySap2000
/ functions
Functions
1,543 in github.com/HeisenbergJY1/PySap2000
⨍
Functions
1,543
◇
Types & classes
378
↓ 1 callers
Method
from_list
Create an instance from a list.
area/data_classes.py:116
↓ 1 callers
Method
from_list
Build modifiers from a list.
section/area_section.py:82
↓ 1 callers
Method
from_list
Build from the list returned by the API.
analyze/data_classes.py:40
↓ 1 callers
Method
from_preset
Build from an `ActiveDOF` preset.
global_parameters/model_settings.py:98
↓ 1 callers
Method
get_all
Fetch all frames using the Database Tables API. Compared with per-object COM calls, this approach dramatically reduces call
structure_core/frame.py:453
↓ 1 callers
Method
get_all_displacements
Get displacements for all requested points. SAP2000 API: `Results.JointDispl(GroupName, GroupElm, ...)` Args:
results/point_results.py:247
↓ 1 callers
Function
get_area_auto_mesh
Get automatic meshing settings for an area object. Args: model: SAP2000 SapModel object area_name: Area object name
area/auto_mesh.py:120
↓ 1 callers
Function
get_area_edge_constraint
Get the edge-constraint state of an area object. Args: model: SAP2000 SapModel object area_name: Area object name
area/edge_constraint.py:42
↓ 1 callers
Function
get_area_groups
Get the groups assigned to an area object. Args: model: SAP2000 SapModel object area_name: Area object name Ret
area/group.py:96
↓ 1 callers
Function
get_area_modifiers_tuple
Get area modifiers as a tuple. Args: model: SAP2000 SapModel object area_name: Area object name Returns:
area/modifier.py:119
↓ 1 callers
Function
get_area_offset
Get offsets assigned to an area object. Args: model: SAP2000 SapModel object area_name: Area object name Re
area/offset.py:84
↓ 1 callers
Function
get_area_selected
Get the selection state of an area object. Args: model: SAP2000 SapModel object area_name: Area object name
area/selection.py:42
↓ 1 callers
Function
get_area_spring
Get springs assigned to an area object. Args: model: SAP2000 SapModel object area_name: Area object name Re
area/spring.py:103
↓ 1 callers
Function
get_area_thickness
Get thickness overrides assigned to an area object. Args: model: SAP2000 SapModel object area_name: Area object name
area/thickness.py:84
↓ 1 callers
Method
get_assignments
Get all objects assigned to the group Args: model: SAP2000 SapModel object Returns:
group/group.py:304
↓ 1 callers
Method
get_assignments_raw
Get all objects assigned to the group in raw form Args: model: SAP2000 SapModel object Retu
group/group.py:336
↓ 1 callers
Function
get_body
Get a body constraint definition. Args: name: Constraint name Returns: Tuple `(dof_values, csys)`, or `None
constraints/constraints.py:134
↓ 1 callers
Method
get_by_name
Get a modifier by name
named_assigns/frame_modifier.py:167
↓ 1 callers
Method
get_by_name
Get a modifier by name
named_assigns/cable_modifier.py:142
↓ 1 callers
Method
get_by_name
Get an end release by name
named_assigns/frame_release.py:263
↓ 1 callers
Method
get_by_name
Get a modifier by name
named_assigns/area_modifier.py:172
↓ 1 callers
Method
get_by_name
Fetch a material by name. Args: model: `SapModel` object name: Material name Re
structure_core/material.py:143
↓ 1 callers
Method
get_by_name
Get an area property by name.
section/area_section.py:115
↓ 1 callers
Method
get_by_name
Get a cable section by name. Args: model: SAP2000 SapModel object name: Section name
section/cable_section.py:74
↓ 1 callers
Method
get_by_name
Get a link property by name.
section/link_section.py:119
↓ 1 callers
Method
get_by_name
Get a load pattern by name. Args: model: SAP2000 SapModel object name: Load pattern name
loading/load_pattern.py:260
↓ 1 callers
Method
get_by_name
Get a load case by name. Args: model: SAP2000 SapModel object name: Case name R
loading/load_case.py:287
↓ 1 callers
Function
get_cable_selected
Get the selection state of a cable object. Args: model: SAP2000 SapModel object cable_name: Cable object name R
cable/selection.py:43
↓ 1 callers
Method
get_cables
Get all cables in the group
group/group.py:407
↓ 1 callers
Function
get_case_selected_for_output
Get whether a case is selected for output. Args: model: SAP2000 SapModel object case_name: Case name Return
results/setup.py:69
↓ 1 callers
Function
get_case_status
Get analysis status for all cases Args: model: SAP2000 SapModel object Returns: List of `CaseStatusInfo`
analyze/analyze.py:150
↓ 1 callers
Method
get_connectivity
Return connectivity information for the point. Returns: dict: { 'num_items': int,
structure_core/point.py:526
↓ 1 callers
Function
get_constraint_count
Get the number of constraints. Returns: Constraint count.
constraints/constraints.py:17
↓ 1 callers
Method
get_default_name
Get the name of the default mass source. Args: model: SAP2000 SapModel object Returns:
loading/mass_source.py:222
↓ 1 callers
Function
get_diaphragm
Get a diaphragm constraint definition. Args: name: Constraint name Returns: Tuple `(axis, csys)`, or `None`
constraints/constraints.py:87
↓ 1 callers
Function
get_equal
Get an equal-displacement constraint definition. Args: name: Constraint name Returns: Tuple `(dof_values, c
constraints/constraints.py:184
↓ 1 callers
Method
get_forces
Get internal forces for a cable.
results/cable_results.py:45
↓ 1 callers
Function
get_frame_load_distributed
Get frame distributed loads. Args: model: SapModel object frame_name: Frame name item_type: Operation scope
loads/frame_load.py:146
↓ 1 callers
Function
get_frame_load_point
Get frame point loads. Args: model: SapModel object frame_name: Frame name item_type: Operation scope Retur
loads/frame_load.py:272
↓ 1 callers
Function
get_frame_selected
Get the selection state of a frame object. Args: model: SAP2000 SapModel object frame_name: Frame object name R
frame/selection.py:45
↓ 1 callers
Method
get_frames
Get all frames in the group
group/group.py:403
↓ 1 callers
Method
get_item
Get a single project info field by name. Args: model: SAP2000 SapModel object item_name: Field name (SAP2000
global_parameters/project_info.py:146
↓ 1 callers
Function
get_link_groups
Get the groups assigned to a link object. Args: model: SAP2000 SapModel object link_name: Link object name Retu
link/group.py:63
↓ 1 callers
Function
get_link_property
Return the assigned link property name. Args: model: `SapModel` object link_name: Link object name Returns:
link/property.py:44
↓ 1 callers
Function
get_link_property_fd
Return the frequency-dependent property name for a link. Args: model: `SapModel` object link_name: Link object name
link/property.py:86
↓ 1 callers
Function
get_link_selected
Get the selection state of a link object. Args: model: SAP2000 SapModel object link_name: Link object name Retu
link/selection.py:41
↓ 1 callers
Method
get_local_axes
Get local-axis angle. Returns: (angle, advanced) - angle[deg]and whether advanced settings are used
structure_core/link.py:362
↓ 1 callers
Method
get_local_axes
Get area local-axis angle Returns: (Angle, whether advanced settings exist) tuple, or `None` on failure
structure_core/area.py:839
↓ 1 callers
Method
get_member_count
Get the number of objects in the group Args: model: SAP2000 SapModel object Returns:
group/group.py:362
↓ 1 callers
Method
get_merge_tol
Return the automatic merge tolerance. Returns: Merge tolerance in model length units Raises:
application.py:856
↓ 1 callers
Method
get_merge_tolerance
Get automatic merge tolerance (length units). API: GetMergeTol(MergeTol) -> Long Returns: Merge tolerance [L].
global_parameters/model_settings.py:176
↓ 1 callers
Method
get_model_is_locked
Return the model lock state. When the model is locked, most definitions and assignments cannot be edited. Returns:
application.py:823
↓ 1 callers
Method
get_modifiers
Get cable section modifiers.
section/cable_section.py:151
↓ 1 callers
Method
get_name_list
Get all modifier names
named_assigns/frame_modifier.py:158
↓ 1 callers
Method
get_name_list
Get all modifier names
named_assigns/cable_modifier.py:133
↓ 1 callers
Method
get_name_list
Get all end-release names
named_assigns/frame_release.py:254
↓ 1 callers
Method
get_name_list
Get all modifier names
named_assigns/area_modifier.py:163
↓ 1 callers
Method
get_name_list
Return the list of all point names. Args: model: `SapModel` object Returns: Lis
structure_core/point.py:356
↓ 1 callers
Method
get_name_list
Return the list of all frame names.
structure_core/frame.py:420
↓ 1 callers
Method
get_name_list
Get the list of load case names. Args: model: SAP2000 SapModel object case_type: Optional case type
loading/load_case.py:262
↓ 1 callers
Method
get_name_list
Get the names of all mass sources. Args: model: SAP2000 SapModel object Returns:
loading/mass_source.py:205
↓ 1 callers
Function
get_option_base_react_loc
Get the reporting location for base reactions. Args: model: SAP2000 SapModel object Returns: Tuple `(gx, gy
results/setup.py:169
↓ 1 callers
Function
get_point_constraint
Return all constraint assignments for a point. Args: model: `SapModel` object point_name: Point name item_type:
point/constraint.py:61
↓ 1 callers
Function
get_point_load_displ
Get point displacement loads. Args: model: SapModel object point_name: Point name item_type: Operation scope
loads/point_load.py:222
↓ 1 callers
Function
get_point_load_force
Get point force loads. Args: model: SapModel object point_name: Point name item_type: Operation scope Retur
loads/point_load.py:104
↓ 1 callers
Function
get_point_panel_zone
Return panel-zone settings for a point. Args: model: `SapModel` object point_name: Point name Returns:
point/panel_zone.py:85
↓ 1 callers
Function
get_point_support_type
Infer the support preset from the current restraint state. Args: model: `SapModel` object point_name: Point name
point/support.py:113
↓ 1 callers
Method
get_project_info
Return project information. Returns: Dictionary of project info items: `{item_name: data}`
application.py:925
↓ 1 callers
Method
get_row
Get data for a specific row Args: row_index: row index (0-based) Returns: Data list
database_tables/tables.py:104
↓ 1 callers
Method
get_section_name_list
Get all cable section names.
structure_core/cable.py:369
↓ 1 callers
Function
get_selected
Get the list of selected objects Args: model: SAP2000 SapModel object Returns: List of `(object_type, objec
selection/select.py:126
↓ 1 callers
Function
get_selected_objects
Get the currently selected objects grouped by type Args: model: SAP2000 SapModel object Returns: Dictionary
selection/select.py:659
↓ 1 callers
Function
get_selected_raw
Get the selected object list in raw form Args: model: SAP2000 SapModel object Returns: List of `(object_typ
selection/select.py:156
↓ 1 callers
Function
get_steel_combo_deflection
Load combinations used for deflection design Args: model: SAP2000 SapModel object Returns: List of load combinat
design/steel.py:238
↓ 1 callers
Function
get_steel_combo_strength
Load combinations used for strength design Args: model: SAP2000 SapModel object Returns: List of load combinatio
design/steel.py:207
↓ 1 callers
Function
get_steel_design_group
Groups selected for steel design Args: model: SAP2000 SapModel object Returns: List of group names
design/steel.py:139
↓ 1 callers
Function
get_steel_design_section
Get the design section assigned to a frame Args: model: SAP2000 SapModel object name: Frame object name Returns:
design/steel.py:170
↓ 1 callers
Function
get_steel_results_available
Whether steel design results are available Args: model: SAP2000 SapModel object Returns: `True` if results are a
design/steel.py:75
↓ 1 callers
Method
get_table_for_display_csv_file
Get display table data and save it as a CSV file Args: model: SapModel object table_key: table key
database_tables/tables.py:998
↓ 1 callers
Method
get_table_for_editing_csv_file
Get editable table data and save it as a CSV file Args: model: SapModel object table_key: table key
database_tables/tables.py:1062
↓ 1 callers
Method
get_transformation_matrix
Get transformation matrix Args: model: SapModel object is_global: Whether to use global coordinate s
structure_core/link.py:569
↓ 1 callers
Method
get_transformation_matrix
Get area transformation matrix The transformation matrix maps local coordinates to global (or current) coordinates.
structure_core/area.py:917
↓ 1 callers
Method
get_units_name
Return a human-readable description of the current unit system. Returns: Description such as `"kN-m-C"` or `"N-m
application.py:739
↓ 1 callers
Method
get_version
Return SAP2000 version information. Returns: Tuple `(version_string, version_number)`, for example `("26.3.0", 2
application.py:1005
↓ 1 callers
Function
invert_selection
Invert the current selection Deselect currently selected objects and select the unselected ones. Args: model: SAP2000 S
selection/select.py:92
↓ 1 callers
Method
is_model_locked
Return whether the model is locked. API: GetModelIsLocked() -> Boolean
global_parameters/model_settings.py:240
↓ 1 callers
Function
move_point_to_intersection
Move a point to the intersection of two lines In 3D, two lines are usually not exactly intersecting; this function uses the midpoint of
edit/point_projection.py:256
↓ 1 callers
Function
project_point_to_line
Project a point onto a line Computes the orthogonal projection of a point onto a line defined by two points, optionally updating coordin
edit/point_projection.py:329
↓ 1 callers
Function
project_points_to_line
Project multiple points onto a line Uses `N-mm-C` units internally and restores original units after completion. Args:
edit/point_projection.py:393
↓ 1 callers
Method
read_table
Read table data (convenience helper) Args: model: SapModel object table_key: table key a
database_tables/tables.py:890
↓ 1 callers
Method
refresh_view
Refresh the model view. Raises: SAPConnectionError: The COM connection is no longer valid
application.py:782
↓ 1 callers
Function
remove_area_from_group
Remove an area object from a group. Args: model: SAP2000 SapModel object area_name: Area object name group_name:
area/group.py:72
↓ 1 callers
Function
remove_frame_from_group
Remove a frame from a group. Args: model: SAP2000 SapModel object frame_name: Frame object name group_name: Grou
frame/group.py:71
↓ 1 callers
Function
remove_link_from_group
Remove a link object from a group.
link/group.py:53
↓ 1 callers
Function
reset_steel_overwrites
Reset all steel design overwrites to defaults Args: model: SAP2000 SapModel object Returns: `0` on success, non-
design/steel.py:311
↓ 1 callers
Function
rotate_profile_points
Rotate section profile points about the origin by a specified angle Used to apply SAP2000 local-axis rotation (`local_axis_angle`), rota
geometry/section_profile.py:328
↓ 1 callers
Function
save
Save the current model. Args: model: SapModel object file_path: Target file path. Empty string saves to the current path
file.py:231
↓ 1 callers
Method
save
Write all non-empty fields and custom fields to the model. Returns: Last SAP2000 return code from a `Set*` call (`0` typ
global_parameters/project_info.py:204
↓ 1 callers
Method
save_model
Save the current model. Args: path: Save path; empty string saves to the current location R
application.py:615
↓ 1 callers
Function
select_by_property_frame
Select by frame section property Args: model: SAP2000 SapModel object section_name: Section name deselect: `Fals
selection/select.py:456
← previous
next →
301–400 of 1,543, ranked by callers