[SOLVED] Switch between Dotted Line and Line

A forum dedicated to George scripting questions
Post Reply
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

[SOLVED] Switch between Dotted Line and Line

Post by schwarzgrau »

I created a very simple brush, which uses the dotted line instead of the normal, continuous line. Unfortunately I can't save it this way, cause I can't find the command for the dotted line, if there is one.
Last edited by schwarzgrau on 14 Oct 2014, 13:03, edited 1 time in total.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Switch between Dotted Line and Line

Post by Mads Juul »

This code should set the Current Shape to the Dotted Line

Code: Select all

tv_setActiveShape Dot

You can See the name of the Current shape with this code

Code: Select all

tv_getActiveShape
tv_warn result
Is this what you meant?
-Mads
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: Switch between Dotted Line and Line

Post by schwarzgrau »

Exactly, thank you Mads.
My only problem is that I guess, I need to set all other brushes I need to use to

Code: Select all

tv_setActiveShape Stroke
Last edited by schwarzgrau on 26 Jun 2014, 15:45, edited 1 time in total.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Switch between Dotted Line and Line

Post by Mads Juul »

schwarzgrau wrote: My only problem is that I guess, I need to set all other brushes I need to use to
Actually I always thought that it would be better if the Shape(freehand,Dotted,filledline,... etc) also was Grapped when We grap A tool in a Custom Brush
I think it should be an Option.
Maybe a feature Request?
-Mads
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Switch between Dotted Line and Line

Post by Elodie »

Mads Juul wrote:Maybe a feature Request?
Why not, it looks interesting. I'll talk with developers tomorrow to see if such an action could be possible.
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: Switch between Dotted Line and Line

Post by schwarzgrau »

I guess the dotted line isn't used that much, but it would be great if you could integrate it in a custom brush. so +1
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Switch between Dotted Line and Line

Post by Elodie »

Actually I always thought that it would be better if the Shape(freehand,Dotted,filledline,... etc) also was Grapped when We grap A tool in a Custom Brush
I think it should be an Option.
Ok, looks possible to add.

-> to do listed
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: Switch between Dotted Line and Line

Post by ZigOtto »

Mads Juul wrote:...
Actually I always thought that it would be better if the Shape(freehand,Dotted,filledline,... etc) also was Grapped when We grap A tool in a Custom Brush
I think it should be an Option.
Maybe a feature Request?
-Mads
+1 as an option
8)
Post Reply