Jump to content

; error: bad argument type: (or stringp symbolp): nil


PuzzzleClub

Recommended Posts

Hello, Ive been trying to write an autolisp program that gives the user an area of an object with multiple spaces subtracted from that objects area. Im pretty sure that this error message refers to the "strcat" command that is in use but I seem to be stumped as to how to make this program functional. If anyone has any insights to this dilemma I would greatly appreciate input. thanks in advance!

 

 

-PuzzzleClub

here is the code;

almostThereLISP.LSP

Link to comment
Share on other sites

Add

(setq areaString (rtos(getvar "area")2 4))
(setq insertUnits (getvar 'INSUNITS));; <<<<<<<<
(cond

 

The insertunits variable was not defined...

 

HTH

Henrique

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...