Recent Posts

Pages: [1] 2 3 ... 10
1
Here is how we fix problematic drawings:
  • Open with RecoverAll
  • Audit & Purge
  • Wblock the drawing using a window to select objects. NOTE: It is extremely important to not use a crossing window, type All or use "Entire Drawing", as these can all bring the errors over. If you have multiple layout tabs, you will need to wblock them out to separate CAD files and merge them back together.
  • Open each drawing and audit and purge again
  • Merge drawings back together as needed
  • Use the code posted earlier in this thread to remove anonymous groups
  • Use the overkill command to remove any overlapping linework
  • Remove any unused annotation scale lists
  • Audit & Purge again
NOTE: About purging, make sure that you purge Regapps as well, this can only be done with the -purge command or a LISP routine setup to do this.

Yes, this is an annoyingly long list, but this works 99.99% of the time and you will end up with a good drawing that doesn't slow everything down.
very often it is just DGN problem.
http://www.theswamp.org/index.php?topic=42110.msg472514#msg472514
k.
2
.NET / Re: AU2014 - SD5215 - Sharpen Your C# Code for AutoCAD
« Last post by Kerry on November 26, 2014, 10:07:21 pm »
3
CAD General / AU2014 Invitation to call in
« Last post by Kerry on November 26, 2014, 10:01:17 pm »
Quote
For more information on CadTech Software and our CadTracker
product, come and see us at Booth 59 to collect one of our
CadTracker brochures and discuss how we can bring the
efficiencies you need to your drawing office!

Ask for Mark Kelly .. tell him I sent you.
Look for this logo.

added: The logo and PDF download are only available to logged in members.
4
AutoLISP (Vanilla / Visual) / Re: Comparing List of Points
« Last post by Kerry on November 26, 2014, 05:31:06 pm »
< .. >
This only seems to work if the order is identical.

Yes,
I tried to visualise the use for comparing point lists where the point order does not matter.
.... wasn't successful.
Care to share the purpose of the test ?
5
AutoLISP (Vanilla / Visual) / Re: Help to Reduce Extremely Large Drawing File Size
« Last post by cmwade77 on November 26, 2014, 03:45:58 pm »
Here is how we fix problematic drawings:
  • Open with RecoverAll
  • Audit & Purge
  • Wblock the drawing using a window to select objects. NOTE: It is extremely important to not use a crossing window, type All or use "Entire Drawing", as these can all bring the errors over. If you have multiple layout tabs, you will need to wblock them out to separate CAD files and merge them back together.
  • Open each drawing and audit and purge again
  • Merge drawings back together as needed
  • Use the code posted earlier in this thread to remove anonymous groups
  • Use the overkill command to remove any overlapping linework
  • Remove any unused annotation scale lists
  • Audit & Purge again
NOTE: About purging, make sure that you purge Regapps as well, this can only be done with the -purge command or a LISP routine setup to do this.

Yes, this is an annoyingly long list, but this works 99.99% of the time and you will end up with a good drawing that doesn't slow everything down.
6
Hi Marc'... I've changed my code to include cases when segment lengths are the same as conduit width... Try my code updated above and test it to see if everything's OK...

Kr. M.R.
Grazie ancora, I need few days to test, now I have new problems to solve...
Ciao.
7
AutoLISP (Vanilla / Visual) / Re: Help to Reduce Extremely Large Drawing File Size
« Last post by mammajamma on November 26, 2014, 02:18:40 pm »
Try WBlock, clicking as your selection "Entire Drawing".
This will create a new file, Layout and Model intact.
You select nothing except to navigate to where you want the file and what to name it. (I usually just add XX to the end of the existing file name, then go back and delete the old file before renaming the new one.)
I know, sounds like it would do essentially the same as "SaveAs", but it miraculously leaves behind lots of junk.
8
Hi Marc'... I've changed my code to include cases when segment lengths are the same as conduit width... Try my code updated above and test it to see if everything's OK...

Kr. M.R.
9
AutoLISP (Vanilla / Visual) / Re: Help to Reduce Extremely Large Drawing File Size
« Last post by PeTRaS on November 26, 2014, 01:22:59 pm »
I had a similar problem: large file size on small drawing (75 polylines, 25 text objects and ...4000 anonymous groups). All good lisp for drawing cleaning or  anon groups removing not worked (yes and wblock not worked !).My solutions:
1.Save file to dxf
2.Close
3.Open
4.Save to dwg
5.Audit
6.Purge
If after step 4 i use explodeproxy from A.Rivilis, it remove 4000 dgn records.
10
AutoLISP (Vanilla / Visual) / Re: Test if LwPoly Is Closed also apparently
« Last post by Marc'Antonio Alessi on November 26, 2014, 12:30:27 pm »
Marc'Antonio, I use essentially what you have posted except I use the optional fuzz factor for the (equal) comparison. Using a fuzz of 0.0001 helps to eliminate any errors due to computer rounding issues.
Ok, so vlax-curve-isclosed is not always valid.
Thanks.
Pages: [1] 2 3 ... 10