EaBIM一直以来积极响应国家“十二五”推进建筑业信息化的号召,对建筑领域的信息技术开展深入技术交流和探讨!致力于打造“BIM-建筑师-生态技术”三位一体综合资源交流共享平台,希望为BIM与可持续设计理念及技术的普及做出微小的贡献!!!

萧闫子 发表于 2014-1-14 10:28:41

Inventor中管理Attribute的工具

Brian在他的博客Mode the machine中又发布了一个Attribute Helper的免费小工具。我且把Attribute翻译成特性吧。推荐的目的是,这个小工具对一些需要使用到Inventor中的特性的人将会很有很大的帮助,因为你能通过它方便地读取/增加/编辑/删除特性。写这个小工具的起因是因为Inventor中的Attribute只能通过编程来能访问到,也就是说,如果你需要用到特性,你就要通过写程序来实现,对于使用者来说显然很不方便。有了这个小工具,一切都变得简单了。http://p.blog.csdn.net/images/p_blog_csdn_net/barbarahan/EntryImages/20091010/587e7126g74b1b784372c&690.jpg从图中可以看到该工具使用的效果。安装很简便。执行.exe后启动Inventor就可以看到附加模块中的Attribute Helper按钮了。当选择Attribute Helper窗口中的实体节点(比如Face)时,图形中的实体会被选中。该设计用了一个对象列表来存储对象,并且用了文档选择集SelectSet来亮选对象。关于特性集的增减编辑都是很简单的,就是直接调用AttributeSets和AttributeSet的成员函数就能实现。下面是原文:Attribute UtilityWorking with attributes can sometimes be a bit frustrating because the only access you have to attributes is through the API.You can’t quickly create, edit, or view an attribute without writing a program to do it.Because of this I became a bit frustrated when working on my first program that made extensive use of attributes.For the program to function correctly the attributes it was using all had to be correct and it was difficult to debug problems to determine if the problem was my program or the attributes it was trying to access.For my own sanity I wrote a little utility that would let me view all of the attributes in a document.That helped a lot but I never felt it was finished because it only allowed me to view existing attributes and I still couldn’t easily create or edit an existing attribute without writing code.As part of the series of blog posts I’ve I’m writing about attributes, I’ve completely re-written the utility so that it provides full creation, edit, and viewing of attributes.This new version of the utility is an add-in.To use it just download and install the add-in and look at the readme that’s installed for instructions on how to use it.When installing you have the option of also installing the source code, if you’re interested in the internals of how it works.It was written using the Visual Basic language in Visual Studio 2008.Let me know if you have suggestions or find any problems.文章来源:http://blog.csdn.net/barbarahan


老朽 发表于 2014-3-5 15:38:21

顶......
楼下跟上.....

妮可 发表于 2016-4-7 11:14:30

(ˇˍˇ) 路过~

萧闫子 发表于 2014-11-23 10:08:37

简单幸福 感谢分享

开始了d 发表于 2014-2-18 12:14:13

顶!!!!!!!!!!!!!!!!!!!!!!!!!

影馨 发表于 2014-2-18 12:18:07

顶!!!!!!!!!!

MIMDxFzL 发表于 2014-2-18 12:24:10

顶......
楼下跟上.....

大头佬 发表于 2014-2-18 12:27:31

顶!!!!!!!!!!!!!!!!!!!!!!!!!

levin 发表于 2014-2-19 15:02:48

路过!!!
帮顶……

JHXT杰西卡 发表于 2014-2-21 14:44:13

顶!!!!!!!!!!

妮可 发表于 2014-2-21 14:46:38

路过!!!
帮顶……

长风 发表于 2014-2-22 20:17:07

顶......
楼下跟上.....

一梦千寻 发表于 2014-2-25 10:38:09

顶......
楼下跟上.....

gba8297517 发表于 2014-2-25 10:41:17

(*^__^*) 嘻嘻……

爬爬``PA 发表于 2014-2-28 11:53:20

路过!!!
不发表意见……

zj1345 发表于 2014-3-5 15:41:22

顶!!!!!!!!!!

We晕晕 发表于 2014-3-7 11:58:09

顶!!!!!!!!!!
页: [1] 2 3 4
查看完整版本: Inventor中管理Attribute的工具