Model Duplicate with Attributes Source Code (12d App)

Source code of Model Duplicate with Attributes application for 12d Model. Dependencies: set_ups.h – Available in your 12d Model install folder standard_library.h – Available on the 12d Forum here:  https://forums.12dmodel.com/viewtopic.php?t=1196 !! NOTE !! These files cannot be directly run from within 12d Model. For that, you need the compiled version here or you need to compile it yourself (Utilities→Macros→Compile from the 12d Model menus).

Model Duplicate with Attributes (12d App)

Compiled 12d Model application (aka macro) simply duplicates a given model to a new model with an option to also copy model attributes.  Options in 12d Model currently (V14C2j) allow for duplicating of models, but none support also copying over the model attributes.  The model attributes can be used for storing various meta-data and user-defined information, but are also used extensively by the Three Waters tools in 12d Model, particularly the stormwater drainage analysis.  

Set and Change Parameter Values in Chains

One of the great features in 12d Model for streamlining and automating repetitive processes is chains. They allow you to wrap up a set of processes, actions or steps, add some smarts and run them all as one entity. For more about what chains can do and how they can be used, I’d recommend reading my previous post, Introduction to Chains . In today’s post, I’ll be covering one of the advanced features of chains- parameters- and how we can… Read moreSet and Change Parameter Values in Chains

Chain Custom Values (12d App)

A 12d Model application design to be used in chains for displaying values and capturing those values in parameters. This works similarly to the Chain Custom Prompts app, but is not intended for user interaction. Rather, the idea is that the chain author will provide the values to be displayed in the panel with the intention of capturing them in a parameter. This is sometimes required because there is not currently (V14C2h) an in-built Set Parameter Value command. As such,… Read moreChain Custom Values (12d App)

Chain Custom Prompt (12d App)

A 12d Model app that builds and displays a user-definable panel (i.e. Graphical User Interface (GUI)). The primary purpose of this macro is for use in chains as a replacement or extension of the Prompt command. This macro is intended to provide the chain author with the full range of GUI fields (aka widgets) available and able to be used in a prompt to the user. In this way, the chain author is able to present a consistent interface to… Read moreChain Custom Prompt (12d App)