乐筑天下

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

[编程交流] NET lisp error: no function de

[复制链接]

6

主题

23

帖子

15

银币

初来乍到

Rank: 1

铜币
33
发表于 2022-7-6 22:16:31 | 显示全部楼层 |阅读模式
Hi, I make a simple VB.NET assembly, define a lisp function named OpenYourSteel. Then I use an AutoLisp function C:YS to call (OpenYourSteel). The reason why is I can modify lisp command C:YS easily.
I load them all to AutoCAD 2012, it works ok. But problem comes:
 
1st: I open AutoCAD and do nothing on the first drawing
2nd: I open the second drawing, run NETLOAD my dll then run YS or (OpenYourSteel), it works ok
3rd: I return to the first drawing and run NETLOAD, then run YS: AutoCAD reports error: no function definition (OPENYOURSTEEL) !!! I run NETLOAD again and again, the same error happen !
4th: I close my first drawing, re open it, run NETLOAD: it works normally again !!!
 
This error happen only to lisp function define in VB.NET. Commands defined in VB.NET are all ok. But I am trying to keep my VB.NET routine as a lisp, unless there is noway to fix this bug.
Can anybody help ? Thank you all in advance.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-4 11:43 , Processed in 0.626189 second(s), 54 queries .

© 2020-2025 乐筑天下

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