Journal and view triad?
Journal and view triad?
(OP)
Hi.
Is it possible to switch on and off the view triad by journal?
Thanks in advance
Is it possible to switch on and off the view triad by journal?
Thanks in advance
----
kukelyk





RE: Journal and view triad?
CODE --> c#
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; } }Suresh
www.technisites.com.au
RE: Journal and view triad?
Can I run it from journal?
----
kukelyk
RE: Journal and view triad?
Suresh
www.technisites.com.au
RE: Journal and view triad?
----
kukelyk