ok I'm getting into C# those days and here is my question:
works fine in one line, but:
is there a better way?
Code:
CATIA.ActiveWindow.Layout = catWindowSpecsOnly
works fine in one line, but:
Code:
INFITF.Application myCatia = (INFITF.Application)System.Runtime.InteropServices.Marshal.GetActiveObject("Catia.Application");
INFITF.SpecsAndGeomWindow theWindow = (INFITF.SpecsAndGeomWindow) myCatia.ActiveWindow;
theWindow.Layout = (INFITF.CatSpecsAndGeomWindowLayout) 0 ; // the value of catWindowSpecsOnly
is there a better way?
Eric N.
indocti discant et ament meminisse periti
indocti discant et ament meminisse periti