如何2的企业合并为1在AutoCAD .NET [英] How to combine 2 entities as 1 in Autocad .net
问题描述
我在做一个AutoCAD插件,我想创建一个新的实体,这是一个线和text.If的组合我选择文本选择行和backwords当我删除该行删除文本等等等等。如何把它们作为一个对象引用的海誓山盟?这可能吗?
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.
<一个href="http://adndevblog.typepad.com/autocad/2012/04/how-to-detect-whether-entity-is-belong-to-any-group-or-not.html" rel="nofollow">http://adndevblog.typepad.com/autocad/2012/04/how-to-detect-whether-entity-is-belong-to-any-group-or-not.html
这篇关于如何2的企业合并为1在AutoCAD .NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!