Launch EXE after MSI Install

To run any application after the installation is complete,

  1. Right-click on your setup project, click on Custom Actions.
  2. Then right-click on Commit, Add Custom Action, and choose the file you would like to run. (Note that it has to be in your application folder already, which shouldn’t be a problem in your case since you are running your program anyway.
  3. Simply choose the output of your project.
  4. Then, click on this added .exe, and change InstallerClass to false. This is crucial because it will look for an installer program otherwise.
  5. You could even pass parameters to your .exe by adding them to the Arguments property

Autocad and Civil 3D .Net API Updates

I build applications with the C# language and work in the .Net (dot-net) Framework, a language-neutral system developed by Microsoft. Nearly every modern application that provides customization through an API accommodates this. These include Microsoft products, Adobe products, Google, Apple, Samsung, Unity, Esri, and many more. Autodesk has some of the strongest documentation and is incredibly friendly for customization through their API. However, they rearrange their online locations often. So, to capture new additions to the API I am adding them here as I find/receive them.

Civil 3D 2018 API Update

http://help.autodesk.com/view/CIV3D/2018/ENU/?guid=GUID-6D41D043-4958-40B7-9C7E-45A6D780955B

Civil 3D 2019 API Update

http://help.autodesk.com/view/CIV3D/2019/ENU/?guid=GUID-6D41D043-4958-40B7-9C7E-45A6D780955B

Civil 3D 2020 API Update

http://help.autodesk.com/view/CIV3D/2020/ENU/?guid=GUID-6D41D043-4958-40B7-9C7E-45A6D780955B

Civil 3D 2021 API Update

http://help.autodesk.com/view/CIV3D/2021/ENU/?guid=GUID-6D41D043-4958-40B7-9C7E-45A6D780955B

Autocad 2018 API Update

http://help.autodesk.com/view/OARX/2018/ENU/?guid=OREFNET-What_s_New

Autocad 2019 API Update

http://help.autodesk.com/view/OARX/2019/ENU/?guid=OREFNET-What_s_New

Autocad 2020 API Update

http://help.autodesk.com/view/OARX/2020/ENU/?guid=OARX-ManagedRefGuide-What_s_New

Autocad 2021 API Update

http://help.autodesk.com/view/OARX/2021/ENU/?guid=OARX-ManagedRefGuide-What_s_New

Material Design

substance

For many applications there’s little reason to design materials anymore.  There are libraries of so many available it’s just not necessary anymore.  From an artistic view it is still very fun.  If you want this Substance material please feel free to download it here

Digital Renaissance, an AI Revolution

InfluenceEmpathy

Industry leaders in AI gave the power to artists/creatives to create anything they want in 2020, and anyone in the world who wants to can create anything they can imagine. It’s incredibly cheap, and the will of the creator only limits the level of power and quality. That is why the decade following 2020 will be a digital renaissance, an AI revolution of content that will arrive from surprising places. Like Microsoft or Apple, creators will emerge from garages, studio apartments, and basements to produce content everyone loves and likely build their empires of investment and revenue.

However, this means that buildings and technology are no longer limiters, and creators have to revert to the very foundation of everything: influencing empathy. The CEO wants you to empathize with their goals, the player with their strength and skill, the architect with his home, the animator with his character. The power of the creator, the power of the artist, is the ability to influence empathy, and artists understand and have a unique set of skills to do that. It will be more important than ever to build those skills.

One of the most potent ways to influence empathy and emotion is color. For example, see the figure above. Whether a person knows it or not, the colors of the images trigger emotion at sub-conscience levels.  You hate one, you love one, you think one is cool, or that others were a waist of time.  That is the power of art, the artist, and creativity.

 

Twinmotion, Flowscape, and Visual Art

Desert.PNG

Photo_3376x1368_2019-09-28_14-13-38

Recently both Twinmotion and Flowscape have been introduced to the digital artists’ arsenal. The developer of Flowscape calls the software a game, at least on their Discord channel. To be honest I think it’s just a money grab. Truth is who would play a game just building landscapes that they could use for nothing. Maybe I just don’t get it. The power of the software is its ability to create appealing surreal animated landscapes extremely quickly while giving the users the ability to import their own OBJ files. While there are technical aspects to the import (outlined on the developers’ Discord), once it’s figured out this software can be used for hundreds of applications related to visual and digital art.

Twinmotion’s library and ease of use make it a viable solution for archviz on a budget. Until now, there weren’t many options for architectural rendering that allowed the import of architectural files that didn’t cost several thousand dollars a year. I believe the makers of Twinmotion understood as technology has grown this shouldn’t be the case anymore and are working hard to develop a more applicable solution for smaller teams which will democratize the field, even more, making it accessible to anyone around the world.

 

C++ and the Unreal API

Of course, I’d fall in love with Unreal as a C# programmer. I mean, who doesn’t want to take the most difficult path to everything, am I right? Since I refuse to let my obsession of Unreal go away (primarily due to its volume effects and lighting/sky system), I had to dive into their API trying to understand the architecture. Thankfully, the basics of C++ and C# aren’t that different. That wasn’t the case when I went from Lisp to C#. That alone puts me light years ahead of where I was when I started with C#. For example, I didn’t expect to be able to understand the tutorial I followed to construct a C++ Unreal project with a pickup system and custom blueprint in a matter of a few hours.

The system I constructed involves a C++ project using the First Person Template. The person walks around picking up industrial-like barrels. I began the project using Unreal Engine 4.22. Since the tutorial I found was about four years old, the code had to be modified/corrected due to API changes over the years.

industrial barrels

The first step was to generate a new class in the editor.

editor

After that it was a matter of locating the correct classes to include and adding the text in the below images to the header (.h) and cpp files.

header

cppfile.JPG

In a few hours, I completed the task I set out to do and am confident that I can dive and start to push things considerably further. It took me a few years with C# and various APIs before I got to that same level of confidence. Since I can’t up and quit my career to find a mentor, I pursue this stuff on my own.  Because of that, I was hesitant to dive into something new. Now, I’m more excited than ever to figure out the API behind Unreal.

Dynamo for Civil 3D Part 4 – Node Colors

Personalizing content is often why people dive into customization.   I noticed a few examples online with different colors for their nodes in Dynamo.  It turns out we can adjust the theme and colors by altering the DynamoColorsandBrushes.xaml file here: Autodesk 2019\AutoCAD 2020\C3D\Dynamo\Core\UI\Themes\Modern. Unfortunately, to see the updates we have to close out Dynamo and Civil 3D then reopen them both.

example