Duplicate Model with Attributes

Someone recently asked on the 12d Model Forum how to duplicate a model and also duplicate any model attributes. I’d previously had the same problem and, frustratingly, none of the built-in options in 12d Model will copy the attributes. At least not in one move. There are workarounds with chains and the Attribute Manipulator, but figured it was such an obvious and easy fix that I’d write a 12d Model app. So, here it is. A 12d Model app (aka… Read moreDuplicate Model with Attributes

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.  

Project Name (12d App)

A simple 12d Model application to display the current project’s name, path and whether the project was opened from 12d Synergy.  Useful on space-constrained screens, e.g. survey field tablets, where the full project name and path may not be visible in the window title.

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)

Run command (12d App)

A 12d Model app that runs a command via the Windows command shell (cmd.exe). This effectively is the same as calling the cmd.exe directly with the /C switch, but ensures the arguments are correctly quoted. However, the limitations and restrictions of cmd.exe are still present, so it is worth reading the documentation on that (cmd.exe /? from a command prompt). Example usage: run_cmd.4do “$USER_LIB_4D\\My_batch.bat” You might also be interested in the Open File 12d Model app.