Can we change or update the geometry of a Revit element with dynamo?

Edited by moderator. See below the line for original text.

Good morning,

I am currently trying to understand the geometry that we recover with dynamo from a Revit element. Is it possible to modify this geometry that we recover with dynamo and then update the geometry of the Revit element with it, modify it on the dynamo?

Currently I am able to recover the geometry of the element and modify the scale for example. But I don’t understand how to modify that of the main element.

Original post below.


je suis actuellement entrain d’essayer de comprendre la géométrie que l’on récupère avec dynamo depuis un élément de revit. Est-il possible de modifier cette géométrie que l’on récupère avec dynamo puis mettre à jour la géométrie de l’élément de revit avec celui-ci modifier sur la dynamo ?

Actuellement j’arrive à récupérer la géométrie de l’élément et modifier l’échelle par exemple. Mais je comprends pas comment modifier celle de l’élément principal.

Welcome to the forum @pierre.martinA96CS .

The official language is English, which is a technical requirement to make search work (annars skulle jag bara svara på svenska så jag kunde få in min träning!). Please run all future posts though the online translation service of your choice including your original thoughts below a dividing line (____ on an otherwise empty line) as I did in editing your original post.


Good Morning,

Okay, sorry, I’ll take note for future forum posters.
Thank you…

1 Like

For your original question, Dynamo can only do what Revit can do. So if the user interface (UI) doesn’t allow scaling you won’t be able to scale the object in the model.

If you wanted to say change the geometry of a wall so that it is longer you could for a node along the lines of “Set Location”. Scaling isn’t really doable (as you know from the Revit UI).

1 Like

I just tried to make a scale on a wall. On dynamo it works well, but it only gives a sort of visual in dynamo and on revit. With this visual can you use it to change the geometry of the first wall?

I also saw that elements do not allow scaling as you said.

No - you have to edit elements as you do in the Revit user interface. So to 'scale up the wall you’d first have to scale the location line and set the wall’s location to a new place. Then scale the base elevation, then scale the height, then scale the wall type’s assembly parts, then… hopefully you get the idea.


For one of the dimensions, if I understood correctly

Python Script
import sys
import clr
import Revit
import RevitServices
from RevitServices.Persistence import DocumentManager 
from RevitServices.Transactions import TransactionManager 


import Autodesk 
from Autodesk.Revit.DB import *
from Autodesk.Revit.UI import *

doc = DocumentManager.Instance.CurrentDBDocument
uiapp = DocumentManager.Instance.CurrentUIApplication 
app = uiapp.Application 
uidoc = uiapp.ActiveUIDocument


OUT = wall


1 Like

I talked about the walls at the beginning but really my problem is on the definition areas. I’ve already searched on a lot of forums and others where I saw that it’s not possible to interact on it. And I think that maybe we could move the geometry of the definition area? We get all the lines and points of the area, but is there a possibility to modify to modify its size. I didn’t talk about it from the beginning because everywhere they say that you can’t interact with the definition areas.

I am a beginner, there are many things that are beyond me (notions of Revit too), I leave people with more perspective and skills on such subjects (but often when many say that it is impossible, it is very often impossible)

1 Like