« 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

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)