« AutoCAD Platform Customization: User Interface and Beyond (eBook) | Main | AutoCAD 2016 Developer Documentation Changes »

Comments

Patriiick

Thanks, info published here: http://cad-community.ning.com/groups/autocad/forum/autocad-platform-customization-autolisp

Thomas Stansell

Since Sybex sold out to Wiley and took down the support page for this book I have no where to go to ask about this...so I am doing it here. I hope someone is looking. First things first, I am a newb when it comes to lisp, but have been working with ACAD for 20 years and am a Autodesk Certified Professional.

This code on page 7

(command "change" (entlast) " " "p" "c" cnt " ")

this bit of code seems to to break, or maybe I am just doing something wrong. But if you can help, I surely would appreciate it. this is the error code I get at the command line when I try to run this bit of code...

circle
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]:
Specify radius of circle or [Diameter] : 1.500000000000000
Command: change
Select objects: 1 found
Select objects:
*Invalid selection*
Expects a point or Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/Add/Remove/Multiple/Previous/Undo/AUto/SIngle
; error: Function cancelled

Lee Ambrosius

Hello Thomas,

I will have to check, but the support page for the book should still be up. The problem with your code exists in two places, " " should simply be "" which represents an Enter.

Here is your original code:
(command "change" (entlast) " " "p" "c" cnt " ")

Here is what the code should be:
(command "change" (entlast) "" "p" "c" cnt "")

Let me know if you have any further questions.

Sincerely,
Lee

The comments to this entry are closed.

My Photo

My Other Accounts

Twitter Updates

    follow me on Twitter