Month: April 2019

Designer Vs Automation

What is design? I view design as a problem solving activity; where the intent is to reverse the effects of the problem. Further, I think of creativity in problem solving as an overall character evaluated by two parameters: utilization of resources (quantitative/ordinal), and beauty (qualitative/nominal). The first is maximized by meeting the required goal(s) while […]

Google Sheets To CATIA Via EKL

REST, Representation State Transfer, is a pattern for making APIs (Application Programming Interfaces) that can serve clients (callers of that API). They’re used for web-services. REST’s pattern includes methods names and parameters. You send requests and receive responses. REST APIs typically include six methods: Delete, Get, Link, Patch, Post, and Put. These API Calls are […]

Automation APIs For CATIA

CATIA exposes some of its engine’s functionality to 3rd party developers via APIs– Application Programming Interfaces. It does that by providing what is known as: – Packages for EKL, KML, and CATRules. – DLLs (dynamically loaded libraries) for VBA, VSTA(C-Sharp), and CATScript. – Header files for C++, along with additionals DLLs. xGenerative Design xGenerative Design […]

Walking CATIA’s Trees with C-Sharp

In the post on CATIA Automation APIs, I described the languages one can use to automate CATIA. In this post, we’ll learn how to walk a CATIA tree using C-sharp. I assume that the readers is somewhat familiar with Object Oriented Programming concepts. API CHM (Compiled HTML) Document Before we start, let’s take how to […]

Ice-ray Recursive Grammar

I previously showed two examples on implementing recursion using iteration: Walking CATIA trees, and generating Fibonacci-number series. In this post, I’ll demonstrate generating geometric designs recursively using a combination of UDFs, Power Copies, and Knowledge Patterns. The strategy for implementing recursion through iteration is quite simple: operate on one set of elements; where every iterations […]

CopyPaste With EKL

I recently received a question on how to program copy-paste in EKL. While EKL does not support clipboard operations, it offers two options to deliver what is required. Let’s take a look. Use EKL To Recreate Datum Here, we rely on creating datum objects using the new method, then setting the newly created objects to […]