# \#layoutapi

**URL:** https://forums.sketchup.com/tag/layoutapi/1551.md

[Latest](https://forums.sketchup.com/latest.md) · [Categories](https://forums.sketchup.com/categories.md) · [Tags](https://forums.sketchup.com/tags.md)

---

## [Bug Report: LinearDimension Custom Text Font Size Resets to Document Default on Second Click](https://forums.sketchup.com/t/bug-report-lineardimension-custom-text-font-size-resets-to-document-default-on-second-click/347382)

<div class="topic-metadata">

**Author:** [@killernova](https://forums.sketchup.com/u/killernova)\
**Replies:** 3\
**Last updated:** [June 4, 2026, 12:44pm UTC](https://forums.sketchup.com/t/bug-report-lineardimension-custom-text-font-size-resets-to-document-default-on-second-click/347382 "2026-06-04T12:44:32Z")

</div>

Environment SketchUp / LayOut Ruby API Affected class: Layout::LinearDimension Platform: Windows Sketchup2026 Summary When creating a Layout::LinearDimension entity via the API with a custom text and a custom …

---

## [Extension Ruby help -\> send to layout](https://forums.sketchup.com/t/extension-ruby-help-send-to-layout/345422)

<div class="topic-metadata">

**Author:** [@napperkt](https://forums.sketchup.com/u/napperkt)\
**Replies:** 7\
**Last updated:** [March 18, 2026, 11:08am UTC](https://forums.sketchup.com/t/extension-ruby-help-send-to-layout/345422 "2026-03-18T11:08:45Z")

</div>

I have recently dabbled rather successfully with creating a very specific extension for our company. It streamlines a whole bunch of steps that we usually need to take to create specific drawing details. I managed to cre…

---

## [How to get the open status of tags in layout?](https://forums.sketchup.com/t/how-to-get-the-open-status-of-tags-in-layout/278273)

<div class="topic-metadata">

**Author:** [@27925916](https://forums.sketchup.com/u/27925916)\
**Replies:** 6\
**Last updated:** [June 19, 2024, 2:59pm UTC](https://forums.sketchup.com/t/how-to-get-the-open-status-of-tags-in-layout/278273 "2024-06-19T14:59:44Z")

</div>

How to get the status of every tag in layout by C LAYOUT API? I only find the API “LOSketchUpModelGetLayersModified” below ,which only could return whether the tags have been changed, but can’t tell me whether the t…

---

## [Collaborative Modeling in Sketchup (and Layout)](https://forums.sketchup.com/t/collaborative-modeling-in-sketchup-and-layout/257794)

<div class="topic-metadata">

**Author:** [@jackaldraws](https://forums.sketchup.com/u/jackaldraws)\
**Replies:** 6\
**Last updated:** [February 17, 2024, 1:12pm UTC](https://forums.sketchup.com/t/collaborative-modeling-in-sketchup-and-layout/257794 "2024-02-17T13:12:18Z")

</div>

Sketchup needs to be a dynamic, virtually collaborative platform. Google Slides, Docs, & Sheets were gamechangers for professional teams that could edit pages and files around the globe at the same time. Just as Revit’s …

---

## [How to export dwg from layout](https://forums.sketchup.com/t/how-to-export-dwg-from-layout/271689)

<div class="topic-metadata">

**Author:** [@27925916](https://forums.sketchup.com/u/27925916)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 4:03pm UTC](https://forums.sketchup.com/t/how-to-export-dwg-from-layout/271689 "2024-05-06T16:03:24Z")

</div>

I find there are api to export skp to dwg ,like Sketchup.active\_model.export("d:/temp.dwg") however, there are not API to export layout to dwg. I only find I find there are api to export skp to dwg ,like Sketchup.activ…

---

## [Pacdora like Editing, 3D preview, rendering](https://forums.sketchup.com/t/pacdora-like-editing-3d-preview-rendering/240309)

<div class="topic-metadata">

**Author:** [@darunprasad](https://forums.sketchup.com/u/darunprasad)\
**Replies:** 0\
**Last updated:** [September 2, 2023, 7:05am UTC](https://forums.sketchup.com/t/pacdora-like-editing-3d-preview-rendering/240309 "2023-09-02T07:05:23Z")

</div>

I recently came across a 3D modeling for packaging - Pacdora. I am not a developer and im curious what libraries/backend/api is used in editing, 3D preview, rendering of these 3D models? Does Sketchup API support such ba…

---

## [Is it possible to Change default dimension attributes from Layout Ruby API?](https://forums.sketchup.com/t/is-it-possible-to-change-default-dimension-attributes-from-layout-ruby-api/233885)

<div class="topic-metadata">

**Author:** [@boris.beaulant](https://forums.sketchup.com/u/boris.beaulant)\
**Replies:** 13\
**Last updated:** [July 10, 2023, 8:44am UTC](https://forums.sketchup.com/t/is-it-possible-to-change-default-dimension-attributes-from-layout-ruby-api/233885 "2023-07-10T08:44:51Z")

</div>

Hi, As I can see, it’s possible to change specific dimension attributes (like leader type, font size, etc…) when we create a .layout file from Ruby API. But is it possible to change the default attributes, to permit us…

---

## ["SystemStackError: stack level too deep" when invoking "Layout::SketchUpModel.new"](https://forums.sketchup.com/t/systemstackerror-stack-level-too-deep-when-invoking-layout-sketchupmodel-new/228553)

<div class="topic-metadata">

**Author:** [@boris.beaulant](https://forums.sketchup.com/u/boris.beaulant)\
**Replies:** 14\
**Last updated:** [May 12, 2023, 2:34pm UTC](https://forums.sketchup.com/t/systemstackerror-stack-level-too-deep-when-invoking-layout-sketchupmodel-new/228553 "2023-05-12T14:34:55Z")

</div>

Hi, I am encountering a problem when invoking Layout::SketchUpModel.new on several machine running under MacOS (but maybe it’s not OS dependant). The error is SystemStackError: stack level too deep. I’m sorry for the …

---

## [Layout AutoTextDefinition Start Page for \<PageNumber\>](https://forums.sketchup.com/t/layout-autotextdefinition-start-page-for-pagenumber/145991)

<div class="topic-metadata">

**Author:** [@3DModeled](https://forums.sketchup.com/u/3DModeled)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 7:12pm UTC](https://forums.sketchup.com/t/layout-autotextdefinition-start-page-for-pagenumber/145991 "2022-05-24T19:12:56Z")

</div>

How do I get the setting value of the Start Page? In the AutoTextDefinition part of the api the following settings are available. page\_number\_style start\_index I do not see an option for Start Page.

---

## [Cannot draw a LinearDimension!](https://forums.sketchup.com/t/cannot-draw-a-lineardimension/181998)

<div class="topic-metadata">

**Author:** [@javalitterboy](https://forums.sketchup.com/u/javalitterboy)\
**Replies:** 3\
**Last updated:** [November 23, 2021, 8:11pm UTC](https://forums.sketchup.com/t/cannot-draw-a-lineardimension/181998 "2021-11-23T20:11:21Z")

</div>

When I mark a slash, I want a horizontal line of dimension. It seems that only one of these two methods (start\_extent\_point and end\_extent\_point) works. doc = Layout::Document.open('test.layout') start\_point = Geom::Po…

---

## [The style of Layout::Label can't change](https://forums.sketchup.com/t/the-style-of-layout-label-cant-change/178549)

<div class="topic-metadata">

**Author:** [@javalitterboy](https://forums.sketchup.com/u/javalitterboy)\
**Replies:** 1\
**Last updated:** [October 16, 2021, 8:40am UTC](https://forums.sketchup.com/t/the-style-of-layout-label-cant-change/178549 "2021-10-16T08:40:17Z")

</div>

save\_path = 'C:\\Users\\admin\\Desktop\\无标题2.layout' doc = Layout::Document.new leader\_type = Layout::Label::LEADER\_LINE\_TYPE\_TWO\_SEGMENT anchor\_type = Layout::FormattedText::ANCHOR\_TYPE\_CENTER\_RIGHT start\_point = Geom::Poin…

---

## [The shape is obscured](https://forums.sketchup.com/t/the-shape-is-obscured/178058)

<div class="topic-metadata">

**Author:** [@javalitterboy](https://forums.sketchup.com/u/javalitterboy)\
**Replies:** 2\
**Last updated:** [October 12, 2021, 7:32am UTC](https://forums.sketchup.com/t/the-shape-is-obscured/178058 "2021-10-12T07:32:21Z")

</div>

test.layout (42.1 KB)

---

## [How can merge two arcs into one path in Layout?](https://forums.sketchup.com/t/how-can-merge-two-arcs-into-one-path-in-layout/176470)

<div class="topic-metadata">

**Author:** [@javalitterboy](https://forums.sketchup.com/u/javalitterboy)\
**Replies:** 9\
**Last updated:** [October 7, 2021, 6:06am UTC](https://forums.sketchup.com/t/how-can-merge-two-arcs-into-one-path-in-layout/176470 "2021-10-07T06:06:08Z")

</div>

how can merge two arcs into one path in Layout?

---

## [How can draw the tag in layout?](https://forums.sketchup.com/t/how-can-draw-the-tag-in-layout/175106)

<div class="topic-metadata">

**Author:** [@javalitterboy](https://forums.sketchup.com/u/javalitterboy)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 12:32am UTC](https://forums.sketchup.com/t/how-can-draw-the-tag-in-layout/175106 "2021-09-13T00:32:11Z")

</div>

I can’t found the function about tag.

---

## [Change model tags from LO API](https://forums.sketchup.com/t/change-model-tags-from-lo-api/160949)

<div class="topic-metadata">

**Author:** [@Guy](https://forums.sketchup.com/u/Guy)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 12:00pm UTC](https://forums.sketchup.com/t/change-model-tags-from-lo-api/160949 "2021-04-16T12:00:34Z")

</div>

Is it correct that it’s not possible the override the model tags (new feature LO2021) from the layout API?

---

## [Iterate Over Existing Dimensions](https://forums.sketchup.com/t/iterate-over-existing-dimensions/118043)

<div class="topic-metadata">

**Author:** [@sertfas](https://forums.sketchup.com/u/sertfas)\
**Replies:** 3\
**Last updated:** [March 4, 2020, 5:09am UTC](https://forums.sketchup.com/t/iterate-over-existing-dimensions/118043 "2020-03-04T05:09:24Z")

</div>

Hello, Great resources on this forum, and I want to thank everyone in advance, and apologize as I’m coming from python and thus learning Ruby and the SKUP API all at once. My goal is to open a Layout document, get all …

---

## [Layout API (ruby or C) update skp file reference](https://forums.sketchup.com/t/layout-api-ruby-or-c-update-skp-file-reference/110710)

<div class="topic-metadata">

**Author:** [@kengey](https://forums.sketchup.com/u/kengey)\
**Replies:** 3\
**Last updated:** [December 11, 2019, 8:38pm UTC](https://forums.sketchup.com/t/layout-api-ruby-or-c-update-skp-file-reference/110710 "2019-12-11T20:38:54Z")

</div>

I was wondering if there is any way to update all (or just one) skp file reference(s) in a layout file from the api? @adam maybe you could help?

---

## [Layout api style set\_dimension\_units](https://forums.sketchup.com/t/layout-api-style-set-dimension-units/83696)

<div class="topic-metadata">

**Author:** [@kengey](https://forums.sketchup.com/u/kengey)\
**Replies:** 5\
**Last updated:** [March 19, 2019, 3:25pm UTC](https://forums.sketchup.com/t/layout-api-style-set-dimension-units/83696 "2019-03-19T15:25:17Z")

</div>

Hello fellow developers. I’m currently exploring the Layout api and I’m having some troubles which I hope some of you might have encountered already. I’m having troubles changing the dimension style to fractional inches…

---

## [Ruby Snippets in ScrapBooks](https://forums.sketchup.com/t/ruby-snippets-in-scrapbooks/90534)

<div class="topic-metadata">

**Author:** [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Replies:** 3\
**Last updated:** [March 11, 2019, 8:06am UTC](https://forums.sketchup.com/t/ruby-snippets-in-scrapbooks/90534 "2019-03-11T08:06:49Z")

</div>

I am not sure if I am right about this, but to me it looks like you could paste text in the ruby console. In LayOut, you have ScrapBooks that can have all kinds of texts

---

## [Progress on LayOut API?!](https://forums.sketchup.com/t/progress-on-layout-api/85142)

<div class="topic-metadata">

**Author:** [@donneyclark](https://forums.sketchup.com/u/donneyclark)\
**Replies:** 7\
**Last updated:** [February 21, 2019, 5:10pm UTC](https://forums.sketchup.com/t/progress-on-layout-api/85142 "2019-02-21T17:10:21Z")

</div>

Any progress on extensions for LayOut? Or, ruby script developed with the LayOut API will/would be installed into SketchUp? Also, any tutorials on YouTube or online in general for the LayOut API?

---

## [Layout Ruby API](https://forums.sketchup.com/t/layout-ruby-api/78831)

<div class="topic-metadata">

**Author:** [@Neil\_Burkholder](https://forums.sketchup.com/u/Neil_Burkholder)\
**Replies:** 16\
**Last updated:** [January 14, 2019, 9:15pm UTC](https://forums.sketchup.com/t/layout-ruby-api/78831 "2019-01-14T21:15:07Z")

</div>

Breaking this into a new topic to keep from getting off topic. The Layout Ruby API is only available in Layout 2018. The SketchUp model in shown on the Layout page can be accessed from the Layout API. However ‘nothing’…

---

## [Change Layout::FormattedText nested in a table](https://forums.sketchup.com/t/change-layout-formattedtext-nested-in-a-table/61927)

<div class="topic-metadata">

**Author:** [@drewmorse](https://forums.sketchup.com/u/drewmorse)\
**Replies:** 1\
**Last updated:** [March 5, 2018, 6:34pm UTC](https://forums.sketchup.com/t/change-layout-formattedtext-nested-in-a-table/61927 "2018-03-05T18:34:55Z")

</div>

I’m trying to use the LayOut Ruby API to change existing text objects within LayOut. When I access a Layout::FormattedText object that’s just an entity on a Page, or is nested in a Group, using the #plain\_text= method t…
