- Catia - Nip-activity
The finest in writing, since 1989.
' --- Non-Interactive Geometry Definition --- ' Define Rectangle points (No UI popups) Dim factory2D As Factory2D Set factory2D = sketch1.OpenEdition() Dim rect As 2DShape ' Coordinates: (0,0), (100,0), (100,50), (0,50) Set rect = factory2D.CreateClosedRectangle(0, 0, 100, 50) factory2D.CloseEdition
On the 3DEXPERIENCE platform, NIP-Activity is often executed via or Exchange Server processes . A user can submit a "Batch NIP Request" from a web browser. The 3DEXPERIENCE server allocates a worker node (a CATIA engine without a screen), runs the NIP script, handles PLM revision rules, and notifies the user upon completion. NIP-Activity - Catia
Automate the creation of a rectangular pad with fillets. ' --- Non-Interactive Geometry Definition --- ' Define
' Update sketch part1.UpdateObject (sketch1) Automate the creation of a rectangular pad with fillets
' Re-enable interactive mode CATIA.NonInteractive = False End Sub With the shift to Dassault’s 3DEXPERIENCE platform, the concept of NIP-Activity has evolved. It is now integrated into Cloud-Based Batch Management .
There are two primary ways to leverage NIP-Activity: CATIA’s Knowledge Advisor module allows you to create parameters, rules, and checks. A NIP-Activity here can be a Knowledgeware Action that runs a series of geometric modifications without reopening dialogs. For example, you can create a rule that says: "If Thickness < 2mm , then Modify Pad.1 ." When triggered as a NIP-Activity, CATIA updates the geometry instantly in the background. 2. CAA V5 Programming (Advanced) For large-scale deployments, developers use C++ (CAA V5) to create dedicated NIP executables. These programs load a CATIA document, apply a series of transformations (extrudes, fillets, lofts) via the geometric kernel (CGM), and save the result. This is how companies automate CAE mesh preparation or CAD translation. Real-World Use Cases for NIP-Activity Why would a design engineer or PLM manager invest time in NIP-Activity? Here are three compelling scenarios. Case Study 1: Batch Detailing (Drafting) An automotive supplier receives 500 part models per week. Each needs a standard 2D drawing (views, dimensions, annotation). Interactive creation would take 20 minutes per part (166 hours). Using a NIP-Activity script, the server opens each part, applies a pre-defined drawing template, generates front/top/isometric views, applies automatic dimensions via knowledge parameters, and prints to PDF—all without human intervention. Case Study 2: Variant Design (Configurators) A furniture manufacturer has a base chair model with 10,000 potential variants (wood type, armrest style, cushion density). Interactive modeling is impossible. Using NIP-Activity coupled with Excel parameters, CATIA regenerates the 3D model for each variant in seconds. The process defines the specification, runs the NIP-Activity, and exports the STEP file. Case Study 3: Cleanup & Healing Scanned data or imported STEP files often have heal errors. A NIP-Activity can trigger the "Heal Assistant" command, remove duplicate faces, and re-limit surfaces automatically. This runs on a remote server, freeing the engineer’s workstation for creative work. Step-by-Step: Creating a Simple NIP-Activity (Conceptual) Note: A full coding tutorial requires CAA licensing, but the logic flow is universal.
This article will dive deep into what NIP-Activity is, how it functions within the CATIA ecosystem (V5, 3DEXPERIENCE), its practical applications, and a step-by-step guide to implementing it successfully. To appreciate NIP-Activity, one must first distinguish it from standard automation. The Interactive Standard When you manually create a pad, a pocket, or a fillet, CATIA operates in an interactive mode. The system waits for user inputs: clicking faces, entering values, validating the dialog box. A recorded macro of this action captures every UI decision. The NIP-Activity Approach NIP-Activity operates headlessly. It bypasses the graphical user interface entirely. It reads a pre-defined instruction set (via a .CATNip file or CAA-based code) and executes the geometric operation using strictly defined parameters. It does not require CATIA to be visible on screen, nor does it require a mouse cursor.