Tried to build the Customized Feature "PolygonalHole" example given in
C:\Program Files\Siemens\NX 11.0\UGOPEN\SampleNXOpenApplications\C++\CustomFea
Q1: The below files are included in the cpp. Where the location of these files in the installed NX?
Q2: Are the "Customized feature NXOpen C# libraries" exposed in this version (NX11) so that I could create one?
The pk_... headers are part of the Parasolid Toolkit, which is a completely separate product from NX Open.
Some of the Custom Features examples have this note in the README.txt file:
1: This example requires parasolid library and header files which are compatible with the NX version on which custom feature will be used and is to be obtained by users from Parasolid.
Unfortunately this note was not included in all of the examples that should have it, such as the one that you are trying to use.
How to add a warning message to a custom feature?
I would like to set a "Warning Message" under certain conditions during feature update so that it is visible on the feature entry displayed in the part navigator.
Used Feature.LogDiagnostic() method in NXOpen C#. The message is displayed in the Part Navigator when moving the cursor onto a Feature entry. But, I am not seeing the "Warning Alert" image on the navigator. Any help?
You need to specify last argument to LogDiagnostic as NXOpen::Features::Feature:: DiagnosticType::Warning. This should show Warning Alert Image on Part navigator node for feature