# Simulation Modeling Toolkit (SMTK)

**URL:** https://discourse.kitware.com/c/smtk/6.md

[Latest](https://discourse.kitware.com/latest.md) · [Categories](https://discourse.kitware.com/categories.md)

---

## [About the Simulation Modeling Toolkit (SMTK) category](https://discourse.kitware.com/t/about-the-simulation-modeling-toolkit-smtk-category/73)

<div class="topic-metadata">

**Author:** [@brad.davis](https://discourse.kitware.com/u/brad.davis)\
**Replies:** 1\
**Last updated:** [April 7, 2018, 7:51pm UTC](https://discourse.kitware.com/t/about-the-simulation-modeling-toolkit-smtk-category/73 "2018-04-07T19:51:56Z")

</div>

The Simulation Modeling Toolkit is a set of libraries for simulation pre-processing. You can process geometric models, discretizations of those models (meshes), add attributes like boundary conditions, write simulation i…

---

## [ANNSIM 2026 Modeling & Simulation in Medicine Call for Papers SMTK](https://discourse.kitware.com/t/annsim-2026-modeling-simulation-in-medicine-call-for-papers-smtk/1664)

<div class="topic-metadata">

**Author:** [@MichelODU](https://discourse.kitware.com/u/MichelODU)\
**Replies:** 1\
**Last updated:** [January 7, 2026, 8:12pm UTC](https://discourse.kitware.com/t/annsim-2026-modeling-simulation-in-medicine-call-for-papers-smtk/1664 "2026-01-07T20:12:09Z")

</div>

Dear members of the SMTK community, I would like to draw your attention to the Annual Modeling & Simulation (ANNSIM) Conference, which will take place on May 4-7 2026 in Orlando, Florida, as part of which, Prof. Jerzy R…

---

## [How to import a .vtu file programmatically?](https://discourse.kitware.com/t/how-to-import-a-vtu-file-programmatically/1650)

<div class="topic-metadata">

**Author:** [@CsatiZoltan](https://discourse.kitware.com/u/CsatiZoltan)\
**Replies:** 2\
**Last updated:** [December 5, 2025, 4:46am UTC](https://discourse.kitware.com/t/how-to-import-a-vtu-file-programmatically/1650 "2025-12-05T04:46:35Z")

</div>

Hi, When I import a VTU file (e.g. the example file data/mesh/3d/nickel\_superalloy.vtu) in CMB, it loads it successfully, displaying the following message in the Output Messages window: INFO: smtk::session::vtk::Import…

---

## [How to create a Resource from a file I loaded with a custom ParaView reader?](https://discourse.kitware.com/t/how-to-create-a-resource-from-a-file-i-loaded-with-a-custom-paraview-reader/1645)

<div class="topic-metadata">

**Author:** [@CsatiZoltan](https://discourse.kitware.com/u/CsatiZoltan)\
**Replies:** 7\
**Last updated:** [November 24, 2025, 2:36pm UTC](https://discourse.kitware.com/t/how-to-create-a-resource-from-a-file-i-loaded-with-a-custom-paraview-reader/1645 "2025-11-24T14:36:52Z")

</div>

Hi, I ported my reader-type ParaView plugin to CMB without any change. It works fine, but the imported mesh does not appear in the “Resources” panel. How can I implement a plugin that imports the mesh in the resources, …

---

## [SMTK documentation is not searchable](https://discourse.kitware.com/t/smtk-documentation-is-not-searchable/1641)

<div class="topic-metadata">

**Author:** [@CsatiZoltan](https://discourse.kitware.com/u/CsatiZoltan)\
**Replies:** 3\
**Last updated:** [November 19, 2025, 2:37pm UTC](https://discourse.kitware.com/t/smtk-documentation-is-not-searchable/1641 "2025-11-19T14:37:27Z")

</div>

Does the search box work for you in the ReadTheDocs documentation of SMTK? For me, whatever I type, it does not load. Tested on Firefox with extensions disabled. It has been showing it for more than ten minutes.

---

## [How to design .sbt files?](https://discourse.kitware.com/t/how-to-design-sbt-files/1648)

<div class="topic-metadata">

**Author:** [@CsatiZoltan](https://discourse.kitware.com/u/CsatiZoltan)\
**Replies:** 1\
**Last updated:** [November 16, 2025, 5:12am UTC](https://discourse.kitware.com/t/how-to-design-sbt-files/1648 "2025-11-16T05:12:34Z")

</div>

I see the following ways to write .sbt files, which are responsible for the automatic creation of GUI widgets in CMB. Write them manually Find a similar example in smtk/data/attribute/attribute\_collection and adapt it…

---

## [SMTK 25.06 has been released!](https://discourse.kitware.com/t/smtk-25-06-has-been-released/1525)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 0\
**Last updated:** [July 3, 2025, 4:44pm UTC](https://discourse.kitware.com/t/smtk-25-06-has-been-released/1525 "2025-07-03T16:44:38Z")

</div>

SMTK 25.06 was tagged on June 30, 2025. You can find more details here.

---

## [building cmb on debian with cmake and ninja](https://discourse.kitware.com/t/building-cmb-on-debian-with-cmake-and-ninja/1507)

<div class="topic-metadata">

**Author:** [@yedigei](https://discourse.kitware.com/u/yedigei)\
**Replies:** 1\
**Last updated:** [June 4, 2025, 10:58am UTC](https://discourse.kitware.com/t/building-cmb-on-debian-with-cmake-and-ninja/1507 "2025-06-04T10:58:43Z")

</div>

I used to follow the instructions in https://gitlab.kitware.com/cmb/cmb-superbuild but both ccmake and make-gui fall on configuration with errors. Here’s the output of ccmake Building projects: cmb, cmbusersguide, py…

---

## [Views for task interaction](https://discourse.kitware.com/t/views-for-task-interaction/1445)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [January 21, 2025, 5:09pm UTC](https://discourse.kitware.com/t/views-for-task-interaction/1445 "2025-01-21T17:09:31Z")

</div>

Component and Resource Visibility One thing that has come up in task-based workflows is the need for users to control visibility of components and resources during specific tasks. We are considering creating a qtBaseView…

---

## [Project Templates](https://discourse.kitware.com/t/project-templates/1461)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 10:29pm UTC](https://discourse.kitware.com/t/project-templates/1461 "2025-02-11T22:29:26Z")

</div>

Currently Projects are defined by a single JSON file and though JSON is an excellent format for machine driven I/O, it can be cumbersome for project designers to define new types of projects and workflows. In addition, t…

---

## [Task editor tooltips](https://discourse.kitware.com/t/task-editor-tooltips/1439)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [January 8, 2025, 7:38pm UTC](https://discourse.kitware.com/t/task-editor-tooltips/1439 "2025-01-08T19:38:12Z")

</div>

I was debugging data-flow in a workflow and found adding an HTML tool-tip to port nodes to be useful to show connections (and when the connected object is a port, the port’s data in their roles) to be useful. In the …

---

## [SMTK Invitation: Modeling and Simulation in Medicine Workshop at ANNSIM 2025](https://discourse.kitware.com/t/smtk-invitation-modeling-and-simulation-in-medicine-workshop-at-annsim-2025/1402)

<div class="topic-metadata">

**Author:** [@MichelODU](https://discourse.kitware.com/u/MichelODU)\
**Replies:** 0\
**Last updated:** [December 9, 2024, 2:22pm UTC](https://discourse.kitware.com/t/smtk-invitation-modeling-and-simulation-in-medicine-workshop-at-annsim-2025/1402 "2024-12-09T14:22:18Z")

</div>

Dear colleagues, this message serves to invite you to submit a paper to the upcoming Modeling and Simulation in Medicine Workshop, within the 2025 ANNSIM Modeling & Simulation conference. 2025 ANNUAL MODELING AND SIMULA…

---

## [Refactoring tasks](https://discourse.kitware.com/t/refactoring-tasks/1355)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 2\
**Last updated:** [November 18, 2024, 4:28pm UTC](https://discourse.kitware.com/t/refactoring-tasks/1355 "2024-11-18T16:28:02Z")

</div>

Problem Description We have customers interested in combining the behaviors of multiple tasks. For example, as part of a single task, users may need to edit an attribute resource as well as run an operation. The task’s s…

---

## [Making Attribute Views Thread-safe](https://discourse.kitware.com/t/making-attribute-views-thread-safe/1335)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 9:18pm UTC](https://discourse.kitware.com/t/making-attribute-views-thread-safe/1335 "2024-08-14T21:18:18Z")

</div>

Currently when the UI sets an Item value of an Attribute, it simply calls the appropriate method on the instance. Prior to asynchronous operations this was the appropriate thing to do. However, since operations can be …

---

## [Supporting Custom Relevancy Functions for Enums](https://discourse.kitware.com/t/supporting-custom-relevancy-functions-for-enums/1312)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 1\
**Last updated:** [June 14, 2024, 7:59pm UTC](https://discourse.kitware.com/t/supporting-custom-relevancy-functions-for-enums/1312 "2024-06-14T19:59:47Z")

</div>

In addition to supporting information with discrete enumerated values, smtk::ValueItem also contains a method that returns a list of relevant enums. In 24.01, an emum value is considered relevant based on the following: …

---

## [Dealing with "Flexible" Units](https://discourse.kitware.com/t/dealing-with-flexible-units/1291)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 9\
**Last updated:** [June 3, 2024, 8:33pm UTC](https://discourse.kitware.com/t/dealing-with-flexible-units/1291 "2024-06-03T20:33:18Z")

</div>

In SMTK, units information can be associated with Attribute Value Items (via their Definitions) and is used make sure that users are setting the Item’s value using units that are comparable with those in its Definition. …

---

## [Expanding Category Constraints](https://discourse.kitware.com/t/expanding-category-constraints/1275)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 9:14pm UTC](https://discourse.kitware.com/t/expanding-category-constraints/1275 "2024-04-16T21:14:25Z")

</div>

Category Constraints indicate if an Attribute or Item is considered relevant based on a set of category strings. Typically this set is represented as the current set of active categories that has been specified by an An…

---

## [Design Proposal for Changing Tasks Workflows (Major Changes)](https://discourse.kitware.com/t/design-proposal-for-changing-tasks-workflows-major-changes/1255)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 2\
**Last updated:** [March 20, 2024, 11:43am UTC](https://discourse.kitware.com/t/design-proposal-for-changing-tasks-workflows-major-changes/1255 "2024-03-20T11:43:15Z")

</div>

This discourse is to discuss possible major changes related to how tasks are connected via adaptors. How Task Workflows are currently modeled in SMTK. In SMTK 24.01, a workflow is represented as a set of Tasks that are …

---

## [Gather Resources Task UI Design](https://discourse.kitware.com/t/gather-resources-task-ui-design/1248)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 1\
**Last updated:** [March 12, 2024, 9:17pm UTC](https://discourse.kitware.com/t/gather-resources-task-ui-design/1248 "2024-03-12T21:17:18Z")

</div>

In the process of designing a User Interface for the Gather Resources Task and there are a couple of architectural issues. The main one is how to display the UI needed to aid the user in selecting Resources from the Pro…

---

## [Cloning resources](https://discourse.kitware.com/t/cloning-resources/1240)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [March 3, 2024, 3:26am UTC](https://discourse.kitware.com/t/cloning-resources/1240 "2024-03-03T03:26:29Z")

</div>

Prior Work Last year, we introduced versioning and document-updating for attribute resources; this allows attribute resources to have a “template type” (which roughly corresponds to a set of definitions) and a “template …

---

## [SMTK 24.01 has been released!](https://discourse.kitware.com/t/smtk-24-01-has-been-released/1207)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 4:57pm UTC](https://discourse.kitware.com/t/smtk-24-01-has-been-released/1207 "2024-02-01T16:57:40Z")

</div>

SMTK 24.01 was tagged on January 26, 2024. You can find more details here.

---

## [Adding task dependencies](https://discourse.kitware.com/t/adding-task-dependencies/1164)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 1\
**Last updated:** [November 29, 2023, 8:39pm UTC](https://discourse.kitware.com/t/adding-task-dependencies/1164 "2023-11-29T20:39:45Z")

</div>

Here is a short video demonstrating how to add a dependency between tasks: as part of smtk!2955. Any operation that creates arcs can be registered to the smtk::operation::ArcCreator group and will appear in the c…

---

## [Updaters and worklets](https://discourse.kitware.com/t/updaters-and-worklets/1151)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 1\
**Last updated:** [November 3, 2023, 5:10pm UTC](https://discourse.kitware.com/t/updaters-and-worklets/1151 "2023-11-03T17:10:37Z")

</div>

Hi @Bob\_Obara, as I am reviewing the worklet MR, I am becoming more sure that smtk::resource::Component should not have a schema and version. If components are going to mirror BRep-like model entities, that would be a lo…

---

## [Adding a python operation to modelbuilder](https://discourse.kitware.com/t/adding-a-python-operation-to-modelbuilder/1146)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [October 31, 2023, 3:23pm UTC](https://discourse.kitware.com/t/adding-a-python-operation-to-modelbuilder/1146 "2023-10-31T15:23:18Z")

</div>

In the past, modelbuilder expected python operations to be registered each time the application was run. But if you place a small bit of code at the bottom of your python operation, you can have it automatically register…

---

## [Adding Task Galleries to Projects](https://discourse.kitware.com/t/adding-task-galleries-to-projects/1143)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 5\
**Last updated:** [October 26, 2023, 2:47pm UTC](https://discourse.kitware.com/t/adding-task-galleries-to-projects/1143 "2023-10-26T14:47:27Z")

</div>

Currently, the user interface support for Task Workflows allows the user to create and follow predefined workflows. Kitware is actively looking to extend this to allow a user to build their own workflows from a gallery …

---

## [Un-completing tasks](https://discourse.kitware.com/t/un-completing-tasks/1091)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 1\
**Last updated:** [October 6, 2023, 6:00pm UTC](https://discourse.kitware.com/t/un-completing-tasks/1091 "2023-10-06T18:00:14Z")

</div>

Recently we’ve been working on the task system to accommodate iterative workflows. There are times when users will complete a task and then work on some task upstream of the completed task. The video below shows how this…

---

## [Extending \`TypeContainer\` for run-time objects](https://discourse.kitware.com/t/extending-typecontainer-for-run-time-objects/1139)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [September 28, 2023, 2:08pm UTC](https://discourse.kitware.com/t/extending-typecontainer-for-run-time-objects/1139 "2023-09-28T14:08:23Z")

</div>

Proposal: Add a RuntimeTypeContainer In order to support run-time arc and node types for graph resources, I’m proposing to create a new RuntimeTypeContainer that inherits TypeContainer: it would hold objects by their e…

---

## [CI for macos](https://discourse.kitware.com/t/ci-for-macos/417)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 7\
**Last updated:** [August 29, 2023, 8:34am UTC](https://discourse.kitware.com/t/ci-for-macos/417 "2023-08-29T08:34:01Z")

</div>

@ben.boeckel Have you seen this project: for cross-compiling macos executables on Linux? I have not tried it, but if it works, it would be a way to keep all the CI build infrastructure in docker containers. If it is …

---

## [Supporting Units in SMTK's Attribute Resource](https://discourse.kitware.com/t/supporting-units-in-smtks-attribute-resource/984)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 16\
**Last updated:** [May 30, 2023, 4:38am UTC](https://discourse.kitware.com/t/supporting-units-in-smtks-attribute-resource/984 "2023-05-30T04:38:25Z")

</div>

Current “Support” of Units In SMTK 23.01, a designer can set the units of any ValueItemDefinition which is the base class used to represent String, Integer, and DoubleItem Definitions. The units are represented as a str…

---

## [Updating PEGTL](https://discourse.kitware.com/t/updating-pegtl/1053)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [July 6, 2023, 3:50am UTC](https://discourse.kitware.com/t/updating-pegtl/1053 "2023-07-06T03:50:41Z")

</div>

Hi all! I’ve updated the CMB superbuild’s version of PEGTL from 2.7.1 to 2.8.3. This also required a small change to SMTK. This was merged so that the CI images generated tonight have a chance at including the latest u…

[Next page](https://discourse.kitware.com/c/smtk/6.md?page=1)
