Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

如何通过二次开发实现类似于revit点击构件显示属性的功能

2 REPLIES 2
Reply
Message 1 of 3
ytsysjy
434 Views, 2 Replies

如何通过二次开发实现类似于revit点击构件显示属性的功能

如何通过二次开发实现类似于revit点击构件显示属性的功能

2 REPLIES 2
Message 2 of 3
AndrewButenko
in reply to: ytsysjy

Чудово, коли людина розуміє багато мов  😁

Message 3 of 3
jlpgy
in reply to: ytsysjy

Hi

  1. Hook a mouse hook to monitor mouse click windows msg
  2. When clicked, UiApplication.ActiveUiDocument.Selection.GetElementIds() method to fetch the currently high-lighted elements. Store all the elements which you are interested in.
  3. Raise an External Event
  4. In ExternalEventHandler.Execute() method, read any parameters that you need, show a dialog whether built by WinForm or WPF, display all the parameters you want.
单身狗;代码狗;健身狗;jolinpiggy@hotmail.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report