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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Set default text linespace

dgrha
5-Regular Member

Set default text linespace

I'm trying to set a default text linespace in Annotation (19.0) but it doesn't work the way I try to configure the value. I use the following textstyle configuration. I can change Font and Color but the Linespace does not change.

 

(oli:sd-set-setting-values
  :application "Annotation"
  :style-path "Annotation/General/TextStyle"
  :style :STANDARD
  :title "Standard"
  :values '("Font" "arial"
		   "Color" 16776960
		   "Linespace" 1.3
		    )
)

 Should this be working this way or should linespacing be set somewhere else?

1 ACCEPTED SOLUTION

Accepted Solutions
FriedhelmK
17-Peridot
(To:dgrha)

Hi,

Is your question still up to date or have you found a solution in the meantime?

Unfortunately, I currently only had the German user interface available.

That's how I would do it.

FriedhelmK_0-1668054869342.png

Then you should also look here before and after the adaptation.

Here the adjustments are saved if you have not changed your "User Customization Directory".

C:\Users\"Your Name"\AppData\Roaming\PTC\Creo Elements Direct Modeling "+What ever"\ANNOTATION\Default_Settings

FriedhelmK_1-1668055289218.png

I wish you a nice day

(Please write info in your Signature) Sysinfo: I use Creo Elements Direct /Drafting, /Modeling and /Modeling Express 8.0 ( formerly CoCreate- SolidDesigner and Drafting or ME10 )

View solution in original post

3 REPLIES 3
FriedhelmK
17-Peridot
(To:dgrha)

Hi,

Is your question still up to date or have you found a solution in the meantime?

Unfortunately, I currently only had the German user interface available.

That's how I would do it.

FriedhelmK_0-1668054869342.png

Then you should also look here before and after the adaptation.

Here the adjustments are saved if you have not changed your "User Customization Directory".

C:\Users\"Your Name"\AppData\Roaming\PTC\Creo Elements Direct Modeling "+What ever"\ANNOTATION\Default_Settings

FriedhelmK_1-1668055289218.png

I wish you a nice day

(Please write info in your Signature) Sysinfo: I use Creo Elements Direct /Drafting, /Modeling and /Modeling Express 8.0 ( formerly CoCreate- SolidDesigner and Drafting or ME10 )
dgrha
5-Regular Member
(To:FriedhelmK)

Hi, my question was already answered.  The problem was a small typo. The "S" in LineSpace should be a capital letter. I appreciate your reply though.

FriedhelmK
17-Peridot
(To:dgrha)

Another remark about the order of changes.
Either
You make changes in modeling/annotation while it is running, then the changes are saved in the files when closing the program.
or
You make the changes in the files before you start the program. The files are only read at the start.

If you change the files while the program is running, nothing happens in the program.
Worse, when stopping the program, your changes in the files will be overwritten .

(Please write info in your Signature) Sysinfo: I use Creo Elements Direct /Drafting, /Modeling and /Modeling Express 8.0 ( formerly CoCreate- SolidDesigner and Drafting or ME10 )
Top Tags