Tag: Knowledge-ware

Knowledge-ware Formulas: Variable, Operators, and Expressions

Formulas are Knowledge-ware objects of type AdvisorFormula, which is a specialized AdvisorRelation. I usually explain formulas as single-line Rules written in EKL*. They serve as the building blocks for constructing complex Parameter relationships. Formulas are composed of variables, operators, and/or functions and methods**. A formula can drive only one parameter. It also must return a […]

Organizing Automation

It is quite tempting to throw all of your EKL code in a single Knowledgeware object– Action, Rule, KnowledgePattern, or Reaction. While convenient, this practice brings many drawbacks. Instead of describing what these are, I will focus instead on describing some programming principles and the benefits they bring. I learned the value of these principles […]

Automating Generative Design for Fabrication

Arguably one of the most powerful Knowledgeware Objects in CATIA is the almighty Engineering Template – an object that allows you to capture entire product structures as a template with dynamic input parameters and attributes. In particular Engineering Templates allow us to capture and re-use manufacturing data relevant to a product including fabrication information, assembly […]

On KAC with Rohan Keswani

I mentioned KAC in a previous blog post on building interactive computational workflows for design. Let’s dive in today with Dassault’s Knowledgeware Portfolio Technical Specialist, Rohan Keswani to understand how it intergates with CATIA. What do you do at Dassault? I have been working in the CATIA R&D Portfolio Management team as a Knowledgeware products […]

On EKL With Thomas Videcoq

I had the oppourtinity to interview Thomas Videcoq, CATIA R&D Knowledge Director at Dassault Systemes. Let’s get to it: What do you do at DS? Can you give a brief history describing your journey? I am the R&D Knowledgeware Director. I’ve been working at Dassault Systemes since 1997 and I started in the Knowledgeware team […]

UDFs, PowerCopies, Knowledge Patterns and Eng. Templates

UDFs, PowerCopies, and Knowledge Patterns (KPT) are knowledge-ware features that can be created under Representation VPMs. Engineering Templates are also knowledge-ware features, but they are created under Product VPMs. The above features allow for building reusable geometric features and assemblies that can adapt and update based on the provided inputs. UDFs User Defined Features, UDFs, […]

What Differentiates EKL?

Having written thousands of lines of codes to automate CAD using RhinoScript (RVB), formZ Scripting Language (FSL), Maya Embedded Language (MEL), Dynamo’s Python and DesignScript, and finally ending with CATIA’s EKL; I’ll describe below what makes EKL stand out for me. Safe And Native Knowledge-ware objects, and the EKL code they contain, are native CATIA […]

Making a Grid of Points in EKL

Writing EKL code requires a Template Designer License, (KDI). It is customary for ones to start their first programming project with a "Hello World". So let’s not break the tradition. Create An Action As mention in earlier, Action objects will be able to create and set features, while Rule objects can only set already existing […]

Behaviors of Knowledge-ware Objects

For a quick introduction to how and where CATIA stores knowledge-ware objects, take a look at this post. EKL (Enterprise Knowledge Language) code can be written within any knowledge-ware Relation, including: Action, Reaction, Check, Rule, KnowlegePattern, and Optimization objects. States Before looking at how these objects differ, lets look at the idea of State. Active […]

Intro to CATIA Programming with EKL

We can delegate tasks to CATIA by communicating our intent in written code. We write code in one of the languages supported by CATIA: C#, BA, VBScript, C++, or EKL (Enterprise Knowledge Language). This post is an introductory to CATIA programming using EKL. As such, concepts that are not applicable to EKL will be omitted. […]