NX Using logical IF statements in Feature Based Machining operation add-ons

2024-01-31T09:57:00Z
NX for Manufacturing

Summary


Details

Let's say that we want to control the engage arc of an operation based on some variable. This is done using an add-on of the "NcmDefaultEngage" Type and "EngageRetract_Arc" Class. Trying to combine multiple IF statements in the add-on gives an error and trying to split the logic into multiple add-ons of the same class doesn't work. Is there a way to solve this use case?

Solution

If the same add-on parameter is set more than once, there will be an error. For example first setting a base value and then overriding it in some cases, will result in an error:


Instead, we need to design the logic so the add-on parameter is only set once. In this simple example, that would look something like this:


KB Article ID# PL8771624

Contents

SummaryDetails

Associated Components

Manufacturing General