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
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).
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.
Source code of Add Trimesh Attributes application for 12d Model. !! 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).
A 12d Model app to add basic properties of a trimesh, such as volume, surface area and centroid, as attributes on the trimesh. This allows such 3d solids to be more easily and conveniently exported to other software as part of a BIM process. Features: Full source code included Volume (only valid, closed trimeshes will have a volume) Surface area Closed state – is the trimesh closed? Centroid XYZ Currently, this adds the attributes as string attributes to the same… Read moreAdd Trimesh Attributes (12d App)