I am working on an on-demand part number generation and this is what i got as a useful link: http://extensiblecad.com/words/2007/11/20/pdmwe-api-201-a-simple-addin-to-pull-document-numbers-on-demand/
The problem which I am facing is my data card does not call the addin. I have used the command type : Run Add-in and mentioned the name of Add-in.
Also in Add-in how can i create a variable which would first take the value of a serial number and then assign it to a part number data card.
Do i Need to have a run-time variable. If yes, how to transfer the value of run-time variable to the other variable.
If there is a better method, please let me know.