Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bind the dwgs

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
tdkhtr
786 Views, 7 Replies

Bind the dwgs

Hi...Dear members

 

Can anybody please help me to make a lisp for eTransmit to bind the dwgs,

currently am using this by manually if i get a lisp file for this i can call the lisp via autoscript

my requirements are

*eTransmit setup name - STANDARD,

*binded dwgs need to save separate folder (folder name)  - C /  DWG

*binded dwgs name and folder name should be the same as original dwgs name and folder ( my original dwg are in separate folders like .. ELECTRICAL ,   STRUCTURAL, ARCHITECTURAL etc...) 

 

*and transmittal package type ( folder set of files) not zip file

am attaching an image of my transmittal setup page 

 

Thanks

7 REPLIES 7
Message 2 of 8
hmsilva
in reply to: tdkhtr

Hi tdkhtr,

 

using 'etransmit' command via AutoLISP, we can not do much more than use the command line version.

If your settings are stored at the 'Standard' setup, perhaps something like this

(command "_.-ETRANSMIT" "_CH" "Standard" "_C")

 

Henrique

EESignature

Message 3 of 8
tdkhtr
in reply to: hmsilva

Hi Hmsilva
Thanks for ur reply
yes this is OK for me
but how can avoid PlotCfgs folder
when am doing with more than one dwg
1st file is ok then 2 nd file it is asking
for Overwrite file
so i change the code
(command "_qsave" "_.-ETRANSMIT" "_CH" "Standard" "_C" "_all")
now the problem for 1st file (bcoz when "_all" command is running it is stuck on there )
so am looking for avoid PlotCfgs folder

Thanks

Message 4 of 8
hmsilva
in reply to: tdkhtr

You're welcome, tdkhtr.

 

Untested...

 

(defun c:demo ()
  (command "_qsave" "_.-ETRANSMIT" "_CH" "Standard" "_C")
  (while (> (getvar 'cmdactive) 0)
  (command "_All")
  )
  (princ)
)

 

Henrique

EESignature

Message 5 of 8
tdkhtr
in reply to: hmsilva

Dear Hmsilva...
Thanks a lot...
This is what i really need..

Thanks...
Message 6 of 8
hmsilva
in reply to: tdkhtr

You're welcome, tdkhtr
Glad I could help

Henrique

EESignature

Message 7 of 8
tdkhtr
in reply to: tdkhtr

Hi...

When i run this lisp sometime error message displaying (shown below)

Command: demo
_qsave
Command: _.-ETRANSMIT
Updating fields...
Enter an option [Create transmittal package/Report only/CUrrent setup/CHoose
setup] <Report only>: _CH
Choose Transmittal Setup or [?] <Standard>:Standard Enter an option [Create
transmittal package/Report only/CUrrent setup/CHoose setup] <Report only>: _C
Gathering files ...

Transmittal created: C:\DWG.
Command: _All Unknown command "ALL". Press F1 for help.


looking any help to solve this
Thanks..
Message 8 of 8
hmsilva
in reply to: tdkhtr


@tdkhtr wrote:
Command: demo
_qsave
Command: _.-ETRANSMIT
Updating fields...
Enter an option [Create transmittal package/Report only/CUrrent setup/CHoose
setup] <Report only>: _CH
Choose Transmittal Setup or [?] <Standard>:Standard Enter an option [Create
transmittal package/Report only/CUrrent setup/CHoose setup] <Report only>: _C
Gathering files ...
Transmittal created: C:\DWG.
Command: _All Unknown command "ALL". Press F1 for help.


Hi tdkhtr,

unfortunately I can't reproduce this behavior running the code...

 

Henrique

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost