work with Modeless form

work with Modeless form

Anonymous
Not applicable
591 Views
1 Reply
Message 1 of 2

work with Modeless form

Anonymous
Not applicable

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.

 

 

 

 

 

 

 

 

 

0 Likes
592 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

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

0 Likes