Skip to content

Commit

Permalink
Point object (#3581)
Browse files Browse the repository at this point in the history
* handle points

* point objects
  • Loading branch information
gmalinve authored Sep 18, 2023
1 parent 2aa9906 commit 26b732a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyaedt/modeler/cad/Primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ def point_objects(self):
list of :class:`pyaedt.modeler.cad.object3d.Object3d`
3D object.
"""
return [v for v in list(self.points.values())]
self._refresh_points()
return [self.points[name] for name in self._points]

@property
def unclassified_objects(self):
Expand All @@ -135,7 +136,7 @@ def object_list(self):
3D object.
"""
self._refresh_object_types()
return [self[name] for name in self._all_object_names if name is not None]
return [self[name] for name in self._all_object_names if name is not None and name not in self.point_names]

@property
def solid_names(self):
Expand Down

0 comments on commit 26b732a

Please sign in to comment.