Override Dimension Values

Hi there,

 

I’m trying to override dimension values. But I wonder if this is (at all) possible with Dynamo.

Hope someone can help…

 

 

 

 

 

As Revit doesn’t allow you to do this OOTB - Dynamo won’t be able to facilitate this either.

Personally I think overriding values is dangerous - if it’s a “rough site plan” type of drawing, maybe it’s better to just create a new dimension type with more extreme rounding?

You can override dimensions if you write a Python Script. Edit as needed…

DimOverrides

Why would you want to do this though??

I have no clue what the OP needs it for (interestingly via Google Translate “Verkoop” means "Sales…maybe its for some sort of leasing layout…), but I can see some uses.

For instance - there is not a “Tag” type that behaves like a dimension, but I might want to have some tag that looks like a dimension. Using this overriding capability paired with the ability to detect what elements are the references of the dimension (using Dimension.ReferenceArray), I could (in theory) dimension between two beams (with a bunch of similar beams all in-between them), read the two dimension references, compare and verify that both are the same type of beam, then write the “Type Name” into the Dimension Override. Voila - a “tagged” dimension (kind-of). If I had on particular dimension type that i used for all “tagged” dimensions, then i could batch update all of them with one small Dynamo Routine right before a print set goes out.

I’m not saying it’s the best way to accomplish something, just saying it’s a potential use case…

(But I agree - overriding dimensions is a slippery slope…)

1 Like

@Ben_Osborne is there a way to get the python code to override the dimension on a continuous string of dimensions? (a bunch of dimensions placed at the same time)?

Thanks

Once again… Why??

I want to add (REF) to the Text Below Filed of any or all dimensions that I pick. It is an (old) office standard. All bay to bay (column line to column line) dimensions are to be labeled as (REF).

Ah, now that’s a great reason.

I recently added some DIM nodes to Rhythm.

7 Likes

Tom-
The Python Script you need (if you don’t want to use Rhythm Nodes) is in the earlier post (just look at the pic and type it in).

You could also bypass the manual selection of dimensions by accessing the References of the dimensions, testing if both references are Grids, then adding the desired “Below” text only when the dimension passes your grid reference test. So this would allow you to run the script on the entire project and correct all dimensions at once to match your standard (see attached)

3 Likes

wow. thanks. not sure if i would want it to run for the entire project. The Rhythm package got me what I was looking for. Thanks for the reply.

Hi John,

I cannot seem to find your dimension.multisegmentmembers node to recreate this script, has it been substituted with another node?

I want to overide the text underneath the dimension as per Toms post.

Thanks

Hello @Kieran_Atherton, if you are willing to try your hand at Python - then I wrote an AU London course around this very topic :slight_smile: The entire document is very helpful, but the Dimension stuff starts at page 45.

To do the bottom values, this node will achieve that.It works with single segment or multi segment
image

1 Like

Cheers Sol. I will give that a read this weekend !

1 Like

Cheers John. Works a treat !