how do I change all the line widths and not the color?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
DaleG
Posts: 71
Joined: Tue May 24, 2005 4:55 pm
Location: USA

how do I change all the line widths and not the color?

Post by DaleG »

I have designed a character that is a series of shapes all on one layer. While drawing, I used a high zoomed in view and at that view the character looked very good with line widths of 5. However, when I finished I selected all points and scaled points to fit character into the project, and now the lines are WAY too thick. Is there a way to select all the points and resize them all to a 1 or 2 without changing any of the fill colors? Do I have to select each shape individually and change all the line widths while keeping the original color?

Thanks!
User avatar
Lost Marble
Site Admin
Posts: 2354
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Post by Lost Marble »

You can select all the points and use the Line Width tool. Otherwise, you'll need to go back and modify each line's width setting.

To make the process easier in the future, you can set up a style before you draw anything. Create a new style, and name it "Line Qualities" (or whatever). Next, choose your new style as one of the Applied styles for new shapes. Now go ahead and draw all the lines you want (in any number of layers you want). All of these lines will have the new style applied to them. If you later want to change anything about the lines, just change the style, and all the lines will reflect the changes.
User avatar
Rai López
Posts: 2289
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

:!: Talking about Styles (this must be a silly thing), but... How can I delete it?? When I select one on the list for modificate it (or anything) and go again to the list for Delete, this comand always appers greyed and I don't know how can delete directly (without have to do it Unused) a specific Style... Is this normal? What can I'm doing wrong and... :shock: HOW CAN BE THAT?? (jaja... :roll: ) Well, THANKS (in advance) if you can tell me!!! BYE!
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

AFAIK there is no method of deleting styles that are being used in Moho, however, if you really want to remove it, you can do so with a text editor.

For instance, I created the style black and this is how it was entered in Moho:

Code: Select all

### styles
style
"black"
	true
	[
		keys 1
			0 1 -1 -1 0.4 0.015686 0.015686 1
	]
	true 0.041667
	true
	[
		keys 1
			0 1 -1 -1 0.192157 0.662745 0.337255 1
	]
	""
	false
	6.283185
	0.25
	true
	-1
	-1
	-1
You can see from the indentation what's part of the style black and what's part of the next entry in Moho.

If you reopen the Moho file, you will see that all fills and outlines that used the style black have reverted to their original "styleless" states.

However, I wouldn't recommend doing this kind of trickery with a text editor, because:
1) you can render your Moho file useless (crashing Moho) if you make a mistake
2) a style definition takes up so little space in a Moho file, it isn't really worth the effort deleting
User avatar
Rai López
Posts: 2289
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

Yes, THANK YOU for your instructions Rasheed, I know that we can do anything editing the *.moho file, I use that method in some specific cases (become Switch Layer into Bone Layer (i.e.) (very usefull for me, by tha way)), or other situations that I understand that we can't do directly in Moho... But NOT in this specific case (I think), we'd must can Delete the unwanted Stiles in any case in the same way that we do with Actions, Layers and anything (cause of this I was stranged :? ) ...About another thing, is this a file size problem? NOT, that isn't the mayor problem (for me at least), the problem is basically that you can't order ( :arrow: Feature Request) your Style list in anyway, and is tedious have that move into a LOOONG list of useless/unwanted Styles to find the desired one, only that... BYE!
Post Reply