Command Interface Parameters

Command Interface Parameters

owenmerrick
Contributor Contributor
428 Views
2 Replies
Message 1 of 3

Command Interface Parameters

owenmerrick
Contributor
Contributor

 

revit command parameters.JPG

 

 

 

Hi,

 

Is it is possible to implement user interface input similar to wall interface shown above in a custom command? (The green bar which appears during built-in commands, allowing users to set parameters which persist between instances of the command). Does this interface component have a name?  I'm not sure what to search for in the samples or documentation.

 

Any insight would be great, Thanks,

 

Owen

 

0 Likes
429 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

Dear Owen,

 

Thank you for your query.

 

No, sorry, I do not believe that is possible.

 

As far as I know, all possible custom user interface options are demonstrated by the ADN Revit API Labs Training Material:

 

https://github.com/ADN-DevTech/RevitTrainingMaterial

 

https://github.com/ADN-DevTech/RevitTrainingMaterial/tree/master/Labs/2_Revit_UI_API

 

Look at the documentation and lab instructions:

 

https://github.com/ADN-DevTech/RevitTrainingMaterial/tree/master/Labs/2_Revit_UI_API/DocsCS

 

As said, I do not believe what you are asking for is included.

 

Sorry about that.

 

I hope this helps.

 

Best regards,

 

Jeremy



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

0 Likes
Message 3 of 3

owenmerrick
Contributor
Contributor

Hi Jeremy,

 

Thanks for confirming. 

 

I really like this style of interface, which appears only during the command, allows the input of a few relevant parameters, and maintains the last set value between executions of the command.  I also prefer to use the built-in interface elements where possible for consistency, so I was hoping this was an option.

 

Not a big deal, there are certainly other ways to get there.

 

Thanks for the UI references, I'll have a look.

 

Best,

 

Owen

 

0 Likes