Autodesk Revit API
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How can I make choice of the elements highlight and show choose object ?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
205 Views, 1 Replies
03-03-2011 11:16 PM
How can I make choice of the elements highlight and show choose object ?
Such as choose zoom object from Autocad,
or it reveal the mistake when operating the Revit it can be select and show the position.
Requests the fellow masters to be possible to reply that thanks ~
中文:
請問我要將選定元素或稱為物體好了.
該怎樣才能讓他亮顯 與 集中顯示.
(如:AutoCAD的ZOOM中的"物件顯示",或是當Revit操作錯誤時,可選取並"展示"位置)
附圖中的按鈕功能.
煩請各位高手可以回答一下
謝謝
Re: How can I make choice of the elements highlight and show choose object ?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-09-2011 10:50 AM in reply to:
xyzjames
The parameters passed to your ExtenalCommand allow you to do this.
public Autodesk.Revit.UI.Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
Set the "ref string message" to the error message you want to display and set the "ElementSet elements" to the elements you want highlighted then exit the commend with the return value "Result.Failed".
