Hi there,
When AutoCAD files were changed location, for example,
from
C:\Users\mru\Documents\lisp
to
V:\BCH_RDE\STN\0785_CCB 48V Battery\300_CAD\330_WIP
The previous publish DSD file did not work. I find a lisp on the internet; it did not work.
The lisp from the internet is below
(load "dsd")
(dsd "C:\acad\job1\dwgset1.dsd" "c:\acad\job1\dwgset1-1.dsd")
Please see the screenshot below for AutoCAD publish interface,
Could you please help me to figure out this issue? thank you very much in advance. 🙂
Solved! Go to Solution.
Solved by LDShaw. Go to Solution.
I was hoping someone else would get to you. DSD files are not my thing but since no one's answered.
I think your asking to change in the dsd to a new path.(as an example.)
You did not include the lisp your using (load dsd) You then launch dsd with the parameter of "C:\acad\job1\dwgset1.dsd" "c:\acad\job1\dwgset1-1.dsd" I'd need to see what it's trying to do to help you out.
from
[DWF6Sheet:24FF01_ax01-mech-Layout1]
DWG=\\Projects\2024\24FF01 - Ammonia System Upgrade\Cadd\24FF01_ax01-mech.dwg
Layout=Layout1
Setup=DC 30x42 Bond
OriginalSheetPath=\\Projects\2024\24FF01 - Ammonia System Upgrade\Cadd\24FF01_ax01-mech.dwg
to
[DWF6Sheet:24FF01_ax01-mechtest-Layout1]
DWG=c:\dcapps\24FF01_ax01-mechtest.dwg
Layout=Layout1
Setup=DC 30x42 Bond
OriginalSheetPath=\\Projects\2024\24FF01 - Ammonia System Upgrade\Cadd\24FF01_ax01-mech.dwg
Is that it?
If you are looking for a lisp to make the changes that's a bit more. (still possible.)
Hi there,
Sorry to reply to you late. I am looking for a lisp to modify DSD file. Please see the lisp below, that is all I got from the internet,
(load "dsd") (dsd "C:\acad\job1\dwgset1.dsd" "c:\acad\job1\dwgset1-1.dsd") (dsd "C:\acad\job1\dwgset2.dsd" "c:\acad\job1\dwgset2-1.dsd") (dsd "C:\acad\job1\dwgset3.dsd" "c:\acad\job1\dwgset3-1.dsd")
Thank you very much! 🙂
(load "dsd") this may load a LISP file named dsd.lsp into the AutoCAD environment that may define the pathing related to handling DSD files but without but dsk.lsp I can't be sure. I am asking you to supply the file. Baring that post what site you got the lisp from so we can decipher what it's trying to do.
Without that information you'll need to give us a little more insight on what you are trying to do. What steps you are taking to do it by hand. What steps you are missing to do it by hand. Otherwise we are kind of whistling in the wind so to speak.
Hi there,
I need to manually change the path which is highlighted in the drawing location in the PUBLISH interface. Please see the screenshot below, it was attached as well, many thanks.
If that's the case my first answer and Sea-Haven gave you the steps.
Does this clarify it?
Find the dsd file.
Open it in an editor.
Change the lines after [DWF6Sheet:
in my case.
DWG=\\Projects\2024\24FF01 - Ammonia System Upgrade\Cadd\24FF01_ax01-mech.dwg
So this
[DWF6Sheet:24FF01_ax01-mech-Layout1]
DWG=\\Projects\2024\24FF01 - Ammonia System Upgrade\Cadd\24FF01_ax01-mech.dwg
Layout=Layout1
Setup=DC 30x42 Bond
OriginalSheetPath=\\Projects\2024\24FF01 - Ammonia System Upgrade\Cadd\24FF01_ax01-mech.dwg
becomes
[DWF6Sheet:24FF01_ax01-mechtest-Layout1]
DWG=c:\dcapps\24FF01_ax01-mechtest.dwg
Layout=Layout1
Setup=DC 30x42 Bond
OriginalSheetPath=\\Projects\2024\24FF01 - Ammonia System Upgrade\Cadd\24FF01_ax01-mech.dwg
I've moved the dwg from a unc path on the network to my c drive in a folder called dcapps.
Post a SMALL dsd (no more than 3 dwg's in the dsd please) file and I will edit for you. Just tell me the path you want your dwg's to reside in. I will repost it so you can compare them.
On a sidenote I am not sure about the
OriginalSheetPath=
to be safe I'd change that too. (though it worked for me not changing it.)
(Remember I said I am not expert on dsd files.)
Hi there,
DSD file can't be attached here. I have to zip it, sorry for the inconvenience.
The current file's location,
C:\Users\mru\Documents\z delete 13
new location,
V:\BCH RDE\STN\TEST
Could you please advise me how to open or edit DSD files? thanks a lot!
ah it's the opening the dsd file you are having problems with I see.
Depending on the windows version
right click on the DSD file choose edit in NOTEPAD
highlight what you want to FIND
hit control H and type what you want to replace it with.
Here you go. Simple find replace should do you up.
Hi there,
Could you please advise me how to open or edit DSD files? the attachment is the one I sent to you, many thanks!
Sorry I did not read well enough. When I figured out it was the editing you were having problems with I updated my last post but you'd already posted a responce. A little more information your replace will look different than the one I posted. I use notepad ++ not notepad.
This is what I get for editing so fast.
While the name is the same zip the contents have been updated.
It would be fun to try if you wanted to go to an AI with the dsd file and ask it to change the path to V:\BCH RDE\STN\TEST\test 1
My bet is it would do it for you.
Seems to
[DWF6Version]
Ver=1
[DWF6MinorVersion]
MinorVer=1
[DWF6Sheet:805Q-E05-00005-PROD-IMPR]
DWG=V:\BCH RDE\STN\TEST\test 1\805Q-E05-00005.dwg
Layout=PROD-IMPR
Setup=PDF_BW_D_SIZE_FULL_IMP
OriginalSheetPath=V:\BCH RDE\STN\TEST\test 1\805Q-E05-00005.dwg
Has Plot Port=0
Has3DDWF=0
[DWF6Sheet:805Q-E05-00003-PROD-IMPR]
DWG=V:\BCH RDE\STN\TEST\test 1\805Q-E05-00003.dwg
Layout=PROD-IMPR
Setup=PDF_BW_D_SIZE_FULL_IMP
OriginalSheetPath=V:\BCH RDE\STN\TEST\test 1\805Q-E05-00003.dwg
Has Plot Port=0
Has3DDWF=0
[DWF6Sheet:805Q-E05-00004-PROD-IMPR]
DWG=V:\BCH RDE\STN\TEST\test 1\805Q-E05-00004.dwg
Layout=PROD-IMPR
Setup=PDF_BW_D_SIZE_FULL_IMP
OriginalSheetPath=V:\BCH RDE\STN\TEST\test 1\805Q-E05-00004.dwg
Has Plot Port=0
Has3DDWF=0
[Target]
Type=6
DWF=V:\BCH RDE\STN\TEST\805Q-E05-00005.pdf
OUT=V:\BCH RDE\STN\TEST\
PWD=
[MRU Local]
MRU=0
[MRU Sheet List]
MRU=0
[PdfOptions]
IncludeHyperlinks=TRUE
CreateBookmarks=TRUE
CaptureFontsInDrawing=TRUE
ConvertTextToGeometry=FALSE
VectorResolution=1200
RasterResolution=400
[AutoCAD Block Data]
IncludeBlockInfo=0
BlockTmplFilePath=
[SheetSet Properties]
IsSheetSet=FALSE
IsHomogeneous=FALSE
SheetSet Name=
NoOfCopies=1
PlotStampOn=FALSE
ViewFile=FALSE
JobID=0
SelectionSetName=
AcadProfile=BCH-Contractor-C
CategoryName=
LogFilePath=
IncludeLayer=TRUE
LineMerge=FALSE
CurrentPrecision=
PromptForDwfName=TRUE
PwdProtectPublishedDWF=FALSE
PromptForPwd=FALSE
RepublishingMarkups=FALSE
PublishSheetSetMetadata=FALSE
PublishSheetMetadata=FALSE
3DDWFOptions=0 1
You're welcome. Sorry I did not figure out what you needed sooner.
lol you'll get me my next badge if you accept my solution.
Thanks Enough.
Woot woot 25 solutions. MILESTONE
Joking People!! (Well sort of.)
Perhaps in another 35 years I'll be up to 50
what is the difference among the different accepted solution level? which one is better? Could you please advise me which AI platform you use? I tried ChatGPT a few times. but it did not work.
Nothing at all changes with badges I am just a stat junky. Anything that I can stat out I will.
Quickly
AI is not a magic Bullet. It won't do lisp for you.
As for AI's that a whole can of worms by itself.
What's company policy and how much information may you share with AI. Denon Deterding (CodeDing) has a really useful site I use built on chatgpt4. https://chatgpt.com/g/g-Zt0xFNpOH-autolisp-ace
for your result I used Pilot (comes in windows 11 upgrades.) I don't recommend using one to solve the others problems. It's kind of like that old movie Multiplicity. Everytime you enterate it the answer gets dumber and dumber.
Can't find what you're looking for? Ask the community or share your knowledge.