Translate Titleblock to Origin

Hi all,

As I have just discovered today, Revit titleblock/sheets also have the default position of (0,0,0) for its coordinates. I was wondering if there is a quick way to reset the points to origin?

I am currently stuck on how to actually achieve the following two possible methods:

  1. Assign a new origin to each titleblock
  2. Translate the geometry by minus the value as indicated (a,b,0) ----> (a-a, b-b, 0)

Thanks in advance
K

Managed to work out the second method by translating the geometry.
Still looking for help for the first method

Have you tried Element.SetLocation? Also you may want the TB to be off-center if your TB family isn’t located correctly. A lot of old school TBs have that issue internally.

Hi @Kevin_Shen

That’s the way it should be. What’s your end goal are you trying to fit views in sheets or move title block to fit in views?

Hi Kulkul,

I agree. However as the project has been poorly managed in the past by the previous team, I have started to pick up the issues now including titleblock placed in various positions.
End goal is to translate titleblock back to origin along with the viewports that’s on it.

Cheers,
k

Hi Jacob,

Element.SetLocation is the one I am after.
Is there a way to set element location to origin coordinate?

Cheers,
k

Yes. Try to use the origin point as the location…

I know this is an old post, but its exactly what I am trying to do. I have a dwg that i link in to any and all sheets that show me wher ethe built-in origin is for a sheet. Then I grab the lower left corner of the title blocks and move it to the intersection point of the linked cad file. Then I unpin the cad file and delete it from the sheet.

Now imagine having to do that for 100 sheets. I want to create a Dynamo graph that will move all title blocks and the views on those same sheets like the OP is trying to do.

I am wondering if anyone has finished a dynamo graph that I could use to create my own as I am still learning Dynamo. I would appreciate any and all help with this if anyone is still following this original post.

Thanks to the OP for posting this!

I don’t hvae a graph, but you can try this:

  1. Get all elements in the sheet view
  2. Find the titleblock element
  3. Get the location of the titleblock element (a point)
  4. Convert the point to a vector (Point.AsVector node) and reverse the vector (Vector.Reverse node)
  5. Element.MoveByVector node to move everything.

Should be a dozen nodes or so.

Note this may break revision schedules (no idea how or why but I recall it was an issue way back when) and a few other things (dimensions, tags, stuff hosted to things in the view), so you’ll want to do some testing first, perhaps filtering out anything with <Revision Schedule> in the name. Also if you have two title blocks in the same view you’re in for some trouble as ‘which one is real’ will be a big question.

2 Likes