Repository navigation
Conversation
This was
linked to
issues
Mar 13, 2026
# Conflicts: # src/ansys/aedt/core/modules/solve_setup.py
Added assignment property in boundary and test for it.
|
CLA Check Failed: Commit Author Verification Unsuccessful One or more commits in this pull request contain missing or invalid author information. This issue may arise due to:
Commits with unknown or invalid author information: Please update the commit author details and force-push the updated commit to proceed with the CLA verification. Note Action Required: Repository maintainers with write access can trigger a recheck by commenting |
# Conflicts: # src/ansys/aedt/core/modules/boundary/common.py
maxcapodi78
marked this pull request as ready for review
September 24, 2026 11:59
…into feat/obj_data_parser_new_props
…into feat/obj_data_parser_new_props
Samuelopez-ansys
marked this pull request as draft
October 9, 2026 14:33
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces a new lazy initialization pattern and leverages the new
GetObjDataAPI (available from AEDT 2026 R1) to improve performance and ensure properties are always fetched fresh from AEDT.Key Changes
1. New API Functions (
application/__init__.py)_has_get_obj_data(child_object): Checks if an AEDT object supports the newGetObjDataAPI (2026 R1+)_get_obj_data(child_object): Parses and returns object properties as a dictionary using the new API_get_data_model(): Enhanced with docstrings and improved JSON parsing2. Lazy Initialization in
BinaryTreeNode(elements_3d.py)_ensure_tree_node()- tree nodes are now initialized on first access instead of during__init___ensure_children()for deferred child loadingchild_objectto a property with lazy resolution_tree_node_initialized,_tree_node_initializing,_children_loading,_children_loaded3. Dynamic Property Fetching
Properties (
props) are now fetched every time they are accessed whenGetObjDatais available, ensuring they are always up-to-date with AEDT state. Affected modules:boundary/common.py,boundary/hfss_boundary.py,boundary/layout_boundary.py,boundary/maxwell_boundary.pymesh.py,mesh_icepak.pysolve_setup.pyvisualization/report/common.py,report/netlist.py4. Commented
_initialize_tree_node()CallsEager initialization calls are now commented out in constructors and
create()methods to enable lazy loading.Application: all
AEDT-Version: 26.1, 27.1
Platform: windows, linux
Issue linked
Implemented a new improved way to handle props using new method GetobjData added in AEDT 26R1. The new props will not parse anymore .aedt file but retrieve info in realtime from the API directly.
Checklist