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 […]
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 […]
In my post on Interactive Computation I argued for building automation bots, explorers. The goal is to strike a balance between interactivity and integrating suer feedback on one side; and automation using a set of instruction on the other. The argument is based on looking at design as a problem solving activity. In this post, […]
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.
CATIA Parameters are Features of type ValuePointer. They hold collections of Literal values, called AuthorizedValues, or a single Literal value. In the case of List Parameters, they can hold both Literal values and Feature objects. Getting Value Pointers ValuePointer features are accessed through their Owner using their Name attribute. For example, the Parameters nodes in […]
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 […]
In this post we look at a simple Knowledge Pattern to generate division points on an input curve by specifying the maximum allowable spacing between points. We then embed this Knowledge Pattern inside a Powercopy for fast and efficient re-use.
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 […]
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) […]
I recently received a question on how to take advantage of CATIA’s Knowledgeware, and how it may be put to work within a design workflow. I’ll answer the question by expanding on a couple of ideas followed by one workflow example (which is just one of many other possibilities). Two Ideas: I believe knowledge-ware is […]