Interactive Computation, Examples

I outlined earlier, here and here, the approach that I feel is most suitable for addressing complex design problems that are neither well-defined nor ill-defined. In this post, I’ll briefly describe two examples that represent the idea more concretely. I must note that when these examples were developed, the idea of “interactive computation” was not […]

Visualizing Assemblies

Inspecting large assemblies can be challenging. One way to simplify this task is to hide/show Physical Products, or assign different colors to them. We can do this in EKL using two properties: Show and Color. Show Show is a Boolean property. If set to true, the element will be shown, if false, it will be […]

EKL Rules Explained

A fundamental component of workflow automation within CATIA is the use of EKL Rules. A rule is essentially an EKL script, a set of instructions, which generally consists of conditional statements that control the relationships between different parameters; "if Parameter A is greater than three millimetres, then make Parameter B equal to nine degrees". There is no limit on complexity that can be achieved within rules. As such, EKL Rules are a powerful tool to build complex relationships between parameters and object behaviours within your models.

Reading and Writing to Excel with EKL

Knowledge functions provide the capability to read and write to Excel files and CSVs. Referencing an Excel Document There are four ways an excel document can be referred to. The first two methods described below will allow permanent changes to the file with the Write methods. While the other two methods allow only temporary changes […]

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 […]

Reading An Axis System With EKL

This EKL code shows how to read data from an Axis System object to create corresponding Point object at the origin, as well as XY, YZ, and ZX planes matching those of the axis system. /* inputs: -axis: AxisSystem -geoset: OpenBodyFeature */ let originVector(Vector) let originXmag, originYmag, originZmag(Real) let axMatrix(Matrix) let xxMag, xyMag, xzMag (Real) […]