Skip to content

Commit

Permalink
Python's NODEDATA's position vector now returns a vec3d
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrossherron committed Jan 28, 2025
1 parent 66aba05 commit a43ec7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyLib/PyFBSPost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void init_FBSPost(py::module& m)
.def_readonly("ElemData", &FEState::m_ELEM, py::return_value_policy::reference);

py::class_<NODEDATA>(post, "NODEDATA")
.def_readonly("r", &NODEDATA::m_rt)
.def("r", [](NODEDATA& self){return to_vec3d(self.m_rt);})
.def_readonly("val", &NODEDATA::m_val)
.def_readonly("tag", &NODEDATA::m_ntag);

Expand Down

0 comments on commit a43ec7d

Please sign in to comment.