Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gtol.sym 1

Status
Not open for further replies.

macduff

Mechanical
Dec 7, 2003
1,255
Good Morning,
There is a file I would like to modify in the following directory:
C:\Program Files\SolidWorks Corp\SolidWorks\lang\english\Gtol.sym

I would to copy the follow section for modification:
Square Flag Notes Numbers (aka Flag Squ 1-99)
I want to modify the values defining the geometry as the square into a diamond shape for numbers 1-99. Question; has anyone done this, and can you post the values for me? See attached

Example:
*1,Square 1
A,LINE 0.,-0.3,1.6,-0.3
A,LINE 1.6,-0.3,1.6,1.3
A,LINE 1.6,1.3,0.,1.3
A,LINE 0.,1.3,0.,-0.3
A,TEXT .8,.5,1

Please note: I know you can do this by adding a diamond boarder around the text and using character fit. I need to add this option to the “Add Symbol” under the “Note” function. My goal is to use this in our mechanical drawing notes.

Thank you for your time,


Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 Windows 7 Pro (64-bit)
Xeon CPU 2.53 GHz 6.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer
 
Replies continue below

Recommended for you

Big MAC I saw this a bit ago <T#-1> for diamond - C for circle - and S for square. I have used this in notes, would assume will work where you want it to.
 
Art, <T#-1> for a triangle, but thanks.

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 Windows 7 Pro (64-bit)
Xeon CPU 2.53 GHz 6.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer
 
FYI, I just tried <D#-1> D=diamond for the hell of it and nothing worked

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 Windows 7 Pro (64-bit)
Xeon CPU 2.53 GHz 6.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer
 
Colin,

The <D#-1> didn't do anything because the cooridinate code needs to exist in the GTOL.SYM file with a tag to use it.

May I ask, why do you need this? If borders where applicable to dimensions annotations, would that satisfy your end goal?

Matt Lorono, CSWP
Product Definition Specialist, DS SolidWorks Corp
Personal sites:
Lorono's SolidWorks Resources & SolidWorks Legion
 
Matt,
To use with our mech drawing notes. using separate text with a diamond boarder does not work because you cannot make it part of the drawing notes.

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 Windows 7 Pro (64-bit)
Xeon CPU 2.53 GHz 6.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer
 
Colin -

This should make a diamond with numbers in it:

*1,Diamond 1
A,LINE 0.8,-0.63,1.93,0.5
A,LINE 1.93,0.5,0.8,1.63
A,LINE 0.8,1.63,-0.33,0.5
A,LINE -0.33,0.5,0.8,-0.63
A,TEXT .8,.5,1
*2,Diamond 2
A,LINE 0.8,-0.63,1.93,0.5
A,LINE 1.93,0.5,0.8,1.63
A,LINE 0.8,1.63,-0.33,0.5
A,LINE -0.33,0.5,0.8,-0.63
A,TEXT .8,.5,2
*3,Diamond 3
A,LINE 0.8,-0.63,1.93,0.5
A,LINE 1.93,0.5,0.8,1.63
A,LINE 0.8,1.63,-0.33,0.5
A,LINE -0.33,0.5,0.8,-0.63
A,TEXT .8,.5,3
....etc....

Steve R.
 
Steve,
Thank you very much. I'll check the data in a little bit. I'm on a conference call right now. I'll be back.

Thanks,

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 Windows 7 Pro (64-bit)
Xeon CPU 2.53 GHz 6.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer
 
Here's another version:

;; ---------------------------------------------------------------------------
;;
;; Diamond Flag Notes Numbers
#D#,Flag Dia 1
*1,Diamond 1
A,LINE -0.3,0.5,0.8,1.63
A,LINE 0.8,1.63,1.93,0.5
A,LINE 1.93,0.5,0.8,-0.63
A,LINE 0.8,-0.63,-0.3,0.5
A,TEXT .8,.5,1
;;
;; ---------------------------------------------------------------------------
 
Hi, I'm back. My manager wants to stay with the default Gtol.sym file. Reason being is that if we go to a different SW version we don't have to worry about reloading a custom file. Thank you everyone for your input.

Best,

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 Windows 7 Pro (64-bit)
Xeon CPU 2.53 GHz 6.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer
 
Colin,

You previously mentioned that you cannot make a border within the drawing notes. Actually, you can. Just highlight the individual text number or letter that you want the diamond to be around, then use the Border function in the PropertyManager to add the border to it. This can even be done for the autonumbers of the notes.

Matt Lorono, CSWP
Product Definition Specialist, DS SolidWorks Corp
Personal sites:
Lorono's SolidWorks Resources & SolidWorks Legion
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor