Macro generation code barre 128

Hello

I'm looking for a macro under solidworks  or catia that generates a 128 barcode. The goal is to make the share number appear in the form of a barcode in the drawing, in order to call up cnc programs in production.

Kind regards

1 Like

Hello

Why not create a block with this font that points to the share number property and bring it back as needed in the macro drawings that you will have saved the 1st time you did it manually...

1 Like

Good evening ac cobra,

Thank you for your answer, but it doesn't solve the encoding problem for me.

There is a snippet of code in vb6 on this site:

http://grandzebu.net/informatique/codbar/code128.htm#Version

I think I'll use it in case no one offers me a macro.

Kind regards

 

 

3 Likes

Good evening @ MEVA

A 128 barcode generator and its True Type font. Comes with Visual Basic sources that can be copied into Excel or Word macros

.see this link

http://www.01net.com/telecharger/windows/Bureautique/police/fiches/30086.html

http://domi2.developpez.com/tutoriels/access/codes-barres/

@+ ;-)

 

2 Likes

Here are the fonts for barcodes, you will just have to create the note linked with the property of the share number. Once the note is created, you will use the macro recorder to make the macro to integrate it into the drawing.


code_barre_128.rar
2 Likes