Google+ Badge

Monday, January 27, 2014

I was working on an existing AutoLISP program for AutoCAD while I found that during “Check Text in Editor” (or “Check Selection”) I got an error. It worked fine to just load and run the program but check did not. Trying to make an application (FAS or VLX) will also give this error.

; error: too many arguments: (PROGN 1 2 3 ... )

It was really confusing until I realized that progn only accepts 255 arguments. Often progn is used to together with if to allow more expressions to be evaluated and in a case like that it can easily happen that there are more than 255 arguments.

The workaround I used was to add a few extra nested progn and problem solved.

Another way is to use cond like this: (cond (T 1 2 3 all the way to 256 or higher will work fine ))

And of course create a new function with defun.

But what about using (repeat 1 …) as a workaround saving an extra pair of parentheses compared to cond? Unfortunately repeat has the same limitation of 255 expressions as progn. ; error: too many arguments: (REPEAT 1 1 2 ... )

What then is progn other than a way to bundle together a lot of expressions?

Progn evaluates each expression sequentially and returns the value of the last expression. In the progn example above the returned value would be 256.

SmartPurger not only purges multiple drawings but can also batch process most anything you like if you have any Script or AutoLISP files you want to run on a bunch of DWGs. If you don’t know how we can help to create it so you can automate your manual tasks. An AutoCAD based application is required to run SmartPurger but it can also work with other DWG compatible CAD applications.

These are the bug fixes for this release:

-Fixed a bug where accoreconsole did not save to specified DWG version -Purge multileader styles bug fixed where it did not always purge these styles. -Handle dialog box about VBA not installed -Fixed bug where Educational Version - Terminated sometimes show up in status column even though the drawing is not educational

Tuesday, January 7, 2014

Anyone with an Autodesk account can access the entire library of video recordings and class handouts from more than 600 classes from AU 2013 in Las Vegas—for free at the AU website, login and click on Classes on Demand.

Working with Inventor and antivirus software - TS22811064When you work with Inventor and there is antivirus software active on your machine, you may experience slow performance. For example, you may have slow response times while using Inventor and the refresh of Inventor UI may be slow. This is caused by antivirus software and you would like to optimize your performance.

Sites disappear, but feature lines remain until audit in AutoCAD Civil 3D 2014 - TS22811035Sites are disappearing from the drawing, but the Feature Lines remain. When you run AUDIT or RECOVER, the Feature Lines then disappear.

AutoCAD P&ID 2014 Service Pack 1 - DL22757675This Service Pack does not apply to AutoCAD Plant 3D 2014 Extensions 1 or 2 (Subscription). The updates in this Service Pack are included in Extension 2. AutoCAD 2014 Service Pack 1 is included in this service pack.