作者Hermos (无名の旅人)
看板C_Sharp
标题Re: [问题] revit api
时间Thu Dec 19 23:39:13 2013
※ 引述《hugh1682 (hugh)》之铭言:
: 原址: http://ppt.cc/OroT
: 想问一下
: 2. Use the UIApplication.ActiveUIDocument.Selection.Elements property to
: retrieve the selected object.
: 这句是什麽意思? 他很重要吗?
: 因为我按照 下面的code复制到c#上会有错误
: 还是说是其他地方错了?
: 前面我还有加
: using System;
: using System.Collections.Generic;
: using System.Linq;
: using System.Text;
: using Autodesk.Revit.UI;
: using Autodesk.Revit.DB;
: using System.Windows.Media.Imaging;
: using System.Windows.Markup;
: using Autodesk.Revit.ApplicationServices;
: using Autodesk.Revit.Attributes;
: 因为我不懂,所以都乱加 using,只希望没有错误就好
: 感谢
刚入门会很混乱没错,因为官方手册写的很笼统,
不过到了revit 2014 有稍微改观,你可以参考一下一下两个连结:
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=16777469
http://help.autodesk.com/view/RVT/2014/ENU/?guid=GUID-F0A122E0-E556-4D0D-9D0F-7E72A9315A42
我建议你先从 SDK 附的范例程式去慢慢 Try,
然後去找几本国内跟 BIM 有关的论文来看,
有些论文会提到一点跟开发增益集有关的资料,
其他更深入的资料我不方便提供,
只能靠你自己去发掘了!
加油!
--
Sent from my Android
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 111.235.202.20