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: 

Newbie questions

2 REPLIES 2
Reply
Message 1 of 3
StrRevitEng
135 Views, 2 Replies

Newbie questions

Hi,

after some RevitAPI development with pyRevit, I have decided to give C# a go.

 

My questions are as follows:

1. How do I take input from the user? are there any forms for C#?

2. Do I really have to rebuild my code and restart Revit for every change I make in my code?

 

Thank you

2 REPLIES 2
Message 2 of 3
jeremy_tammik
in reply to: StrRevitEng

Welcome to the Revit API and hope you enjoy trying it out.

  

First: the Revit API does not provide any ready-made forms that I can think of. Input methods are provided by the Selection class to pick points, elements, subelements:

  

  

You can check out the ADN UI labs for all overview of all the UI methods:

  

  

Second: nope, not necessarily. Here are various ways to avoid that::

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 3
StrRevitEng
in reply to: jeremy_tammik

Thanks for your answer! Ill definitely will give it a look.

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

Post to forums  

Rail Community


Autodesk Design & Make Report