i want to insert a QR-code specific to the drawing.
imagine any general dwg file, i want to generate a QR-code specific to this file and insert into any corner so it can be readable in the future digitally. (similar to the functionality by Autocad QR-code add-on and camstudio ImageConvert plugin)
The QR Code is basically another form of a hyperlink. So long as the file location you want to reference is accessible that way you should be able to use a QR generator. I just tried it, but had to make a shortcut of a file and then grab the target of the shortcut to get the whole file address. It did generate a valid code (using QR Code Generator - Create QR codes here ). The target would have all the information necessary so if you just changed the filename for other files in the same directory it would be easy enough to generate the correct path to feed into the code generator.
So, it seems like in addition to the filename showing on the drawing you want to provide a hotlink to it. That's interesting. The most I've seen is a full path and filename shown on a drawing. By the same token, you could provide a QR code for the eDrawing associated with the drawing as well. Very interesting indeed.
Hi Vikrant,
I'm looking to do this too, I ask that you post the answer here yourself if you manage to do so. I will post if I come across something too.
Thanks,
Sudarsan
Hi Deepak,
Thanks for the suggestion, but my boss prefers not to depend upon an external service for this, as he wants to implement this in the long run. However, if you know of some open source code in VBA or VB.NET or C# that I can use to code a macro that would be great.
Barcodes would work too.
Thanks
Alright, even I struggled finding something. Eventually, I found this piece of open source code that essentially is a URL image grabbing code which uses Google's online API QR Code service. The code says that it is in VB.NET, but is listed in the asp forums.
Deepak, can you tell me how to create a new macro using VB.NET in SolidWorks?
http://stackoverflow.com/questions/10370535/integrating-a-qrcode-library-in-vb-net
Alright, even I struggled finding something. Eventually, I found this piece of open source code that essentially is a URL image grabbing code which uses Google's online API QR Code service. The code says that it is in VB.NET, but is listed in the asp forums.
Deepak, can you tell me how to create a new macro using VB.NET in SolidWorks?
http://stackoverflow.com/questions/10370535/integrating-a-qrcode-library-in-vb-net
You would need Visual Studio for making the program. You can download the Express version which is free.
Here is link to How to generate QR Code in vb net Again this would generate the QR code in form of a picture and not sketch.
Is the information Specific to the Part which is in the drawing or the drawing template, do you have any pictures?