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
↓ 2 callers
Method
_get_local_axes
Get local-axis angle.
structure_core/link.py:262
↓ 2 callers
Method
_get_local_axes_advanced
Get advanced local-axis settings API: GetLocalAxesAdvanced(Name, Active, Plane2, PlVectOpt, PlCSys, PlDir[], PlPt[], PlVect[])
structure_core/area.py:476
↓ 2 callers
Method
_get_mass
Get added mass
structure_core/area.py:555
↓ 2 callers
Method
_get_modifiers
Get modifiers
structure_core/area.py:542
↓ 2 callers
Method
_get_property
Get area section-property name
structure_core/area.py:449
↓ 2 callers
Method
_get_property_fd
Get frequency-dependent property.
structure_core/link.py:271
↓ 2 callers
Method
_get_selected
Fetch the point selection state.
structure_core/point.py:254
↓ 2 callers
Method
_get_selected
Get selection state
structure_core/area.py:580
↓ 2 callers
Method
_parse_create_result
Parse creation result
structure_core/area.py:405
↓ 2 callers
Method
_print_connection_info
Print connection info and configure logging in the model directory.
application.py:231
↓ 2 callers
Function
_print_progress
Print an aligned progress bar using block symbols. Args: current: Current progress total: Total count bar_width:
geometry/model_extractor.py:23
↓ 2 callers
Method
_scale_section_params
Recursively scale section parameters For standard sections, scales numeric parameters directly. For SD and nonprisma
geometry/model_extractor.py:639
↓ 2 callers
Function
_set_cell_text
Set cell text and center it.
report/generator.py:44
↓ 2 callers
Method
_setup_output
(self, load_case: str = "", load_combo: str = "")
results/cable_results.py:38
↓ 2 callers
Method
begin_modification
Begin batch modification mode. View refreshing is disabled to improve performance.
application.py:303
↓ 2 callers
Function
change_constraint_name
Rename a constraint. Returns: `True` if successful.
constraints/constraints.py:61
↓ 2 callers
Method
change_name
Rename the modifier Args: model: SAP2000 SapModel object new_name: New name Ret
named_assigns/frame_modifier.py:135
↓ 2 callers
Method
change_name
Rename a load pattern. Args: model: SAP2000 SapModel object new_name: New name
loading/load_pattern.py:181
↓ 2 callers
Function
change_point_coordinates
Change point coordinates Args: model: SAP2000 SapModel object name: Point name x: X coordinate y: Y coor
edit/edit_point.py:83
↓ 2 callers
Method
clear
Clear all objects from the group Removes all assignments while keeping the group definition. Args:
group/group.py:287
↓ 2 callers
Method
disconnect
Explicitly disconnect and release COM resources. This can be called manually when not using a context manager. Repeated call
application.py:264
↓ 2 callers
Method
from_list
Create an instance from an API-returned list.
cable/modifier.py:48
↓ 2 callers
Method
from_tuple
Build from a 6-tuple (or shorter tuple, padded with defaults).
global_parameters/model_settings.py:86
↓ 2 callers
Method
from_tuple
Create an instance from a modifier tuple.
frame/data_classes.py:66
↓ 2 callers
Method
generate
Generate a Word calculation report. Args: output_path: Output `.docx` path frame_names: Frame names; uses al
report/generator.py:281
↓ 2 callers
Function
get_area_mass
Get the additional mass assigned to an area object. Args: model: SAP2000 SapModel object area_name: Area object name
area/mass.py:42
↓ 2 callers
Method
get_by_name
Fetch a frame by name. Example: frame = Frame.get_by_name(model, "1") print(f"Section: {frame.sectio
structure_core/frame.py:440
↓ 2 callers
Method
get_by_name
Get a section by name.
section/frame_section.py:141
↓ 2 callers
Method
get_by_name
Get a mass source by name. Args: model: SAP2000 SapModel object name: Mass source name
loading/mass_source.py:237
↓ 2 callers
Function
get_cable_groups
Get the list of groups assigned to a cable object. Args: model: SAP2000 SapModel object cable_name: Cable object name
cable/group.py:45
↓ 2 callers
Function
get_cable_usage
Convenience function to get cable usage Args: model: SapModel object group_by: Grouping mode; `None` returns total, `"se
statistics/cable_usage.py:241
↓ 2 callers
Method
get_fields_in_table
Get all fields in a table Args: model: SapModel object table_key: table key table_versio
database_tables/tables.py:456
↓ 2 callers
Method
get_force_unit
Return the force unit symbol for the given system.
global_parameters/units.py:141
↓ 2 callers
Function
get_frame_mass
Get the additional mass per unit length of a frame. Args: model: SAP2000 SapModel object frame_name: Frame object name
frame/mass.py:51
↓ 2 callers
Function
get_frame_material_overwrite
Get the material override assigned to a frame. Args: model: SAP2000 SapModel object frame_name: Frame object name
frame/property.py:146
↓ 2 callers
Method
get_inner_profile_points
Get inner rectangle contour points (for boolean operations)
geometry/section_profile.py:187
↓ 2 callers
Method
get_length_unit
Return the length unit symbol for the given system.
global_parameters/units.py:164
↓ 2 callers
Method
get_name_list
Get all cable-object names API: GetNameList() -> (NumberNames, MyName[], ret)
structure_core/cable.py:355
↓ 2 callers
Method
get_name_list
Return the list of material names. Args: model: `SapModel` object mat_type: Optional material type f
structure_core/material.py:212
↓ 2 callers
Method
get_name_list
Get all area-object names Args: model: SapModel object Returns: List of area-ob
structure_core/area.py:671
↓ 2 callers
Method
get_name_list
Get the list of area property names.
section/area_section.py:140
↓ 2 callers
Method
get_name_list
Get the list of cable section names.
section/cable_section.py:120
↓ 2 callers
Method
get_name_list
Get the list of link property names.
section/link_section.py:137
↓ 2 callers
Method
get_name_list
Get the list of section names.
section/frame_section.py:166
↓ 2 callers
Method
get_name_list
Get the names of all load patterns. Args: model: SAP2000 SapModel object Returns:
loading/load_pattern.py:243
↓ 2 callers
Method
get_name_list
Get the names of all cable objects.
results/cable_results.py:83
↓ 2 callers
Function
get_point_restraint
Return the point restraint state. Args: model: `SapModel` object point_name: Point name Returns: Restra
point/support.py:83
↓ 2 callers
Method
get_present_coord_system
Return the current coordinate system name. Returns: Coordinate system name Raises: SAPC
application.py:889
↓ 2 callers
Method
get_property_name_list
Get all link-property names.
structure_core/link.py:311
↓ 2 callers
Function
get_run_case_flag
Get run flags for all cases Args: model: SAP2000 SapModel object Returns: List of `RunCaseFlag`
analyze/analyze.py:179
↓ 2 callers
Function
get_selected_count
Get the number of selected objects Args: model: SAP2000 SapModel object Returns: Number of selected objects
selection/select.py:183
↓ 2 callers
Function
get_solver_option
Get solver options Args: model: SAP2000 SapModel object Returns: `SolverOption` instance, or `None` on fail
analyze/analyze.py:251
↓ 2 callers
Method
get_temp_unit
Return the temperature unit symbol for the given system.
global_parameters/units.py:187
↓ 2 callers
Method
get_units
Return the current unit system. Returns: A `UnitSystem` enum value Raises: SAPC
application.py:725
↓ 2 callers
Method
get_user_comment
Return the user comment text. Returns: User comment content Raises: SAPConnecti
application.py:964
↓ 2 callers
Method
length
Compute element length
geometry/element_geometry.py:46
↓ 2 callers
Function
set_active_dof
Set active model degrees of freedom Args: model: SAP2000 SapModel object dof: `ActiveDOF` instance Returns:
analyze/analyze.py:123
↓ 2 callers
Function
set_area_edge_constraint
Set the edge-constraint state of an area object. Edge constraints help enforce displacement compatibility between adjacent areas. A
area/edge_constraint.py:12
↓ 2 callers
Function
set_area_group
Assign or remove an area object from a group. Args: model: SAP2000 SapModel object area_name: Area object name g
area/group.py:18
↓ 2 callers
Function
set_diaphragm
Set a diaphragm constraint. Args: name: Constraint name axis: Axis normal to the diaphragm plane, default is automatic
constraints/constraints.py:109
↓ 2 callers
Function
set_frame_group
Assign or remove a frame from a group. Args: model: SAP2000 SapModel object frame_name: Frame object name group_
frame/group.py:17
↓ 2 callers
Function
set_link_group
Assign or remove a link object from a group. Args: model: SAP2000 SapModel object link_name: Link object name gr
link/group.py:17
↓ 2 callers
Method
set_local_axes
Set local-axis angle. Args: model: SapModel object angle: Rotation angle of local-2 and local-3 abou
structure_core/link.py:372
↓ 2 callers
Method
set_local_axes
Set area local-axis angle Args: model: SapModel object angle: Local-axis angle [deg] ite
structure_core/area.py:819
↓ 2 callers
Method
set_model_locked
Set the model lock state. API: SetModelIsLocked(Locked) -> Long
global_parameters/model_settings.py:249
↓ 2 callers
Method
set_pinned_i
Set the I end to pinned (`R2`, `R3` released)
named_assigns/frame_release.py:153
↓ 2 callers
Method
set_pinned_j
Set the J end to pinned (`R2`, `R3` released)
named_assigns/frame_release.py:158
↓ 2 callers
Function
set_point_support
Assign a predefined support type to a point. Args: model: `SapModel` object point_name: Point name support_type:
point/support.py:18
↓ 2 callers
Function
set_run_case_flag
Set run flag for a specific case Args: model: SAP2000 SapModel object case_name: Case name run: Whether to run
analyze/analyze.py:208
↓ 2 callers
Function
set_steel_code
Set the steel design code Args: model: SAP2000 SapModel object code: Code enum or code name string Returns:
design/steel.py:28
↓ 2 callers
Method
set_table_for_editing
Set editable table data (recommended). Args: model: SapModel object table_data: `TableData` object
database_tables/tables.py:641
↓ 2 callers
Method
set_user_comment
Set the user comment text. Args: comment: Comment text num_lines: Number of blank lines to insert be
application.py:980
↓ 2 callers
Function
setup_logger
Configure the PySap2000 logger. Args: level: Logging level log_file: Optional log file path format_string: Optional
logger.py:53
↓ 2 callers
Method
to_list
Convert to the list format required by the API
named_assigns/frame_modifier.py:61
↓ 2 callers
Method
to_tuple
Return the modifier values as a tuple.
frame/data_classes.py:58
↓ 1 callers
Method
_attach_to_instance
Attach to a running SAP2000 instance, retrying up to three times.
application.py:188
↓ 1 callers
Function
_build_element_info_df
Convert element info rows to a DataFrame.
report/generator.py:118
↓ 1 callers
Function
_build_steel_design_df
Convert steel design result rows to a DataFrame.
report/generator.py:143
↓ 1 callers
Function
_calc_lines_intersection
Compute nearest points between two 3D lines (approximate intersection). Line 1: `P1 + t * (P2 - P1)` Line 2: `P3 + s * (P4 - P3)`
edit/point_projection.py:80
↓ 1 callers
Function
_calc_point_on_line
Compute point coordinates on line AB using ratio `t` Args: point_a: Start point A `(x, y, z)` point_b: End point B `(x,
edit/point_projection.py:54
↓ 1 callers
Method
_calculate_length
Compute cable length.
structure_core/cable.py:275
↓ 1 callers
Method
_calculate_weight
Compute frame weight in kilograms. weight = weight_per_meter × length If the current unit system is not `N_
structure_core/frame.py:352
↓ 1 callers
Method
_calculate_weight_per_meter
Compute unit weight per length in `kg/m`. weight_per_meter = area × density If the current units are not `N
section/frame_section.py:259
↓ 1 callers
Method
_check_points_exist
Warn if end points are missing from the model.
structure_core/frame.py:185
↓ 1 callers
Method
_check_version
Check that the connected SAP2000 version meets the minimum requirement. Raises: SAPConnectionError: Raised when the vers
application.py:118
↓ 1 callers
Method
_create
Create or update a named end release Args: model: SAP2000 SapModel object Returns:
named_assigns/frame_release.py:168
↓ 1 callers
Method
_create
Create the area property in SAP2000.
section/area_section.py:234
↓ 1 callers
Method
_create
Create the cable section in SAP2000.
section/cable_section.py:192
↓ 1 callers
Method
_create
Create the section in SAP2000.
section/frame_section.py:534
↓ 1 callers
Method
_create_angle
(self, model)
section/frame_section.py:604
↓ 1 callers
Method
_create_asolid
Create an axisymmetric solid property.
section/area_section.py:285
↓ 1 callers
Method
_create_box
(self, model)
section/frame_section.py:590
↓ 1 callers
Method
_create_by_coord
Create an area object from coordinates
structure_core/area.py:390
↓ 1 callers
Method
_create_by_point
Create an area object from point names
structure_core/area.py:378
↓ 1 callers
Method
_create_cartesian
Create the point using Cartesian coordinates.
structure_core/point.py:138
↓ 1 callers
Method
_create_channel
(self, model)
section/frame_section.py:610
↓ 1 callers
Method
_create_circle
(self, model)
section/frame_section.py:580
↓ 1 callers
Method
_create_cylindrical
Create the point using cylindrical coordinates.
structure_core/point.py:150
↓ 1 callers
Method
_create_dbl_angle
(self, model)
section/frame_section.py:622
↓ 1 callers
Method
_create_dbl_channel
(self, model)
section/frame_section.py:628
← previous
next →
101–200 of 1,543, ranked by callers