EaBIM
标题: Revit 2011 可否用API来连接Rvt文件? [打印本页]
作者: 萧闫子 时间: 2014-1-15 13:53
标题: Revit 2011 可否用API来连接Rvt文件?
问题:
REVIT 2011的API中如何实现链接rvt文件。
sdk里面chm文件里面好像只有导入CAD的。
我需要在我的rvt文件里面导入另外几个rvt文件进来并显示。
答复:
Revit 2011没有提供API来连接外部rvt文件。
Revit 2012 也没有开放链接外部rvt的API,但是2012提供了更多的对已经连接进来的模型的管理和查询。
- ExternalFileReference - A non-Element class which contains path and type information for a single external file which a Revit project references. ExternalFileReference also contains information about whether the external file was loaded or unloaded the last time the associated Revit project was opened.
- ExternalFileUtils - A utility class which allows the user to find all external file references, get the external file reference from an element, or tell whether an element is an external file reference.
- RevitLinkType - An element representing a Revit file linked into a Revit project.
- CADLinkType - An element representing a DWG drawing. CADLinkTypes may be links, which maintain a relationship with the file they originally came from, or imports, which do not maintain a relationship. The property IsImport will distinguish between the two kinds.
- LinkType - The base class of RevitLinkType and CADLinkType.
- ModelPath - A non-Element class which contains path information for a file (not necessarily a .rvt file.) Paths can be to a location on a local or network drive, or to a Revit Server location.
- ModelPathUtils - A utility class which provides methods for converting between strings and ModelPaths.
- TransmissionData - A class which stores information about all of the external file references in a document. The TransmissionData for a Revit project can be read without opening the document.
作者: 长风 时间: 2014-2-14 10:16
路过!!!
帮顶……
作者: 熊猫 时间: 2014-2-15 14:28
(*^__^*) 嘻嘻……
作者: codywu 时间: 2014-2-15 14:32
路过!!!
不发表意见……
作者: audigy 时间: 2014-2-18 12:05
顶起来…………
作者: gba8297517 时间: 2014-2-19 14:54
顶起来…………
作者: 长风 时间: 2014-2-20 14:06
(*^__^*) 嘻嘻……
欢迎光临 EaBIM (https://eabim.net/) |
Powered by Discuz! X3.2 |