This:
Is utterly meaningless to beginners, as I mentioned in the linked topic. I'm trying to tackle this.
I made a branch, found the proper files where to change the message (again, all discussed in the previous topic).
But I can't get bullet points to properly show up, they are replaced with ⯢.
Naively I first tried this:
Code: Select all
// if the Base property has a valid shape, fuse the prism into it
TopoDS_Shape base;
try {
base = getBaseShape();
} catch (const Base::Exception&) {
return new App::DocumentObjectExecReturn("The requested feature cannot be created. The reason may be that:\n"
"• the active Body does not contain a base shape, so there is no "
"material to be removed;\n"
"• the selected sketch does not belong to the active Body.");
}
Then, based on a quick web search, this:
Code: Select all
// if the Base property has a valid shape, fuse the prism into it
TopoDS_Shape base;
try {
base = getBaseShape();
} catch (const Base::Exception&) {
return new App::DocumentObjectExecReturn("The requested feature cannot be created. The reason may be that:\n"
"\u2022 the active Body does not contain a base shape, so there is no "
"material to be removed;\n"
"\u2022 the selected sketch does not belong to the active Body.");
}
What I want it to look like is this:
Thanks.Input error
The requested feature cannot be created. The reason may be either:
- The active Body does not contain a base shape, so there is no material to be removed.
- The selected sketch does not belong to the active Body.