Sketch text that loses its font

Hi all

I have a small problem with a sketch text made with a specific font, the " Stencilla-A " for laser cutting.
The font is on multibody sheet metal parts, a bit under the principle of the attached file.
The file is in a data directory and it is copied to another directory for modification, and very frequently the font is changed back to the standard font.
In some cases, in " Sketch Text", the checkmark is even validated for " Use document font".
While in the original document it was unchecked to change the font.

Item1.SLDPRT (289.2 KB)

If you have an idea to solve the problem, thank you in advance.

Or if there is a way by a VBA macro to scan all the sketch texts of the multibody piece and revalidate them in Stencilla-A" I'm also interested.

Hello

What if you set Stencilla-A as the font of the document?

Thank you @Sylk ,

Your idea isn't silly at all, I'll try it as soon as possible, but it might be a solution.

I'm testing it at the beginning of the week.

On the other hand, small question, I don't see what option to modify to set the font of the document to Stencilla-A.

Isn't it because you're opening the room on a workstation that doesn't have this font installed?
If I open and edit your piece, the basic font replaces the Stencilla-A (not installed on my computer)

3 Likes

I am also leaning towards the proposal of @sbadenis ... (font facility)

No, the font is installed on the set, and if it wasn't installed, it wouldn't be by opening the sketch and double-clicking on the text that it would be redisplayed.

I wouldn't be able to display it at all and as you say solidworks would ask to replace it with another one.

Since I can't open your file, I don't know exactly which setting is concerned, but in the document options (the cog) there is the possibility on almost every tab to change the font of the aspect concerned. See if you find one related to your problem.

Hello

In the document template, this is the parameter related to annotations:
image
If the font is not present (or incorrectly installed on the computer), SW replaces with a default font when editing.

1 Like

This is indeed SW's behavior. On my workstation I don't have Stencilla-A as a font and when opening the file no problem the font is " compliant ". As soon as I edit the sketch and I double click on the text, it takes a font present on my computer since it can't find anything and I haven't told it which font to take as a replacement (warning message hidden at home by default).

Edit: And yes a macro can do the job but you have to define the functionality. Because if you play with the annotation parameter, it will affect all the annotations of the 3D, so you have to be sure that you don't need to do anything other than text for the laser cuts. Then we can probably reconfigure the sketch text functions to " force " the font provided that it exists and is active.

1 Like

Unsure... the error message may be inhibited (see in the list of ignored messages (System Option/Messages/Errors/Warnings/...)
I don't know your computer skills so forgive me if the link below seems " obvious " to you:
https://www.goengineer.com/blog/install-and-troubleshoot-fonts-in-solidworks
(it's that I realized that a lot of people just copy the fonts on their computer without " unlocking " or " Activating/ installing" them...)

2 Likes