Skip to main content
13-Aquamarine
May 10, 2022
Question

Default annotation text height in flat-to-screen annotations too small

  • May 10, 2022
  • 2 replies
  • 1662 views
I am using Creo Parametric Release 8.0 and Datecode8.0.2.0

In the documentation I read: 'The text height of a flat-to-screen annotation placed in the graphics window is defined in standard screen units and the default text height is set to 3.5 mm.'
How to change this default?
Is this accessible via Toolkit?

    2 replies

    17-Peridot
    May 11, 2022

    Hello,

    It is a good question..For that I would underline some points.

    ___If it about Flat To Screen annotation "unattahed" to the model geometry, these annotation have the text height defined in standard screen units and the default text height is set to 3.5 mm and then the annotations do not spin, pan, or zoom with the model. This is what you read in Help Center : http://support.ptc.com/help//creo/creo_pma/r6.0/usascii/index.html#page/model-based_definition/about_flat_to_screen_annotation_orient.html 

    You need to set Text Heith at the moment you want insert the annotation.

    ___If it is about Flat To Screen annotation "attached" to model geometry, then refer to then use check box "Text Height in Model Units". Refer tot his article : https://www.ptc.com/en/support/article/cs366643 

     

    About Toolkit or Creo Customization tools, I am not certified on this technical area.

     

    13-Aquamarine
    June 13, 2022

    Hello,

    thanks for the reply.

    It is about Flat to screen annotations 'unattached ' to the model. And yes, I want to know how to change the default text height of 3.5mm.

     

    Jan

    21-Topaz I
    June 13, 2022

    Hi @jstothfang

    here is about Creo Toolkit, you can use the function ProAnnotationTextstyleSet().

    remy_0-1655119025290.png

     

    A code example is available with TestSetup.c in pt_examples.

     

    Here is an example used on a dimension: https://www.ptc.com/en/support/article/cs325206

    And similar solution but for a drawing note: https://www.ptc.com/en/support/article/cs360235

    and finally some code to create a FTS note: https://www.ptc.com/en/support/article/cs80810 

     

    Combining all those you'll be able to create a FTS note and set the text height at creation.

     

    If your code still fails, you can file a case, attaching a (minimal) project and we will support you.