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

Publish & dsd file

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
1596 Views, 5 Replies

Publish & dsd file

I am trying to write a script file using -Publish however first I need to
make a *.dsd file first. I have attempted something but there are several
problems with it.
1) the first problem is that a dsd is not always created and I'm not really
sure why?
2) I would like to go through all the tabs selected and write line the
details to the dsd file. I can do one but how can you write to the file when
you have more than 1 tab selected? I could do it with "if" statements but
then my program would be huge.
3) After I have created the dsd file I have tried to run the script using
the dsd file I have just made, but that also bombs out. Why?
I would be grateful if someone could please look at my code
many thanks
cheers Russ
attached is my lisp
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

okay I have solved problem 1- it works and creates a dsd and a dwf with only
one dwg. The question now is how can I add more write lines when there are
other dwgs to select?
At the moment you will see 6 lines - they represent one dwg. How
can I add more write lines that relate to the tabs picked? I can use the
line (setq layouts_to_plot (dos_multilist "Create Multi-sheet DWF file"
"Select drawings" (layoutlist)))
to create my list of dwgs (which is commented out) I want to turn into a
multi sheet dwf.
thanks if anyone can solve my problem
attached is my updated lisp
Message 3 of 6
Anonymous
in reply to: Anonymous

Okay I have fixed the problem
Russ
Message 4 of 6
Anonymous
in reply to: Anonymous

I was interested on how you got that to work. We are trying to automate the publish command and load a .dsd file. Do you know if you can make a scheduled task to run that every week? Any ideas would be great. Thanks for your help.
Message 5 of 6
Anonymous
in reply to: Anonymous

Yes, please if anyone has info on how to publish multiple multi-sheet dwg to dwf, please tell, It would save so much time. maybe even batch publishing lsp or multi alias. please help
Message 6 of 6
drudder
in reply to: Anonymous

I think if you set the Target Type to 2 after the last drawing entry - that ends up spitting out a multisheet dwf typ...

Like:
[Target]
Type=2

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

Post to forums  

Autodesk Design & Make Report

”Boost