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: 

work with Modeless form

1 REPLY 1
Reply
Message 1 of 2
Anonymous
446 Views, 1 Reply

work with Modeless form

Hi,

 

How to work with modeless form

i'm initiating one userform based, some of functions have to execute.

where as while going to "Public Function Execute(commandData As ExternalCommandData, ByRef message As String, elements As ElementSet)"

there i'm activating userform but control not enabling to userform or button.

 

attached snap

 

Appreciate help & welcome.

 

Thanks

-RK.

 

 

 

 

 

 

 

 

 

1 REPLY 1
Message 2 of 2
jeremytammik
in reply to: Anonymous

Look at the SDK samples demonstrating modeless form interaction:

 

  • ModelessForm_ExternalEvent
  • ModelessForm_IdlingEvent

 

External events are preferable over the Idling event.

 

For more information, please refer to The Building Coder topic group on Idling and External Events for Modeless Access and Driving Revit from Outside:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.28

 

Everything you need os there and much more besides.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

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

Post to forums  

Autodesk Customer Advisory Groups


Rail Community