Author Topic: Cracking a SheetSet file(.dst) to view and edit values inside/oustide AutoCAD  (Read 50198 times)

0 Members and 1 Guest are viewing this topic.

Keith Brown

  • Swamp Rat
  • Posts: 601
Jeff,


Can you use this information to create a new sheetsheet and add sheets to it?  I am looking at the sheetset api and it appears to me that it involves using COM which my company is not willing to do.
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013

Jeff H

  • Needs a day job
  • Posts: 6144
Technically the answer would be yes, but there are things like incrementing the modified version, the dictionary added in NOD when its  layout is referenced as sheet, etc.... and those are just a few things I have noticed and sure there are many more the sheet set api handle for you. Also I have never looked at how it handles locking in network environment.

Using it to exploit the field parser was my main interest, but I started wrapping some of the sheet set api and still use it today but have not looked at it in while.
You can have what I got if you want it.


Keith Brown

  • Swamp Rat
  • Posts: 601
I sure wouldnt mind using it as a place to start if you are willing to share!   >:D >:D
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013

Jeff H

  • Needs a day job
  • Posts: 6144
Will do sometime this weekend.

I think the main command I still use from that is one creates a excel file with all the standard and custom properties for a sheet set, then you can edit it and push changes back in it.


Keith Brown

  • Swamp Rat
  • Posts: 601
Thanks Jeff.
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
All I Have to say is ...... "DUDE! WHERES MY CAR?!" That is like WOW. Just thinking about this... how you could possibly link or send information into the sheetset you may have in excel or such... Way AWESOME. Nice Job!
Civil3D 2020

Jeff H

  • Needs a day job
  • Posts: 6144
You will probably have update reference location cause would of been to much to send.
Look in commands for SheetSetExcelEdit or something similar.

You can add closedXML through nuget
« Last Edit: June 29, 2015, 09:50:19 AM by Jeff H »

Keith Brown

  • Swamp Rat
  • Posts: 601
Thanks again for sharing Jeff.
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013

Jeff H

  • Needs a day job
  • Posts: 6144
No problems,

Don't spend much time trying to get it working, let me know if it isn't and I let you know what I missed or include what is missing.


mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
How do you get this to run/or load?

Downloaded, extracted..but doesn't seem to run?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

Jeff H

  • Needs a day job
  • Posts: 6144
That last attachment a couple of post ago is a library and you can not run anything in it.

Are talking about the little thing that converts them to xml from this post?
https://www.theswamp.org/index.php?topic=46497.msg516086#msg516086

If thats the one then after extracting
  • put .dst files you want converted in ..\AcSmViewer\bin\4.0\Debug\Files\SheetSetFiles\ folder
  • Run ..\AcSmViewer\bin\4.0\Debug\AcSmViewer.exe
  • Right click on dst files to create xml files
Xml files will be in ..\AcSmViewer\bin\4.0\Debug\Files\XmlFiles\ folder

ChrisCarlson

  • Guest
I'm curious how this works

http://jtbworld.com/ssmpropeditor

Pretty much cracks the .dst wide open for editing.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
I'm curious how this works

http://jtbworld.com/ssmpropeditor

Pretty much cracks the .dst wide open for editing.

I don't know that I need that enough to pay %50 for it...just that I have an instance where someone renamed one or two
files from which sheets are taken, effectively breaking the sheet set.  And I don't want to go in a circle of renaming the file, only to have it's name changed again, merry go round.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
That last attachment a couple of post ago is a library and you can not run anything in it.

Are talking about the little thing that converts them to xml from this post?
https://www.theswamp.org/index.php?topic=46497.msg516086#msg516086

If thats the one then after extracting
  • put .dst files you want converted in ..\AcSmViewer\bin\4.0\Debug\Files\SheetSetFiles\ folder
  • Run ..\AcSmViewer\bin\4.0\Debug\AcSmViewer.exe
  • Right click on dst files to create xml files
Xml files will be in ..\AcSmViewer\bin\4.0\Debug\Files\XmlFiles\ folder
Thanks Jeff!
Be your Best


Michael Farrell
http://primeservicesglobal.com/

ChrisCarlson

  • Guest
I'm curious how this works

http://jtbworld.com/ssmpropeditor

Pretty much cracks the .dst wide open for editing.

I don't know that I need that enough to pay %50 for it...just that I have an instance where someone renamed one or two
files from which sheets are taken, effectively breaking the sheet set.  And I don't want to go in a circle of renaming the file, only to have it's name changed again, merry go round.

My issue is that the SSM within AutoCAD is dreadfully slow, but based on this program is do-able to fully separate the sheet set file from the SSM (and even possible to do advanced-ish things like total sheet count).