Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -114,7 +114,7 @@ void CosmeticExtension::clearCosmeticVertexes()
|
||||
/// add the cosmetic verts in the property list to view's vertex geometry list
|
||||
void CosmeticExtension::addCosmeticVertexesToGeom()
|
||||
{
|
||||
// Base::Console().Message("CE::addCosmeticVertexesToGeom()\n");
|
||||
// Base::Console().message("CE::addCosmeticVertexesToGeom()\n");
|
||||
const std::vector<TechDraw::CosmeticVertex*> cVerts = CosmeticVertexes.getValues();
|
||||
for (auto& cv : cVerts) {
|
||||
double scale = getOwner()->getScale();
|
||||
@@ -128,10 +128,10 @@ void CosmeticExtension::addCosmeticVertexesToGeom()
|
||||
/// add a single cosmetic vertex in the property list to the view's vertex geometry list
|
||||
int CosmeticExtension::add1CVToGV(const std::string& tag)
|
||||
{
|
||||
// Base::Console().Message("CE::add1CVToGV(%s)\n", tag.c_str());
|
||||
// Base::Console().message("CE::add1CVToGV(%s)\n", tag.c_str());
|
||||
TechDraw::CosmeticVertex* cv = getCosmeticVertex(tag);
|
||||
if (!cv) {
|
||||
Base::Console().Message("CE::add1CVToGV - cv %s not found\n", tag.c_str());
|
||||
Base::Console().message("CE::add1CVToGV - cv %s not found\n", tag.c_str());
|
||||
return 0;
|
||||
}
|
||||
double scale = getOwner()->getScale();
|
||||
@@ -145,7 +145,7 @@ int CosmeticExtension::add1CVToGV(const std::string& tag)
|
||||
/// update the parent view's vertex geometry with all the cosmetic vertices in the list property
|
||||
void CosmeticExtension::refreshCVGeoms()
|
||||
{
|
||||
// Base::Console().Message("CE::refreshCVGeoms()\n");
|
||||
// Base::Console().message("CE::refreshCVGeoms()\n");
|
||||
|
||||
std::vector<TechDraw::VertexPtr> gVerts = getOwner()->getVertexGeometry();
|
||||
std::vector<TechDraw::VertexPtr> newGVerts;
|
||||
@@ -162,7 +162,7 @@ void CosmeticExtension::refreshCVGeoms()
|
||||
/// find the position of a cosmetic vertex with the given tag in the parent view's geometry list
|
||||
int CosmeticExtension::getCVIndex(const std::string& tag)
|
||||
{
|
||||
// Base::Console().Message("CE::getCVIndex(%s)\n", tag.c_str());
|
||||
// Base::Console().message("CE::getCVIndex(%s)\n", tag.c_str());
|
||||
std::vector<TechDraw::VertexPtr> gVerts = getOwner()->getVertexGeometry();
|
||||
std::vector<TechDraw::CosmeticVertex*> cVerts = CosmeticVertexes.getValues();
|
||||
|
||||
@@ -178,7 +178,7 @@ int CosmeticExtension::getCVIndex(const std::string& tag)
|
||||
int base = gVerts.size();
|
||||
i = 0;
|
||||
for (auto& cv : cVerts) {
|
||||
// Base::Console().Message("CE::getCVIndex - cv tag: %s\n",
|
||||
// Base::Console().message("CE::getCVIndex - cv tag: %s\n",
|
||||
// cv->getTagAsString().c_str());
|
||||
if (cv->getTagAsString() == tag) {
|
||||
return base + i;
|
||||
@@ -186,7 +186,7 @@ int CosmeticExtension::getCVIndex(const std::string& tag)
|
||||
i++;
|
||||
}
|
||||
|
||||
// Base::Console().Message("CE::getCVIndex - returns: %d\n", result);
|
||||
// Base::Console().message("CE::getCVIndex - returns: %d\n", result);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ int CosmeticExtension::getCVIndex(const std::string& tag)
|
||||
/// invert should be set to false.
|
||||
std::string CosmeticExtension::addCosmeticVertex(const Base::Vector3d& pos, bool invert)
|
||||
{
|
||||
// Base::Console().Message("CEx::addCosmeticVertex(%s)\n",
|
||||
// Base::Console().message("CEx::addCosmeticVertex(%s)\n",
|
||||
// DrawUtil::formatVector(pos).c_str());
|
||||
std::vector<CosmeticVertex*> verts = CosmeticVertexes.getValues();
|
||||
Base::Vector3d tempPos = pos;
|
||||
@@ -212,7 +212,7 @@ std::string CosmeticExtension::addCosmeticVertex(const Base::Vector3d& pos, bool
|
||||
/// retrieve a cosmetic vertex by unique id
|
||||
TechDraw::CosmeticVertex* CosmeticExtension::getCosmeticVertex(const std::string& tagString) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCosmeticVertex(%s)\n", tagString.c_str());
|
||||
// Base::Console().message("CEx::getCosmeticVertex(%s)\n", tagString.c_str());
|
||||
const std::vector<TechDraw::CosmeticVertex*> verts = CosmeticVertexes.getValues();
|
||||
for (auto& cv: verts) {
|
||||
std::string cvTag = cv->getTagAsString();
|
||||
@@ -227,7 +227,7 @@ TechDraw::CosmeticVertex* CosmeticExtension::getCosmeticVertex(const std::string
|
||||
/// used when selecting
|
||||
TechDraw::CosmeticVertex* CosmeticExtension::getCosmeticVertexBySelection(const std::string& name) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCVBySelection(%s)\n", name.c_str());
|
||||
// Base::Console().message("CEx::getCVBySelection(%s)\n", name.c_str());
|
||||
App::DocumentObject* extObj = const_cast<App::DocumentObject*> (getExtendedObject());
|
||||
TechDraw::DrawViewPart* dvp = dynamic_cast<TechDraw::DrawViewPart*>(extObj);
|
||||
if (!dvp) {
|
||||
@@ -244,7 +244,7 @@ TechDraw::CosmeticVertex* CosmeticExtension::getCosmeticVertexBySelection(const
|
||||
/// retrieve a cosmetic vertex by index (the 5 in Vertex5)
|
||||
TechDraw::CosmeticVertex* CosmeticExtension::getCosmeticVertexBySelection(const int i) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCVBySelection(%d)\n", i);
|
||||
// Base::Console().message("CEx::getCVBySelection(%d)\n", i);
|
||||
std::stringstream ss;
|
||||
ss << "Vertex" << i;
|
||||
std::string vName = ss.str();
|
||||
@@ -254,7 +254,7 @@ TechDraw::CosmeticVertex* CosmeticExtension::getCosmeticVertexBySelection(const
|
||||
/// remove the cosmetic vertex with the given tag from the list property
|
||||
void CosmeticExtension::removeCosmeticVertex(const std::string& delTag)
|
||||
{
|
||||
// Base::Console().Message("DVP::removeCV(%s)\n", delTag.c_str());
|
||||
// Base::Console().message("DVP::removeCV(%s)\n", delTag.c_str());
|
||||
std::vector<CosmeticVertex*> cVerts = CosmeticVertexes.getValues();
|
||||
std::vector<CosmeticVertex*> newVerts;
|
||||
for (auto& cv: cVerts) {
|
||||
@@ -292,7 +292,7 @@ void CosmeticExtension::clearCosmeticEdges()
|
||||
/// add the cosmetic edges to geometry edge list
|
||||
void CosmeticExtension::addCosmeticEdgesToGeom()
|
||||
{
|
||||
// Base::Console().Message("CEx::addCosmeticEdgesToGeom()\n");
|
||||
// Base::Console().message("CEx::addCosmeticEdgesToGeom()\n");
|
||||
const std::vector<TechDraw::CosmeticEdge*> cEdges = CosmeticEdges.getValues();
|
||||
for (auto& ce : cEdges) {
|
||||
double scale = getOwner()->getScale();
|
||||
@@ -308,10 +308,10 @@ void CosmeticExtension::addCosmeticEdgesToGeom()
|
||||
/// add a single cosmetic edge to the geometry edge list
|
||||
int CosmeticExtension::add1CEToGE(const std::string& tag)
|
||||
{
|
||||
// Base::Console().Message("CEx::add1CEToGE(%s) 2\n", tag.c_str());
|
||||
// Base::Console().message("CEx::add1CEToGE(%s) 2\n", tag.c_str());
|
||||
TechDraw::CosmeticEdge* ce = getCosmeticEdge(tag);
|
||||
if (!ce) {
|
||||
Base::Console().Message("CEx::add1CEToGE 2 - ce %s not found\n", tag.c_str());
|
||||
Base::Console().message("CEx::add1CEToGE 2 - ce %s not found\n", tag.c_str());
|
||||
return -1;
|
||||
}
|
||||
double scale = getOwner()->getScale();
|
||||
@@ -325,7 +325,7 @@ int CosmeticExtension::add1CEToGE(const std::string& tag)
|
||||
/// update Edge geometry with current CE's
|
||||
void CosmeticExtension::refreshCEGeoms()
|
||||
{
|
||||
// Base::Console().Message("CEx::refreshCEGeoms()\n");
|
||||
// Base::Console().message("CEx::refreshCEGeoms()\n");
|
||||
std::vector<TechDraw::BaseGeomPtr> gEdges = getOwner()->getEdgeGeometry();
|
||||
std::vector<TechDraw::BaseGeomPtr> oldGEdges;
|
||||
for (auto& ge : gEdges) {
|
||||
@@ -342,7 +342,7 @@ void CosmeticExtension::refreshCEGeoms()
|
||||
std::string CosmeticExtension::addCosmeticEdge(Base::Vector3d start,
|
||||
Base::Vector3d end)
|
||||
{
|
||||
// Base::Console().Message("CEx::addCosmeticEdge(s, e)\n");
|
||||
// Base::Console().message("CEx::addCosmeticEdge(s, e)\n");
|
||||
std::vector<CosmeticEdge*> edges = CosmeticEdges.getValues();
|
||||
TechDraw::CosmeticEdge* ce = new TechDraw::CosmeticEdge(start, end);
|
||||
edges.push_back(ce);
|
||||
@@ -354,7 +354,7 @@ std::string CosmeticExtension::addCosmeticEdge(Base::Vector3d start,
|
||||
/// returns unique CE id
|
||||
std::string CosmeticExtension::addCosmeticEdge(TechDraw::BaseGeomPtr bg)
|
||||
{
|
||||
// Base::Console().Message("CEx::addCosmeticEdge(bg: %X)\n", bg);
|
||||
// Base::Console().message("CEx::addCosmeticEdge(bg: %X)\n", bg);
|
||||
std::vector<CosmeticEdge*> edges = CosmeticEdges.getValues();
|
||||
TechDraw::CosmeticEdge* ce = new TechDraw::CosmeticEdge(bg);
|
||||
edges.push_back(ce);
|
||||
@@ -365,7 +365,7 @@ std::string CosmeticExtension::addCosmeticEdge(TechDraw::BaseGeomPtr bg)
|
||||
/// retrieve a CE by unique id
|
||||
TechDraw::CosmeticEdge* CosmeticExtension::getCosmeticEdge(const std::string& tagString) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCosmeticEdge(%s)\n", tagString.c_str());
|
||||
// Base::Console().message("CEx::getCosmeticEdge(%s)\n", tagString.c_str());
|
||||
const std::vector<TechDraw::CosmeticEdge*> edges = CosmeticEdges.getValues();
|
||||
for (auto& ce: edges) {
|
||||
std::string ceTag = ce->getTagAsString();
|
||||
@@ -375,7 +375,7 @@ TechDraw::CosmeticEdge* CosmeticExtension::getCosmeticEdge(const std::string& ta
|
||||
}
|
||||
|
||||
// None found
|
||||
// Base::Console().Message("CEx::getCosmeticEdge - CE for tag: %s not found.\n", tagString.c_str());
|
||||
// Base::Console().message("CEx::getCosmeticEdge - CE for tag: %s not found.\n", tagString.c_str());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -383,7 +383,7 @@ TechDraw::CosmeticEdge* CosmeticExtension::getCosmeticEdge(const std::string& ta
|
||||
/// used when selecting
|
||||
TechDraw::CosmeticEdge* CosmeticExtension::getCosmeticEdgeBySelection(const std::string& name) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCEBySelection(%s)\n", name.c_str());
|
||||
// Base::Console().message("CEx::getCEBySelection(%s)\n", name.c_str());
|
||||
App::DocumentObject* extObj = const_cast<App::DocumentObject*> (getExtendedObject());
|
||||
TechDraw::DrawViewPart* dvp = dynamic_cast<TechDraw::DrawViewPart*>(extObj);
|
||||
if (!dvp) {
|
||||
@@ -401,7 +401,7 @@ TechDraw::CosmeticEdge* CosmeticExtension::getCosmeticEdgeBySelection(const std:
|
||||
/// find the cosmetic edge corresponding to the input parameter (the 5 in Edge5)
|
||||
TechDraw::CosmeticEdge* CosmeticExtension::getCosmeticEdgeBySelection(int i) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCEBySelection(%d)\n", i);
|
||||
// Base::Console().message("CEx::getCEBySelection(%d)\n", i);
|
||||
std::stringstream edgeName;
|
||||
edgeName << "Edge" << i;
|
||||
return getCosmeticEdgeBySelection(edgeName.str());
|
||||
@@ -410,7 +410,7 @@ TechDraw::CosmeticEdge* CosmeticExtension::getCosmeticEdgeBySelection(int i) con
|
||||
/// remove the cosmetic edge with the given tag from the list property
|
||||
void CosmeticExtension::removeCosmeticEdge(const std::string& delTag)
|
||||
{
|
||||
// Base::Console().Message("DVP::removeCE(%s)\n", delTag.c_str());
|
||||
// Base::Console().message("DVP::removeCE(%s)\n", delTag.c_str());
|
||||
std::vector<CosmeticEdge*> cEdges = CosmeticEdges.getValues();
|
||||
std::vector<CosmeticEdge*> newEdges;
|
||||
for (auto& ce: cEdges) {
|
||||
@@ -427,7 +427,7 @@ void CosmeticExtension::removeCosmeticEdge(const std::string& delTag)
|
||||
/// remove the cosmetic edges with the given tags from the list property
|
||||
void CosmeticExtension::removeCosmeticEdge(const std::vector<std::string>& delTags)
|
||||
{
|
||||
// Base::Console().Message("DVP::removeCE(%d tags)\n", delTags.size());
|
||||
// Base::Console().message("DVP::removeCE(%d tags)\n", delTags.size());
|
||||
std::vector<CosmeticEdge*> cEdges = CosmeticEdges.getValues();
|
||||
for (auto& t: delTags) {
|
||||
removeCosmeticEdge(t);
|
||||
@@ -449,10 +449,10 @@ void CosmeticExtension::clearCenterLines()
|
||||
|
||||
int CosmeticExtension::add1CLToGE(const std::string& tag)
|
||||
{
|
||||
// Base::Console().Message("CEx::add1CLToGE(%s) 2\n", tag.c_str());
|
||||
// Base::Console().message("CEx::add1CLToGE(%s) 2\n", tag.c_str());
|
||||
TechDraw::CenterLine* cl = getCenterLine(tag);
|
||||
if (!cl) {
|
||||
// Base::Console().Message("CEx::add1CLToGE 2 - cl %s not found\n", tag.c_str());
|
||||
// Base::Console().message("CEx::add1CLToGE 2 - cl %s not found\n", tag.c_str());
|
||||
return -1;
|
||||
}
|
||||
TechDraw::BaseGeomPtr scaledGeom = cl->scaledAndRotatedGeometry(getOwner());
|
||||
@@ -464,7 +464,7 @@ int CosmeticExtension::add1CLToGE(const std::string& tag)
|
||||
//update Edge geometry with current CL's
|
||||
void CosmeticExtension::refreshCLGeoms()
|
||||
{
|
||||
// Base::Console().Message("CE::refreshCLGeoms()\n");
|
||||
// Base::Console().message("CE::refreshCLGeoms()\n");
|
||||
std::vector<TechDraw::BaseGeomPtr> gEdges = getOwner()->getEdgeGeometry();
|
||||
std::vector<TechDraw::BaseGeomPtr> newGEdges;
|
||||
for (auto& ge : gEdges) {
|
||||
@@ -479,12 +479,12 @@ void CosmeticExtension::refreshCLGeoms()
|
||||
//add the center lines to geometry Edges list
|
||||
void CosmeticExtension::addCenterLinesToGeom()
|
||||
{
|
||||
// Base::Console().Message("CE::addCenterLinesToGeom()\n");
|
||||
// Base::Console().message("CE::addCenterLinesToGeom()\n");
|
||||
const std::vector<TechDraw::CenterLine*> lines = CenterLines.getValues();
|
||||
for (auto& cl : lines) {
|
||||
TechDraw::BaseGeomPtr scaledGeom = cl->scaledAndRotatedGeometry(getOwner());
|
||||
if (!scaledGeom) {
|
||||
Base::Console().Error("CE::addCenterLinesToGeom - scaledGeometry is null\n");
|
||||
Base::Console().error("CE::addCenterLinesToGeom - scaledGeometry is null\n");
|
||||
continue;
|
||||
}
|
||||
// int idx =
|
||||
@@ -497,7 +497,7 @@ void CosmeticExtension::addCenterLinesToGeom()
|
||||
std::string CosmeticExtension::addCenterLine(Base::Vector3d start,
|
||||
Base::Vector3d end)
|
||||
{
|
||||
// Base::Console().Message("CEx::addCenterLine(%s)\n",
|
||||
// Base::Console().message("CEx::addCenterLine(%s)\n",
|
||||
// DrawUtil::formatVector(start).c_str(),
|
||||
// DrawUtil::formatVector(end).c_str());
|
||||
std::vector<CenterLine*> cLines = CenterLines.getValues();
|
||||
@@ -509,7 +509,7 @@ std::string CosmeticExtension::addCenterLine(Base::Vector3d start,
|
||||
|
||||
std::string CosmeticExtension::addCenterLine(TechDraw::CenterLine* cl)
|
||||
{
|
||||
// Base::Console().Message("CEx::addCenterLine(cl: %X)\n", cl);
|
||||
// Base::Console().message("CEx::addCenterLine(cl: %X)\n", cl);
|
||||
std::vector<CenterLine*> cLines = CenterLines.getValues();
|
||||
cLines.push_back(cl);
|
||||
CenterLines.setValues(cLines);
|
||||
@@ -519,7 +519,7 @@ std::string CosmeticExtension::addCenterLine(TechDraw::CenterLine* cl)
|
||||
|
||||
std::string CosmeticExtension::addCenterLine(TechDraw::BaseGeomPtr bg)
|
||||
{
|
||||
// Base::Console().Message("CEx::addCenterLine(bg: %X)\n", bg);
|
||||
// Base::Console().message("CEx::addCenterLine(bg: %X)\n", bg);
|
||||
std::vector<CenterLine*> cLines = CenterLines.getValues();
|
||||
TechDraw::CenterLine* cl = new TechDraw::CenterLine(bg);
|
||||
cLines.push_back(cl);
|
||||
@@ -530,7 +530,7 @@ std::string CosmeticExtension::addCenterLine(TechDraw::BaseGeomPtr bg)
|
||||
//get CL by unique id
|
||||
TechDraw::CenterLine* CosmeticExtension::getCenterLine(const std::string& tagString) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCenterLine(%s)\n", tagString.c_str());
|
||||
// Base::Console().message("CEx::getCenterLine(%s)\n", tagString.c_str());
|
||||
const std::vector<TechDraw::CenterLine*> cLines = CenterLines.getValues();
|
||||
for (auto& cl: cLines) {
|
||||
std::string clTag = cl->getTagAsString();
|
||||
@@ -545,7 +545,7 @@ TechDraw::CenterLine* CosmeticExtension::getCenterLine(const std::string& tagStr
|
||||
// used when selecting
|
||||
TechDraw::CenterLine* CosmeticExtension::getCenterLineBySelection(const std::string& name) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCLBySelection(%s)\n", name.c_str());
|
||||
// Base::Console().message("CEx::getCLBySelection(%s)\n", name.c_str());
|
||||
App::DocumentObject* extObj = const_cast<App::DocumentObject*> (getExtendedObject());
|
||||
TechDraw::DrawViewPart* dvp = dynamic_cast<TechDraw::DrawViewPart*>(extObj);
|
||||
if (!dvp) {
|
||||
@@ -562,7 +562,7 @@ TechDraw::CenterLine* CosmeticExtension::getCenterLineBySelection(const std::str
|
||||
//overload for index only
|
||||
TechDraw::CenterLine* CosmeticExtension::getCenterLineBySelection(int i) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCLBySelection(%d)\n", i);
|
||||
// Base::Console().message("CEx::getCLBySelection(%d)\n", i);
|
||||
std::stringstream edgeName;
|
||||
edgeName << "Edge" << i;
|
||||
return getCenterLineBySelection(edgeName.str());
|
||||
@@ -570,7 +570,7 @@ TechDraw::CenterLine* CosmeticExtension::getCenterLineBySelection(int i) const
|
||||
|
||||
void CosmeticExtension::removeCenterLine(const std::string& delTag)
|
||||
{
|
||||
// Base::Console().Message("DVP::removeCL(%s)\n", delTag.c_str());
|
||||
// Base::Console().message("DVP::removeCL(%s)\n", delTag.c_str());
|
||||
std::vector<CenterLine*> cLines = CenterLines.getValues();
|
||||
std::vector<CenterLine*> newLines;
|
||||
for (auto& cl: cLines) {
|
||||
@@ -603,7 +603,7 @@ void CosmeticExtension::clearGeomFormats()
|
||||
//only adds gf to gflist property. does not add to display geometry until dvp repaints.
|
||||
std::string CosmeticExtension::addGeomFormat(TechDraw::GeomFormat* gf)
|
||||
{
|
||||
// Base::Console().Message("CEx::addGeomFormat(gf: %X)\n", gf);
|
||||
// Base::Console().message("CEx::addGeomFormat(gf: %X)\n", gf);
|
||||
std::vector<GeomFormat*> formats = GeomFormats.getValues();
|
||||
TechDraw::GeomFormat* newGF = new TechDraw::GeomFormat(gf);
|
||||
formats.push_back(newGF);
|
||||
@@ -615,7 +615,7 @@ std::string CosmeticExtension::addGeomFormat(TechDraw::GeomFormat* gf)
|
||||
//get GF by unique id
|
||||
TechDraw::GeomFormat* CosmeticExtension::getGeomFormat(const std::string& tagString) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getGeomFormat(%s)\n", tagString.c_str());
|
||||
// Base::Console().message("CEx::getGeomFormat(%s)\n", tagString.c_str());
|
||||
const std::vector<TechDraw::GeomFormat*> formats = GeomFormats.getValues();
|
||||
for (auto& gf: formats) {
|
||||
std::string gfTag = gf->getTagAsString();
|
||||
@@ -632,7 +632,7 @@ TechDraw::GeomFormat* CosmeticExtension::getGeomFormat(const std::string& tagStr
|
||||
// used when selecting
|
||||
TechDraw::GeomFormat* CosmeticExtension::getGeomFormatBySelection(const std::string& name) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCEBySelection(%s)\n", name.c_str());
|
||||
// Base::Console().message("CEx::getCEBySelection(%s)\n", name.c_str());
|
||||
App::DocumentObject* extObj = const_cast<App::DocumentObject*> (getExtendedObject());
|
||||
TechDraw::DrawViewPart* dvp = dynamic_cast<TechDraw::DrawViewPart*>(extObj);
|
||||
if (!dvp) {
|
||||
@@ -653,7 +653,7 @@ TechDraw::GeomFormat* CosmeticExtension::getGeomFormatBySelection(const std::str
|
||||
//overload for index only
|
||||
TechDraw::GeomFormat* CosmeticExtension::getGeomFormatBySelection(int i) const
|
||||
{
|
||||
// Base::Console().Message("CEx::getCEBySelection(%d)\n", i);
|
||||
// Base::Console().message("CEx::getCEBySelection(%d)\n", i);
|
||||
std::stringstream edgeName;
|
||||
edgeName << "Edge" << i;
|
||||
return getGeomFormatBySelection(edgeName.str());
|
||||
@@ -661,7 +661,7 @@ TechDraw::GeomFormat* CosmeticExtension::getGeomFormatBySelection(int i) const
|
||||
|
||||
void CosmeticExtension::removeGeomFormat(const std::string& delTag)
|
||||
{
|
||||
// Base::Console().Message("DVP::removeCE(%s)\n", delTag.c_str());
|
||||
// Base::Console().message("DVP::removeCE(%s)\n", delTag.c_str());
|
||||
std::vector<GeomFormat*> cFormats = GeomFormats.getValues();
|
||||
std::vector<GeomFormat*> newFormats;
|
||||
for (auto& gf: cFormats) {
|
||||
|
||||
Reference in New Issue
Block a user