Closed ben2k closed 1 year ago
Allows to retrieve optimization parameters from xlsx project:
import shapeworks as sw p = sw.Project() p.load("sample.xlsx") optim_params = p.get_parameters("optimize").as_map()
Notes: the old Parameters:get_map() and set_map() were not usable (because tsl::ordered_map not supported by pybind11), replaced by as_map()
Added Variant.as_str() for access in Python.
Allows to retrieve optimization parameters from xlsx project:
import shapeworks as sw p = sw.Project() p.load("sample.xlsx") optim_params = p.get_parameters("optimize").as_map()
Notes: the old Parameters:get_map() and set_map() were not usable (because tsl::ordered_map not supported by pybind11), replaced by as_map()
Added Variant.as_str() for access in Python.