public NodeReport()
        {
            IGlobal      Global    = Autodesk.Max.GlobalInterface.Instance;
            IInterface13 Interface = Global.COREInterface13;
            IINode       rootNode  = Interface.RootNode;

            GetNodeInfo(rootNode, 0);
        }
Example #2
0
 static Kernel()
 {
     // If this is ever NULL, it is probably because 3ds Max has not yet loaded
     // Autodesk.Max.Wrappers.dll
     _Global    = Autodesk.Max.GlobalInterface.Instance;
     _Interface = _Global.COREInterface13;
     scene      = new Scene(_Interface);
     dispatcher = Dispatcher.CurrentDispatcher;
 }
Example #3
0
 static Kernel()
 {
     // If this is ever NULL, it is probably because 3ds Max has not yet loaded 
     // Autodesk.Max.Wrappers.dll
     _Global = Autodesk.Max.GlobalInterface.Instance;
     _Interface = _Global.COREInterface13;
     scene = new Scene(_Interface);
     dispatcher = Dispatcher.CurrentDispatcher;
 }
        public override void InternalExecute()
        {
            lightNum   = 0;
            lightNames = "";
            IGlobal      Global    = Autodesk.Max.GlobalInterface.Instance;
            IInterface13 Interface = Global.COREInterface13;
            IINode       rootNode  = Interface.RootNode;

            ReportLights(rootNode);
            MessageBox.Show(String.Format("{0} light objects found in the scene.\n {1}", lightNum, lightNames));
        }
Example #5
0
        public UtilityForm(IGlobal global, IIUtil iu)
        {
            InitializeComponent();
            this.global = global;
            i           = global.COREInterface14;
            this.iu     = iu;

            Character = new Character("WalkingCharacterBody", "WalkingCharacterBip", 38);
            Animation = new BindingList <IModifier>();

            Animation.ListChanged         += Animation_ListChanged;
            listBoxAnimation.DataSource    = Animation;
            listBoxAnimation.DisplayMember = "Name";
            listBoxAnimation.ValueMember   = "Name";
        }
Example #6
0
 public Class12(IInterface13 argument13, IInterface27 argument27, IInterface37 argument37)
 {
     Argument13 = argument13;
     Argument27 = argument27;
     Argument37 = argument37;
 }
Example #7
0
 internal Scene(IInterface13 x)
 {
     scene          = x.Scene;
     sceneRootNode  = Animatable.CreateWrapper <Node>(x.RootNode);
     sceneRefTarget = Animatable.CreateWrapper <ReferenceTarget>(x.ScenePointer);
 }
Example #8
0
 public Interface14_Impl1(IInterface13 interfaceInjectedValue, Interface13_Impl1 nonInterfaceInjectedValue)
 {
     InterfaceInjectedValue    = interfaceInjectedValue;
     NonInterfaceInjectedValue = nonInterfaceInjectedValue;
 }
Example #9
0
 public ROD_ExportG()
 {
     maxGlobal = Autodesk.Max.GlobalInterface.Instance;
     maxInterface = maxGlobal.COREInterface13;
     IPoint3 U = maxGlobal.Point3.Create(1.0, 0.0, 0.0);
     IPoint3 V = maxGlobal.Point3.Create(0.0, 0.0, 1.0);
     IPoint3 N = maxGlobal.Point3.Create(0.0, -1.0, 0.0);
     IPoint3 T = maxGlobal.Point3.Create(0.0, 0.0, 0.0);
     _leftHanded = maxGlobal.Matrix3.Create(U, V, N, T);
     _GleftHanded = maxGlobal.GMatrix.Create(_leftHanded);
 }