Utility to Set extension line length for LayOut files



Hi all,
I’ve been looking for a solution in LayOut to set a constant length for all the extension lines in all the dimensions, and then created my first utility for LayOut - in case you’d like to try, check at: www.fb.com/SUreUtils
Full version intended to sell at 5 EUR.
Utility: it works on a saved layout file and not inside LayOut:


Thanks for the hint and facts. I’ve corrected the misspelling.
I think that at the moment there is no way to add a real extension to LayOut as you are used to have in SketchUp, that’s the reason for working upon the file…
You forgot to mention the professional design and marketing skills of the account owner :wink:

I haven’t intended to hurt any conventions with my utility, fb site or this topic. If you have suggestions how to make it better, please share.


You should have given more details in your original post including that there is a cost involved.

Also one post about it is enough. Don’t spam the forum.


Thanks - I’ve amended the original post.



I would like to this extension but I don’t have a facebook account.


which version do you use?



mrneene sketchup@discoursemail.com ezt írta (időpont: 2018. szept. 5., Sze, 11:21):


Layout 2018


Use the code below!

at line dimL= _____ enter the desired value

than copy the whole code into SketchUP RubyConsole (in Window menubar)


select file


--------COPY FROM HERE---------

doc = Layout::Document.open(UI.openpanel(“SelectLayoutFile”,"","*.layout"))

pages = doc.pages

dimL = 0.1

pages.each { |page|

entities = page.entities

puts page.name

entities.each { |entity|

if entity.is_a?(Layout::LinearDimension)

puts "foundone"




puts "beefore"

puts p3.distance(pe1)

entity.end_offset_length = pe1.distance(pe2) - dimL

puts "aafter"


puts p3.distance(pe1)



entity.start_offset_length = pe1.distance(pe2) - dimL




----------------------COPY UNTIL HERE---------------

mrneene sketchup@discoursemail.com ezt írta (időpont: 2018. szept. 5., Sze, 13:44):


I’m happy to have the VERY first soul-mate that needs this extension, and have given up earning money with this tool a long time ago…
(and think, that in many cases it is easier to adjust extension line length this way…)


My problem was to make this:

look like this:

as far as I understand your proposal can’t solve this…
(It’s a european-style dimensioning…)


There may be a missunderstanding. We are talking about the lines towards the model.


long offset distance makes extension lines to the other side - so we do talk about the same - at least I thnik so


Sorry, that was directed to DaveR.

I understand that I can set them manually, but how can I automate this proces, so that I don’t have to do it for every dimension? That’s what this all is about, since manually this process is too time consuming.
Or is there a way in Layout to do it and don’t I get the point here?


@DaveR by inferencing, the dims won’t be attached to the model/shape, and you would have to be careful not to inference on a grid-vertice instead of a grid-horizontal line, not?

@molnar.a.hu does the extension keep the dims attached to model?


The code only changes the offset distance of the dimensions --> they remain attached.

How can I call “interferencing” to place extension line start points?
By default the linear dimensioning tool has only 3 steps:

  1. First point of dim. line
  2. Second point of dim. line
  3. place dim. line…


Just like in SketchUp, inferencing is invoked by hovering over ‘points of interest’ with the cursor.
The three steps are actually ‘clicks’, there is a lot going on ‘under the hood’