Nipactivity Catia New <Working ✯>
CATNIPActivity *pNIPAct = new CATNIPActivity("MyBatchHealing"); pNIPAct -> SetMode(NIP_No_UI); // Crucial for "New" silent mode You must feed the NIPActivity a CATCommand GUID or a Knowledgeware Script Path . For example, to open a part and run a heal command:
CATCommandHeader header("HealGeometry"); pNIPAct -> AddCommand(header, "C:\MyScripts\HealRules.catvbs"); The older version struggled with multiple documents. The "New" version uses CATListOfCATDocument . nipactivity catia new
delete pNIPAct; The Problem: Every morning, engineers waste 45 minutes regenerating outdated drawings after PDM updates. The Problem: Every morning