cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Default text style in drawing

AndreasHellmann
3-Visitor

Default text style in drawing

Hello,


does anyone know if it is possible to get information about the current text style set in a drawing?


Background:


User can set the current style via "Format / Current Text Style".


Creating a note via Toolkit I think the note's font and size is taken from the settingsof thedrawing options. Font and size can be controlled when creating a note, but for that I first want to know what the current settings are.


(By the way: I hate 2D...)


🙂


We are on Wildfire 5 M070,


Andreas


__________________________________


Andreas Hellmann
MCAD Services Pro/E & Pro/E customization
Rudolf-Diesel-Str. 6
D-65439 Floersheim / Germany


phone: +49 6145 598296
mail: -


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Andreas,
I don't think you can access those properties for the whole drawing but
you can definitely get them for an individual note. ProDtlnoteDataGet()
and subsequent ProDtlnotedata*() APIs can retrieve this information.
Otherwise you might want to check in to config.pro options. Lastly you
could read the file identified by the drawing_setup_file config.pro option
but that effort is not supported by Pro/TOOLKIT. To change those
properties use another setup file and call ProInputFileRead().

PATRICK S WILLIAMS
Information Technology
Mechanical Engr Solutions
Missile Systems
Raytheon Company

+1 520.545.6995 (office)
+1 520.446.0244 (pager)
+1 520.545.6399 (fax)
-

6221 S Palo Verde Rd
Tucson, AZ 85706-5093 USA
www.raytheon.com

Follow Raytheon On




This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this
message in error, please so advise the sender by reply e-mail and delete
this message. Thank you for your cooperation.


Top Tags