C# or PYTHON for making a revit plugin? Or a direct software/ way to make a plugin?

I want to design a plugin which asks for number of grids and levels and their dimensions at the beginning of every new project in revit. Which language should i use to start with? C# OR PYTHON? Because i have to start with scratch in programming languages. Kindly help!

C#.

But if you are new to coding … perhaps do create a routine in dynamo instead?
DataShapes has perfect input popups etc.

(because asking for numbers and dimensions won’t be the only thing your script will do …)

3 Likes

Thanks thats a great help.
What is DataShapes? Can it help with creating poping up a window in start of every new revit project asking for number of grids and levels?

DataShapes is a package in Dynamo.

But no it won’t popup when starting a new project (and I assume with a new project only)
If you use the Dynamo Player you can create a zero touch routine … all you’ll have to do is press the run button. If that is not an option: C#.

1 Like

Okay Pinter. Thanks a lot. I am gonna search a little bit on Dynamo Printer and get back to you if need help. Thanks again :hugs:

A simple example using DataShapes. First image is the popup that you will see when running the script. The data entered in the popup can be used as you wish (check the node “Watch”)

Clipboard01

1 Like

Wow. Thats so easy and useful. So all i need is to create a node group for grids and join these inputs you created to that group of nodes. Right?

Yeah pretty much.

Creating a grid uses a startpoint and endpoint.
So create a few lists with the data … and you are good to go.

1 Like

I think you should start with python because it’s easy to learn and use, below is a code example of two languages, actually writing code on c # is faster but clearing up on dynamo is really difficult for a novice.Good Luck !

1 Like

1 Like

I have created nodes groups for grids. just last thing; what do i need to get DataSheet platform and how to connect DataSheet inputs to my dynamo group? (which will eventually give me results on revit)

yes sir ive been meaning to lean python for dynamo scripting. will look into it. thanks.

I can’t find UI.MultipleInputForm++
they have this old DataSheet on Package Manager on dynamo site, it doesn’t have the nodes you displayed earlier. kindly help!

@uaftab.cem19 Did you install Package “Data-Shapes” (Not DataSheet)?

No not installed. :pensive:
(Yes Data-Shapes*)

I have dynamo 0.9 by default when i installed revit 2017.
Which version of dynamo has Data-shapes?

Deinstall dynamo 0.9.

Use either 1.3.x or 2.x

(If you look on the menu bar: you see a tab named ‘packages’. Packages are addins for dynamo created by awesome fellow users which make life easier.

Man i have been trying to install dynamo 1.3 for days now :persevere:
1st problem- on dynamobim.org/download , DYNAMO REVIT asks to click a link DYNAMO BUILDS and find the revit versions fo4 2017-2018. But the link shows a list of 3 types of dynamo versions “coreruntime2.0” “dynamoinstall2.0.exe” “dynamorevit2.0.exe” which file do i need here?

2nd problem- when i use Dynamoinstall2.0.exe or dynamorevit2.0.exe, the dynamo in manage tab of revit doesn’t have any nodes on the left side. And its just frustrating. I found similar problems with other users on this forum but i swear nothing helped :persevere:

I so exhausted, i just need data-shapes and its teasing me so much. Please help.

@uaftab.cem19 go to https://dynamobuilds.com/

In first section (most stable) look for:

2018-12-03T16:05:46.000Z 221792368 DynamoInstall2.0.2.exe

2018-12-03T15:53:22.000Z 249491712 DynamoInstall1.3.4.exe

1 Like

These are for revit 2017 right?