乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 66|回复: 3

[编程交流] ; error: bad argument type: (o

[复制链接]

1

主题

2

帖子

1

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-5 23:20:39 | 显示全部楼层 |阅读模式
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
回复

使用道具 举报

1

主题

475

帖子

481

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-5 23:51:02 | 显示全部楼层
Add

[code](setq areaString (rtos(getvar "area")2 4))(setq insertUnits (getvar 'INSUNITS));;
回复

使用道具 举报

1

主题

2

帖子

1

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-6 00:06:51 | 显示全部楼层
thanks hmsilva, I really appreciate the assistance and speedy response. makes total sense now.
 
 
-PuzzzleClub
回复

使用道具 举报

1

主题

475

帖子

481

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-6 00:27:19 | 显示全部楼层
You're welcome.
Glad I could help
Henrique
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-11 00:02 , Processed in 0.488868 second(s), 60 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表