NX Feature Templates: Using a Label to show a Warning Message [NX 2206]

Поделиться
HTML-код
  • Опубликовано: 9 июн 2024
  • I got a great question today about whether we could create a Label in a Product Template dialog that would conditionally display a warning message when a particular input is not incorrect. We of course have a variety of automatic checkers built into NX that can display NX Alert messages, but with a little bit of creativity we can certainly do this inside the dialog in a Label as well. This example walks through the basic "Visibility" control first, and then dives deeper into creating a dynamic string in the Label that incorporates an updated Expression value as part of the message string. Please let me know if you find this useful!
  • НаукаНаука

Комментарии • 8

  • @Stocjon1985
    @Stocjon1985 Месяц назад

    Best teacher of NX in YT.

  • @sachinravi9213
    @sachinravi9213 Месяц назад

    Thanks for providing the solution in such a explanatory and easy to understand way sir. Thank you so much 🙏🙏

  • @ThiagoR7767
    @ThiagoR7767 18 дней назад

    Is it possible to block the OK and the Apply buttons when test==false, so the user can't create the part when some parameter is wrong?

    • @taylorandersonnxvideos
      @taylorandersonnxvideos  4 дня назад

      Great question! Most of the parameter entry widgets have the ability to add limits (upper and/or lower) to each input. If one of these limits is exceeded, the OK and APPLY buttons will automatically be disabled, and warning messages about the out-of-range inputs will be displayed. Does that make sense?

  • @michaeleichelberg5291
    @michaeleichelberg5291 Месяц назад

    Hi Taylor, the title of this video is "NX Feature Template ..." but you are showing PTS-Studio. Do we have same function in Feature-Template Author?

    • @taylorandersonnxvideos
      @taylorandersonnxvideos  4 дня назад

      Hi, Michael! Yes, because we're using the common Template Studio Author environment now, this technique works the same for Product Templates, Feature Templates, and Deformable Components. :-)