Author Topic: Read only ACAD files  (Read 10032 times)

0 Members and 1 Guest are viewing this topic.

danny

  • Guest
Read only ACAD files
« on: October 15, 2004, 09:43:50 PM »
I'm wondering if anyone knows or have seen autocad files where the ojects and lines are embbedded in the file, read only?  A file where it is not possible to manipulate the drawing, besides turning layers on and off and drawing over layout.  The reason I'm asking is because I'm working on a very large retail project where my firm is doing the overall shell of the retail spaces and each tenant will higher their own architect to layout their spaces.  We would like to have our main file read only so other architects cannot manipulate our drawings.  Can DWF's be brought back into AutoCAD?  We don't want to use images because it requires having to insert them at the correct scale. :?

Mahalo,

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Read only ACAD files
« Reply #1 on: October 15, 2004, 10:02:40 PM »
DWF files can be reverse engineered, search these forums for DWF.

http://www.cadlock.com might be more what you're looking for.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

danny

  • Guest
Read only ACAD files
« Reply #2 on: October 15, 2004, 10:14:23 PM »
thanks MP... :)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Read only ACAD files
« Reply #3 on: October 15, 2004, 10:16:29 PM »
:)

(posted from Sage).
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Read only ACAD files
« Reply #4 on: October 15, 2004, 11:07:54 PM »
I use a neat little trick that without a program the user cannot explode the drawing .... I do this .....

Create an anonymous block of the entire drawing, scale it to a wierd scale, mirror it so it has a negative scale in the X or y plane create a new anonymous block of the mirrored scaled anonymous block and minsert it with row spacing of 0 and column spacing of 0.....then scale the block down the original scale....

It seems like alot to do, but it really chucks a wobbly if the user tries to explode or insert the original anonymous block....
I am not sure about 2004+ but in most 2000 & 2002 installations if you try to explode an anonymous block that has an anonymous block with a negative scale, it will cause AutoCAD to lock up...
Not pretty but effective....
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Read only ACAD files
« Reply #5 on: October 15, 2004, 11:16:59 PM »
I've done the minsert thing just as you've noted but never thought of using an anonymous block with those calisthenics. :)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

hyposmurf

  • Guest
Read only ACAD files
« Reply #6 on: October 16, 2004, 06:19:50 AM »
Someone's going to get a few grey hairs trying to explode a block like that :twisted:

CADaver

  • Guest
Read only ACAD files
« Reply #7 on: October 16, 2004, 08:02:05 AM »
Sounds like somebody here needs to write something that'll do all that.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Read only ACAD files
« Reply #8 on: October 16, 2004, 08:16:18 AM »
I would be extremely surprised to hear Keith does that by hand every time.

In our work such a program would have to mindful of xrefs, custom objects, clipping planes, multiple viewports etc. ... "normalizing" these issues (let's call that flattening) would have to be performed first. Once flattened the drawing could then be, let's see, let's call it obfuscated.

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

CADaver

  • Guest
Read only ACAD files
« Reply #9 on: October 16, 2004, 09:00:41 AM »
Quote from: MP
I would be extremely surprised to hear Keith does that by hand every time.
So would I, that was a hint to share  :wink:

Quote from: MP
In our work such a program would have to mindful of xrefs, custom objects, clipping planes, multiple viewports etc. ... "normalizing" these issues (let's call that flattening) would have to be performed first. Once flattened the drawing could then be, let's see, let's call it obfuscated.
:)
We rely so heavily on very large XREF's I don't see us using it that much for the bulk of our clients.  But we have a couple that ... let's say ... are candidates for "punitive" engineering, if you know what I mean.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Read only ACAD files
« Reply #10 on: October 16, 2004, 09:12:42 AM »
Quote from: CADaverous one
That was a hint to share

And I was acknowledging it. ;)

Quote from: CADaverous one
We rely so heavily on very large XREF's I don't see us using it that much for the bulk of our clients.  But we have a couple that ... let's say ... are candidates for "punitive" engineering, if you know what I mean.

One thing you can do is perform a WMFout*  from an existing drawing and then do a WMFin in a blank one (or blow the contents of the existing one away first); *poof*, instant punishment.

* For each viewport.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

CADaver

  • Guest
Read only ACAD files
« Reply #11 on: October 16, 2004, 10:12:42 AM »
Quote from: MP
Quote from: CADaverous one
That was a hint to share

And I was acknowledging it. ;)

Quote from: CADaverous one
We rely so heavily on very large XREF's I don't see us using it that much for the bulk of our clients.  But we have a couple that ... let's say ... are candidates for "punitive" engineering, if you know what I mean.

One thing you can do is perform a WMFout*  from an existing drawing and then do a WMFin in a blank one (or blow the contents of the existing one away first); *poof*, instant punishment.

* For each viewport.
That'd work.  One of our IT whiz-kids ported up an old binary plotter driver, so what we do now is plot to the binary in color, then import the raster image into an empty drawing, run a raster-vector routine, and purge.  You wind up with everything on layer 0 with a color and everything a vector including text and dims.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Read only ACAD files
« Reply #12 on: October 16, 2004, 10:39:15 AM »
Indeed.

I used to do a very similar thing with dxb. I wrote two programs: one orchestrated a dxb plot of each viewport (hidden lines removed), layer by layer (this way layering was retained), then did a dxb import on optimized dxb files. The second app was the one that optimized the dxb files in the background. While the dxb format supports polylines, AutoCAD writes everything as individual line segments. For example a circle might be represented by 72 line segments. My optimizer would find those 72 contiguous elements and convert them into a polyline. It was fun, because Autodesk's own published dxf format documentation is incorrect (tho it's real close); I had to crack the format with a hex editor.

I did a very similar thing using wmf, and incidentally, showed both programs to Autodesk representatives who came a visiting my office (they used to do this about once a year or so). About a year later they came out with an express tools flatten based on .. wmf. Coincidence? S-u-r-e. Credits? R-i-g-h-t.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

CADaver

  • Guest
Read only ACAD files
« Reply #13 on: October 16, 2004, 11:02:44 AM »
Quote from: MP
layer by layer (this way layering was retained),
...
For example a circle might be represented by 72 line segments.
...
That would be the "punitive" part as far as I'm concerned.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Read only ACAD files
« Reply #14 on: October 16, 2004, 11:24:54 AM »
Indeed. Mine processed text | attribs separately (i.e. retained as text), but it sounds like you prefer the full lobotomy ('course, that makes sense given the original post). :)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst