I would like to ask if it is worth it to generate code in Dynamo and the IronPython scheme and then to “translate” it in C# to adjust it on Revit as an Addin. Just to mention that I have no great experience in either!
C# is more explicit than IronPython, so it’s probably more difficult to go from IronPython to C# than the other way around. For example, here is a syntax example in C# from the Revit API documentation:
public Parameter LookupParameter(
string name
)
Here is the same thing as it would be written in IronPython:
LookupParameter(name)
You’d probably be better off starting in C# if your intention is to write an addin, although there may be a steeper learning curve compared to writing a comparable script in Dynamo.
3 Likes