Quantcast
Channel: PTC Community : Unanswered Discussions - Creo
Viewing all articles
Browse latest Browse all 8685

Modify Font Type of Drawing Note

$
0
0

Hi everyone,

 

I have one drawing where I need to modify the Font for all notes. I have tried using C++ toolkit but some how the note's font are not updating with my desired one.

 

I checked two options:

 

1. I changed it manually and get the Font name using toolkit that runs successful (I tried this just to make sure that my code runs fine)

 

2. I visited all the drawing notes using C++ Toolkit, and when I am changing the Font it is not reflecting in the drawing. I want to change existing Font name to "CG Times Bold" and for that I am passing "cgtimebd". This value I got from the 1st step. (Where I changed the font name manually and get the exact name in code). Anyway I tried both but it is not reflecting in drawing.

 

To modify the Font, I am using ProDtlnotetextFontSet api. After setting the font set, there is no further statements in the function that executes further.

 

 

Thanks in advance.

 

Regards,

Dhimant


Viewing all articles
Browse latest Browse all 8685


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>