MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / makeUniqueLabel

Method makeUniqueLabel

src/App/Document.cpp:2123–2130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2121}
2122
2123std::string Document::makeUniqueLabel(std::string_view modelLabel)
2124{
2125 if (modelLabel.empty()) {
2126 return {};
2127 }
2128
2129 return d->objectLabelManager.makeUniqueName(modelLabel, 3);
2130}
2131
2132bool Document::isAnyRestoring()
2133{

Callers 1

onProposedLabelChangeMethod · 0.80

Calls 2

makeUniqueNameMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected