Skip to content

Named selection creation using beams is not capable of retrieving them later #1868

@RobPasMue

Description

@RobPasMue

Issue found coming from #1863

When we implemented the lazy-loading of the various elements inside a NamedSelection we realized that there is a bug under the following circumstances.

  1. You create a NamedSelection using PyAnsys Geometry containing "beams". See test test_named_selection_contents for reference
  2. NamedSelection creation goes through and, apparently, the beam got added to the NS
  3. When you try to retrieve the beam using the NamedSelectionStub.Get() method... the beam does not show up
  4. This causes the test to fail since it is expecting a beam to be part of its NS.

Previously, since we were not verifying this and we did not implement the lazy-loading/caching... this was not identified. But this bug is probably since the beginning.

Metadata

Metadata

Labels

PRIORITYIssue/PR assigned with this tag must be given priority over the rest of the backlog

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions