Discussion:
Adding or modifying the symbol library!!!!!!
(too old to reply)
tony
2004-04-05 18:08:26 UTC
Permalink
Does anyone know how to add or create your own sybols or create a
symbol library? I need to add some corpate symbols and can't find a
way. Please Help!!
Stefan Berlitz
2004-04-05 19:51:02 UTC
Permalink
Post by tony
Does anyone know how to add or create your own sybols or create a
symbol library? I need to add some corpate symbols and can't find a
way. Please Help!!
You have to edit the file gtol.sym in sw-inst]\lang\english

This is an ASCII file which can be edited. In the file you
find a brief descrption of the parameters you should use.
I have a (german) page at http://solidworks.cad.de/kh_gtol.htm
which shows how to do this and some examples for symbols
we use in our company.

HTH,
Stefan

--

unofficial german SolidWorks helpsite
http://solidworks.cad.de
tools and programs for SolidWorks
http://swtools.cad.de
TheTick
2004-04-06 12:56:28 UTC
Permalink
Keep in mind that whoever else reads the drawing needs to have the
same symbol library installed.

One other thing to check out is the character map in Windows. There
are some symbols that come in handy there. Some have key shortcuts:
[alt]0216 Ø
[alt]0149 •
[alt]0177 ±
[alt]0176 °
[alt]0178 x²
[alt]0179 x³
[alt]250 ·
Post by Stefan Berlitz
Post by tony
Does anyone know how to add or create your own sybols or create a
symbol library? I need to add some corpate symbols and can't find a
way. Please Help!!
You have to edit the file gtol.sym in sw-inst]\lang\english
This is an ASCII file which can be edited. In the file you
find a brief descrption of the parameters you should use.
I have a (german) page at http://solidworks.cad.de/kh_gtol.htm
which shows how to do this and some examples for symbols
we use in our company.
HTH,
Stefan
Dale Dunn
2004-04-06 14:12:31 UTC
Permalink
Post by TheTick
[alt]0216 Ø
[alt]0149 •
[alt]0177 ±
[alt]0176 °
[alt]0178 x²
[alt]0179 x³
[alt]250 ·
That's worth taping to the monitor!
Corey Scheich
2004-04-06 14:38:00 UTC
Permalink
I had been trying to figure out what the code was for Ø was I didn't know
the 0 infront of it made a difference in what you got. I had tried all the
3 digit ones from 1 to 256.
Post by Dale Dunn
Post by TheTick
[alt]0216 Ø
[alt]0149 .
[alt]0177 ±
[alt]0176 °
[alt]0178 x²
[alt]0179 x³
[alt]250 ·
That's worth taping to the monitor!
Markus Wankus
2004-04-06 23:23:29 UTC
Permalink
Note that this is specific to the Century Gothic font (the default for
SW notes, etc.), and the symbol actually doesn't look the same as the SW
diameter symbol.

Their symbol code-names (i.e. <MOD-DIAM>, <MOD-CL>, etc.) do not seem to
be documented anywhere - but if you know the symbol name you can still
type it into notes as well (if you didn't already know that) and it will
transform into the proper symbol.

If you have Character Map installed with Windows
(Programs...Accessories...System Tools, on WinXP), fire it up and select
the SWGDT font. You can see all the GDT symbols there and you can cut
and paste them that way if you *really* need them - BUT you have to
specify the font as SWGDT in Solidworks...so this is kind of useless....

Interesting...I'm going to see if I can find out how they map the symbol
names to SWGDT font codes. They must be changing the font of individual
characters in the note to implement their symbols...hmmm....

Markus
Post by Corey Scheich
I had been trying to figure out what the code was for Ø was I didn't know
the 0 infront of it made a difference in what you got. I had tried all the
3 digit ones from 1 to 256.
Post by Dale Dunn
Post by TheTick
[alt]0216 Ø
[alt]0149 .
[alt]0177 ±
[alt]0176 °
[alt]0178 x²
[alt]0179 x³
[alt]250 ·
That's worth taping to the monitor!
Markus Wankus
2004-04-06 23:49:07 UTC
Permalink
OK - I wrote a quick Python script to parse the Gtol.sym file...I'll
post a new thread with the results.

Markus
Post by Markus Wankus
Note that this is specific to the Century Gothic font (the default for
SW notes, etc.), and the symbol actually doesn't look the same as the SW
diameter symbol.
Their symbol code-names (i.e. <MOD-DIAM>, <MOD-CL>, etc.) do not seem to
be documented anywhere - but if you know the symbol name you can still
type it into notes as well (if you didn't already know that) and it will
transform into the proper symbol.
If you have Character Map installed with Windows
(Programs...Accessories...System Tools, on WinXP), fire it up and select
the SWGDT font. You can see all the GDT symbols there and you can cut
and paste them that way if you *really* need them - BUT you have to
specify the font as SWGDT in Solidworks...so this is kind of useless....
Interesting...I'm going to see if I can find out how they map the symbol
names to SWGDT font codes. They must be changing the font of individual
characters in the note to implement their symbols...hmmm....
Markus
Post by Corey Scheich
I had been trying to figure out what the code was for Ø was I didn't know
the 0 infront of it made a difference in what you got. I had tried all the
3 digit ones from 1 to 256.
Post by Dale Dunn
Post by TheTick
[alt]0216 Ø
[alt]0149 .
[alt]0177 ±
[alt]0176 °
[alt]0178 x²
[alt]0179 x³
[alt]250 ·
That's worth taping to the monitor!
Seth Renigar
2004-04-06 18:16:01 UTC
Permalink
I have had a list like this taped to my monitor for years now. It really is
a good idea.

I use a few different combinations as well. Some of them get the same
characters though.

[alt]248 °
[alt]241 ±
[alt]257 ? (smiley)
[alt]258 ? (smiley)
[alt]247 ?
[alt]227 ?
[alt]228 ?
[alt]242 ?
[alt]243 ?
[alt]249 ?
[alt]253 x²
[alt]291 #
[alt]292 $
[alt]293 %
--
Seth Renigar
Emerald Tool and Mold Inc.
(Remove "SpamFree-" from my address)
Post by Dale Dunn
Post by TheTick
[alt]0216 Ø
[alt]0149 .
[alt]0177 ±
[alt]0176 °
[alt]0178 x²
[alt]0179 x³
[alt]250 ·
That's worth taping to the monitor!
TheTick
2004-04-07 01:21:45 UTC
Permalink
Post by Dale Dunn
Post by TheTick
[alt]0216 Ø
[alt]0149 ?
[alt]0177 ±
[alt]0176 °
[alt]0178 x²
[alt]0179 x³
[alt]250 ·
That's worth taping to the monitor!
It is taped to mine! I was typing as I was reading it.
tony
2004-04-07 21:56:09 UTC
Permalink
What if I have a sketched symbol? The symbol that I want to add is not
a Character map item.
Post by Stefan Berlitz
Post by tony
Does anyone know how to add or create your own sybols or create a
symbol library? I need to add some corpate symbols and can't find a
way. Please Help!!
You have to edit the file gtol.sym in sw-inst]\lang\english
This is an ASCII file which can be edited. In the file you
find a brief descrption of the parameters you should use.
I have a (german) page at http://solidworks.cad.de/kh_gtol.htm
which shows how to do this and some examples for symbols
we use in our company.
HTH,
Stefan
matt
2004-04-09 03:45:41 UTC
Permalink
Post by tony
Does anyone know how to add or create your own sybols or create a
symbol library? I need to add some corpate symbols and can't find a
way. Please Help!!
there was a post a few years ago where the now departed Roland Scaleri
posted a symbol of a middle finger salute. This cantankerous old bastard
had too much time on his hands, aparently. The post was called "Fun with
Symbols" and went something like this:

===============================================
You sure can learn a lot of useful things here, which you can apply as
you wish. Here are two more examples of custom symbols. Ken Bosch's
example of how to fiddle with the symbol stuff was so nice, I had to
try it. BOXA is a five sided box with an A in it that you can put
right in a note. "New symbol" is for use on special ocaisions. Use
this at your own risk.

*BOXA, Boxed A
A,LINE 0,0,.7,0
A,LINE .7,0,1,.5
A,LINE 1,.5,.7,1
A,LINE .7,1,0,1
A,LINE 0,1,0,0
A,Text .4,.6,A

*NEWSYM,New Symbol
A,LINE 0,.3,0,.5
A,ARC .1,.5,.1,0,180
A,ARC .3,.5,.1,0,180
A,ARC .5,.9,.1,0,180
A,ARC .7,.5,.1,0,180
A,ARC .9,.5,.1,0,180
A,LINE .2,.3,.2,.5
A,LINE .4,.3,.4,.9
A,LINE .6,.3,.6,.9
A,LINE .8,.3,.8,.5
A,LINE 1,.3,1,.5
A,LINE .3,0,.7,0
A,ARC .3,.3,.3,180,270
A,ARC .7,.3,.3,270,360

Roland "Scary" Scaleri
Cheif Bottle Washer
Brankle Industries
==================================================

Continue reading on narkive:
Loading...