It works OK for me.
Did you comply with the requirements in the Readme.txt file?
By default, the part number generator.txt file should be placed on the root of your c: drive. If you wish to share this over the network, please map the network drive and edit the pathToTextFile property in the .swp file to point to the network share. The part number generator.swp file can be placed in a location of your choosing.
- Add references to the solidworks[version] type library(should be checked by default), the microsoft scripting runtime library(scrrun.dll), and
solidworks[version] commands type library(swcommands.tlb)
my mistake, thanks a lot!!
My solid works 2016 gives an error message with part generator: Visual Basic; Runtime-error '70'. Access denied.
What to do, need help!!!
My geneator is working fin on win7 64 bit SWX 2015
GetDataFromTxtFile --> pathToTextFile must be set to the text file
edit this to match your text file location.
'customProperty = "dwgNo" ' this is the property that data will be written to
'customProperty = "serialNo" ' this is the property that data will be written to
'customProperty = "partNo" ' this is the property that data will be written to
'make sure the microsoft scripting runtime library is available