# \#scripting

**URL:** https://forums.sketchup.com/tag/scripting/363.md

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

---

## [DrawBackEdges is on then Display back side edge doted](https://forums.sketchup.com/t/drawbackedges-is-on-then-display-back-side-edge-doted/319498)

<div class="topic-metadata">

**Author:** [@sketchupmaster](https://forums.sketchup.com/u/sketchupmaster)\
**Replies:** 2\
**Last updated:** [March 18, 2025, 7:56am UTC](https://forums.sketchup.com/t/drawbackedges-is-on-then-display-back-side-edge-doted/319498 "2025-03-18T07:56:00Z")

</div>

Hello, Creating a small script I want to display the back side draw line dotted when @model.rendering\_options\[“DrawBackEdges”\] is on. thanks see attach image require 'sketchup.rb' module BoundingBoxViewer clas…

---

## [Dynamic box with divisions](https://forums.sketchup.com/t/dynamic-box-with-divisions/214027)

<div class="topic-metadata">

**Author:** [@jonaseklundh](https://forums.sketchup.com/u/jonaseklundh)\
**Replies:** 3\
**Last updated:** [November 25, 2022, 10:17pm UTC](https://forums.sketchup.com/t/dynamic-box-with-divisions/214027 "2022-11-25T22:17:07Z")

</div>

I have a simple box as a dynamic component with a user selection for how many divisions it should have. Then the division is copied this many times and spaced appropriately inside the larger box, no problem. Now I would…

---

## [Bulk Purge / Purge Multiple Files](https://forums.sketchup.com/t/bulk-purge-purge-multiple-files/136511)

<div class="topic-metadata">

**Author:** [@pcamis](https://forums.sketchup.com/u/pcamis)\
**Replies:** 2\
**Last updated:** [November 18, 2020, 12:30pm UTC](https://forums.sketchup.com/t/bulk-purge-purge-multiple-files/136511 "2020-11-18T12:30:53Z")

</div>

We have multiple versions of a file that all need to be cleaned up. Is there a way to batch purge multiple files? If there is a way to script this, I have a list of file names & paths on which to execute the purge comma…

---

## [Can we write scripts running in background to generate 3D model?](https://forums.sketchup.com/t/can-we-write-scripts-running-in-background-to-generate-3d-model/103495)

<div class="topic-metadata">

**Author:** [@wentao.job](https://forums.sketchup.com/u/wentao.job)\
**Replies:** 10\
**Last updated:** [January 22, 2020, 8:32pm UTC](https://forums.sketchup.com/t/can-we-write-scripts-running-in-background-to-generate-3d-model/103495 "2020-01-22T20:32:17Z")

</div>

Sorry if this question is confusing as I’m totally new to SketchUp. We are in a project to create 3D model of a Data Center room. There’re rows of racks and each rack has several servers. We have enough data to draw thi…

---

## [Tutorial: How to Write a Short Script for Selecting SketchUp Outer Edges. (v0.0.3)](https://forums.sketchup.com/t/tutorial-how-to-write-a-short-script-for-selecting-sketchup-outer-edges-v0-0-3/88991)

<div class="topic-metadata">

**Author:** [@indie3d](https://forums.sketchup.com/u/indie3d)\
**Replies:** 3\
**Last updated:** [February 23, 2019, 12:11pm UTC](https://forums.sketchup.com/t/tutorial-how-to-write-a-short-script-for-selecting-sketchup-outer-edges-v0-0-3/88991 "2019-02-23T12:11:58Z")

</div>

How to Write a SketchUp Script for Select Outer Edges. Thank you for viewing my tutorial! My name is Rafael Rivera and I am a developer who loves SketchUp and I hope you can learn some basics in scripting so you can acce…

---

## [Seeking Guidance for Randomly-Generated House Modeling](https://forums.sketchup.com/t/seeking-guidance-for-randomly-generated-house-modeling/72595)

<div class="topic-metadata">

**Author:** [@JimmyPrince](https://forums.sketchup.com/u/JimmyPrince)\
**Replies:** 1\
**Last updated:** [July 19, 2018, 10:08pm UTC](https://forums.sketchup.com/t/seeking-guidance-for-randomly-generated-house-modeling/72595 "2018-07-19T22:08:47Z")

</div>

Seeking Guidance for Randomly-Generated House Modeling Hello! I’m new here and I’m beginning a project that I expect will take me some time to accomplish, so I want a little guidance. The purpose of this project is to …

---

## [SketchUp scripting tutorial for beginners!](https://forums.sketchup.com/t/sketchup-scripting-tutorial-for-beginners/68037)

<div class="topic-metadata">

**Author:** [@indie3d](https://forums.sketchup.com/u/indie3d)\
**Replies:** 5\
**Last updated:** [May 8, 2018, 10:17pm UTC](https://forums.sketchup.com/t/sketchup-scripting-tutorial-for-beginners/68037 "2018-05-08T22:17:19Z")

</div>

Hi, I am creating a new blog to share some secrets on how to accelerate your #SketchUp workflow by automating tasks with simple to write #Ruby scripts. Coding can be intimidating, but my goal is to provide bite-sized…

---

## [How can I manipulate textures and materials with HtmlDialog?](https://forums.sketchup.com/t/how-can-i-manipulate-textures-and-materials-with-htmldialog/55407)

<div class="topic-metadata">

**Author:** [@giorgiosaints](https://forums.sketchup.com/u/giorgiosaints)\
**Replies:** 2\
**Last updated:** [November 17, 2017, 5:54pm UTC](https://forums.sketchup.com/t/how-can-i-manipulate-textures-and-materials-with-htmldialog/55407 "2017-11-17T17:54:35Z")

</div>

Hi guys, I need to create a HtmlDialog to colorize and add textures. I searched a lot, but I didn’t find nothing that would help me :frowning: I have this HtmlDialog to create this feature: Where do I start? I saw …

---

## [Possible to call call existing Sketchup functions from a Script](https://forums.sketchup.com/t/possible-to-call-call-existing-sketchup-functions-from-a-script/55265)

<div class="topic-metadata">

**Author:** [@AAcevedo](https://forums.sketchup.com/u/AAcevedo)\
**Replies:** 11\
**Last updated:** [November 17, 2017, 11:22am UTC](https://forums.sketchup.com/t/possible-to-call-call-existing-sketchup-functions-from-a-script/55265 "2017-11-17T11:22:39Z")

</div>

Hello Everyone! Do you know if there’s a way to call an existing Sketchup function from a Ruby Script? For example, if you context-click a Component that’s been scaled and rotated, one of the commands is “Scale Definit…

---

## [Script Draw in a Dynamic Component](https://forums.sketchup.com/t/script-draw-in-a-dynamic-component/48113)

<div class="topic-metadata">

**Author:** [@House](https://forums.sketchup.com/u/House)\
**Replies:** 8\
**Last updated:** [September 1, 2017, 7:04pm UTC](https://forums.sketchup.com/t/script-draw-in-a-dynamic-component/48113 "2017-09-01T19:04:38Z")

</div>

Is it possible to delete and redraw a cube by a script (which is inside a dynamic component) when there is a modification of the dynamic component. If so, give me a hint, how to do it?
