You can duplicate the functionality with lisp and/or vba, but it wouldn't be prudent to reinvent the wheel ...
Well... yes and no... I need everyone to do it the same way, and some of the folks here just can't seem to grasp the concept of creating a transmittal. These are the same people that surprise me everyday when they show up at work NOT wearing a helmet.
It isn't rocket science, unless you want to do something that is different than what etransmit does. If you want the same functionality as etransmit, just use etransmit and put it in a lisp and/or on a button with all of the arguments provided.
you can call etransmit from lisp with
(command "_etransmit")
Of course you will need to supply all of the associated variables with it to make it seamless.
But the only options you have are....
Command: -ETRANSMIT
Updating fields...
Enter an option [Create transmittal package/Report only/CUrrent setup/CHoose setup] <Report only>:
There's nothing there to actually create the report, so how would you go about doing it with lisp??
Well, there it is right there ...
[Create transmittal package/Report only/CUrrent setup/CHoose setup]
C = create transmittal package : you need to ensure the drawing is saved and you have supplied the name of the zip file. The zip will contain all of the req'd files as well as a report
R = Report only : You will generate a report, but not create the transmittal
CU = The current setup defined, most typically "Standard"
CH = Choose setup : You can create new rules and save them as a new setup, then by using this option, you can select that setup and your transmittal will be created using those rules.
I still don't understand why this won't work ... of course you will need to save the drawing first
(command "_etransmit" "C" (vl-filename-base (getvar "dwgname")))