Sketcher: Addition of layerId field to SketcherGeometryExtension, GeometryFacade and ExternalGeometryFacade, and their Python wrappers

This commit is contained in:
Abdullah Tahiri
2021-12-04 07:45:52 +01:00
parent f29a6a0518
commit 62c8125097
10 changed files with 81 additions and 3 deletions

View File

@@ -483,6 +483,16 @@ void GeometryFacadePy::setConstruction(Py::Boolean arg)
getGeometryFacadePtr()->setConstruction(arg);
}
Py::Long GeometryFacadePy::getGeometryLayerId(void) const
{
return Py::Long(this->getGeometryFacadePtr()->getGeometryLayerId());
}
void GeometryFacadePy::setGeometryLayerId(Py::Long Id)
{
this->getGeometryFacadePtr()->setGeometryLayerId(long(Id));
}
Py::String GeometryFacadePy::getTag(void) const
{
std::string tmp = boost::uuids::to_string(getGeometryFacadePtr()->getTag());