乐筑天下

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

[编程交流] Using VB.Net, Redefine a block

[复制链接]

16

主题

35

帖子

30

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
91
发表于 2022-7-6 21:48:42 | 显示全部楼层 |阅读模式
Wondering if anyone has code, or know of an example I can start from, to redefine a block.  I use the words "redefine", because that is what AutoCAD asks me when I try to reinsert the same block that already exists in the drawing.  That is the only way I know how to update the block without deleting it, purging it, then reinserting it.
 
Example...
Open drawing
Insert Block
Save Drawing
Close Drawing
Open Drawing that was used as the Block
Change it
Save it, close
Reopen first drawing
Block needs to be updated
Reinsert block using the browse button
Message pops up asking to redefine block
Click Yes
Block is now updated
 
Wanting to code this if possible.
 
Thanks
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-4 13:28 , Processed in 0.666298 second(s), 54 queries .

© 2020-2025 乐筑天下

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