如何在 Autocad .net 中将 2 个实体合并为 1 [英] How to combine 2 entities as 1 in Autocad .net
问题描述
我正在制作一个 autocad 插件,我想创建一个新的实体,它是一行和文本的组合.如果我选择了该行,则文本被选中,当我删除该行时,文本被删除,文本被删除,等等.如何将它们视为一个相互引用的对象?这可能吗?
I'm making an autocad plugin and i want to create a new entity that is a combination of a line and the text.If i select the line the text is selected and backwords when i delete the line delete the text etc etc.How to treat them as one object referencing eachother?Is this possible?
推荐答案
我建议使用组.以下是有关如何访问群组的链接,我确定该站点提供有关创建群组的更多信息.
I recommend using groups. Below is a link on how to access groups, I'm sure that site has more information on creating groups.
用户可以根据系统变量PICKSTYLE来控制是否使用组选择对象.您可以使用 ctrl+h 来切换 PICKSTYLE 值.
Users can control whether objects are selected with the group based on the system variable, PICKSTYLE. you can use ctrl+ h to toggle the PICKSTYLE value.
这篇关于如何在 Autocad .net 中将 2 个实体合并为 1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!