kukelyk
Industrial
- Mar 21, 2005
- 315
Hi.
Is it possible to switch on and off the view triad by journal?
Thanks in advance
----
kukelyk
Is it possible to switch on and off the view triad by journal?
Thanks in advance
----
kukelyk
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
using System;
using NXOpen;
public class ViewTriadHideNShow
{
public static void Main(string[] args)
{
Session theSession = Session.GetSession();
UI theUI = UI.GetUI();
NXOpen.Preferences.SessionPreferences sesPrefs = theSession.Preferences;
sesPrefs.ScreenVisualization.TriadVisibility = 0;
theUI.NXMessageBox.Show("Triad", NXMessageBox.DialogType.Information, "Turned Off now");
sesPrefs.ScreenVisualization.TriadVisibility = 1;
}
public static int GetUnloadOption(string dummy) { return (int)Session.LibraryUnloadOption.Immediately; }
}