dotNetObject:Autodesk.Max.Wrappers.Interface Error


#1

Does any of you know whay this code:

(
	globalInstance = (dotNetClass "Autodesk.Max.GlobalInterface").instance
	oldSnapAngle = globalInstance.coreinterface7.SnapAngle_ as float
	format "Old Snap Angle: % \n" oldSnapAngle
	globalInstance.coreinterface7.SnapAngle_ = 3.5
)

gives this error:

-- Error occurred in anonymous codeblock; filename: C:\Users\MMM\Desktop\GetSnapAngle_01.ms; position: 2; line: 1

-- MAXScript FileIn Exception:

-- Unknown property: "SnapAngle_" in dotNetObject:Autodesk.Max.Wrappers.Interface

-- MAXScript callstack:

--             thread data: threadID:17672

--             ------------------------------------------------------

--             [stack level: 0]

--             In anonymous codeblock; filename: C:\Users\MMM\Desktop\GetSnapAngle_01.ms; position: 143; line: 3

--                             Locals:

--                                             globalInstance: dotNetObject:Autodesk.Max.__Global

--                                             oldSnapAngle: undefined

--                             Externals:

--             ------------------------------------------------------

--             [stack level: 1]

--             called from top-level

3ds Max 2020.2


#2
globalInstance = (dotNetClass "Autodesk.Max.GlobalInterface").instance
globalInstance.coreinterface7.SnapAngle_

sounds like “SnapAngle_” is not a property any more in your version of max


#3

I don’t get any error in Max 2020.2


#4

i don’t have the error either in 2016


#5

I also don’t get any error in max 2020.2 but this error occurs on another person’s PC and his max 2020.2.
Is there any chance third party tool to “override” the “SnapAngle_”?


#6

it seems like your client uses another interface


#7

Is this possible? 3ds Max to be shipped with two different interfaces?


#8

no. but in code there might be mistake. your client has to show you whole error log.


#9

This is the whole error log. Nothing else is printed in the maxscript listener.


#10

what is this line?

ask him/her to go to the listener and execute the line:

(dotNetClass "Autodesk.Max.GlobalInterface").instance.coreinterface7.SnapAngle_

it will show the issue


#11

This is the code that I posted inmy first post but saved in a ms file, which I sent to him. Since he run 3ds Max as administrator I suppose that he ran the code by Scripting - Run Script.

I suppose that this should show if he have SnapAngle_ or not?
(
globalInstance = (dotNetClass “Autodesk.Max.GlobalInterface”).instance
show globalInstance.coreinterface7

)


#12

OK. I will.


#13

Strange:

This is from his max 2020.2(executing this

(
	globalInstance = (dotNetClass "Autodesk.Max.GlobalInterface").instance
	show globalInstance.coreinterface7	
)

)

.AcquireInterface : <Autodesk.Max.IBaseInterface>, read-only

  .ActionManager : <Autodesk.Max.IIActionManager>, read-only

  .ActionTable : <Autodesk.Max.IActionTable>, read-only

  .ActionTable_ : <Autodesk.Max.IActionTable>

  .ActiveGrid : <Autodesk.Max.IINode>

  .ActiveViewExp : <Autodesk.Max.IViewExp>, read-only

  .AmbientController : <Autodesk.Max.IControl>

  .AnimRange : <Autodesk.Max.IInterval>

  .AppHFont : <System.IntPtr>, read-only

  .Atmospherics : <System.Collections.Generic.IList`1[Autodesk.Max.IAtmospheric]>, read-only

  .AutoBackupEnabled : <System.Boolean>, read-only

  .AutoBackupTime : <System.Single>

  .AutoGridEnable : <System.Boolean>

  .AutoGridState : <System.Boolean>

  .AxisConstraints : <System.Int32>

  .AxisTripodLocked : <System.Boolean>, read-only

  .BackGroundController : <Autodesk.Max.IControl>

  .BkgImageAnimate : <System.Boolean>

  .BkgImageAspect : <System.Int32>

  .BkgImageAsset : <Autodesk.Max.MaxSDK.AssetManagement.IAssetUser>, read-only

  .BkgStartTime : <System.Int32>

  .BkgSyncFrame : <System.Int32>

  .Cancel : <System.Boolean>

  .Cd : <Autodesk.Max.IClassDesc>

  .CheckForRenderAbort : <System.Boolean>, read-only

  .CheckForSave : <System.Boolean>, read-only

  .CheckMAXMessages : <System.Boolean>, read-only

  .CommandMode : <Autodesk.Max.ICommandMode>

  .CommandPanelRollup : <Autodesk.Max.IIRollupWindow>, read-only

  .CommandPanelTaskMode : <System.Int32>

  .CommandStackSize : <System.Int32>, read-only

  .ConfigureBitmapPaths : <System.Int32>, read-only

  .ConstantAxisRestriction : <System.Boolean>

 .CoordCenter : <System.Int32>

  .CrossHairCur : <System.Boolean>

  .Crossing : <System.Boolean>, read-only

  .CurEditObject : <Autodesk.Max.IBaseObject>, read-only

  .CurFileName : <System.String>, read-only

  .CurFilePath : <System.String>, read-only

  .CurPickMode : <Autodesk.Max.IPickModeCallback>, read-only

  .CurRenderElementMgr : <Autodesk.Max.IIRenderElementMgr>, read-only

  .CurrentRenderSetting : <Autodesk.Max.RenderSettingID>, read-only

  .CurrentValidityToken : <System.UInt32>, read-only

  .DefaultActions : <Autodesk.Max.IDefaultActionSys>, read-only

  .DeferredPluginLoadingEnabled : <System.Boolean>, read-only

  .Desc : <Autodesk.Max.IFPInterfaceDesc>, read-only

  .Description : <System.IntPtr>

  .DisplayActiveCameraViewWithMultiPassEffect : <System.Boolean>, read-only

  .DllDir : <Autodesk.Max.IDllDir>, read-only

  .DllDirectory : <Autodesk.Max.IDllDir>, read-only

  .Effects : <System.Collections.Generic.IList`1[Autodesk.Max.IEffect]>, read-only

  .Enumerations : <Autodesk.Max.ITab`1[Autodesk.Max.IFPEnum]>

  .EnvironmentMap : <Autodesk.Max.ITexmap>

  .ExtendedDisplayMode : <System.Int32>

  .FileExport : <System.Boolean>, read-only

  .FileImport : <System.Boolean>, read-only

  .FileSave : <System.Boolean>, read-only

  .FileSaveAs : <System.Boolean>, read-only

  .Flags : <System.UInt16>

  .FlyOffTime : <System.Int32>

  .Functions : <Autodesk.Max.ITab`1[Autodesk.Max.IFPFunctionDef]>

  .GlobalShadowGenerator : <Autodesk.Max.IShadowType>

  .GridMajorLines : <System.Int32>, read-only

  .GridSpacing : <System.Single>, read-only

  .HideByCategoryFlags : <Autodesk.Max.NodeHideFlags>, read-only

  .HInstance : <System.IntPtr>, read-only

  .Id : <Autodesk.Max.IInterface_ID>, read-only

  .Id_ : <Autodesk.Max.IInterface_ID>

  .Implementation : <System.Object>, read-only

  .ImportCtxNode : <Autodesk.Max.IINode>, read-only

  .ImportZoomExtents : <System.Boolean>

  .INativeObject__NativePointer : <System.IntPtr>, read-only

  .IncludeXRefsInHierarchy : <System.Boolean>

  .InProgressiveMode : <System.Boolean>, read-only

  .InternalName : <System.String>

  .IObjCreate : <Autodesk.Max.IIObjCreate>, read-only

  .IObjParam : <Autodesk.Max.IIObjParam>, read-only

  .IsAnimateEnabled : <System.Boolean>, read-only

  .IsAnimPlaying : <System.Boolean>, read-only

  .IsCPEdgeOnInView : <System.Boolean>, read-only

  .IsNetworkLicense : <System.Boolean>, read-only

  .IsNetworkRenderServer : <System.Boolean>, read-only

  .IsSceneRedrawDisabled : <System.Boolean>, read-only

  .IsTrialLicense : <System.Boolean>, read-only

  .IsViewportMaxed : <System.Boolean>, read-only

  .IsXRefAutoUpdateSuspended : <System.Boolean>, read-only

  .KeyStepsPos : <System.Boolean>

  .KeyStepsRot : <System.Boolean>

  .KeyStepsScale : <System.Boolean>

  .KeyStepsSelOnly : <System.Boolean>

  .KeyStepsUseTrackBar : <System.Boolean>

  .KeyStepsUseTrans : <System.Boolean>

  .LifetimeControl : <Autodesk.Max.BaseInterface.LifetimeType>, read-only

  .LightConeConstraint : <System.Single>, read-only

  .LightLevelController : <Autodesk.Max.IControl>

  .LightTintController : <Autodesk.Max.IControl>

  .Log : <Autodesk.Max.ILogSys>, read-only

  .MacroRecorder : <Autodesk.Max.IMacroRecorder>, read-only

  .MaterialLibrary : <Autodesk.Max.IMtlBaseLib>, read-only

  .MatLibFileName : <System.String>, read-only

  .MAXHWnd : <System.IntPtr>, read-only

  .MEditRendererLocked : <System.Boolean>

  .MEditRendererLockedDefaultValue : <System.Boolean>

  .MenuManager : <Autodesk.Max.IIMenuManager>, read-only

  .MouseManager : <Autodesk.Max.IMouseManager>, read-only

  .NumAtmospheric : <System.Int32>, read-only

  .NumAxis : <System.Int32>, read-only

  .NumberDisplayFilters : <System.Int32>, read-only

  .NumberSelectFilters : <System.Int32>, read-only

  .NumEffects : <System.Int32>, read-only

  .NumSubObjectLevels : <System.Int32>, read-only

  .OsnapManager : <Autodesk.Max.IIOsnapManager>, read-only

  .PlayActiveOnly : <System.Boolean>

  .PlaybackLoop : <System.Boolean>

  .PlaybackSpeed : <System.Int32>

  .PlugInEntryCount : <System.Int32>, read-only

  .Props : <Autodesk.Max.ITab`1[Autodesk.Max.IFPPropDef]>

  .RealTimePlayback : <System.Boolean>

  .RefCoordSys : <System.Int32>

  .RendApect : <System.Single>, read-only

  .RendApertureWidth : <System.Single>

  .RendAtmosphere : <System.Boolean>

  .RendColorCheck : <System.Boolean>

  .RendDeviceBI : <Autodesk.Max.IBitmapInfo>, read-only

  .RendDisplacement : <System.Boolean>

  .RendDither256 : <System.Boolean>, read-only

  .RendDitherTrue : <System.Boolean>

  .RendEffects : <System.Boolean>

  .RendEnd : <System.Int32>

  .RenderPresetsManager : <Autodesk.Max.IIRenderPresetsManager>, read-only

  .RendFieldOrder : <System.Int32>

  .RendFieldRender : <System.Boolean>

  .RendFileBI : <Autodesk.Max.IBitmapInfo>, read-only

  .RendFileNumberBase : <System.Int32>

  .RendForce2Side : <System.Boolean>, read-only

  .RendHeight : <System.Int32>

  .RendHidden : <System.Boolean>

  .RendImageAspect : <System.Single>, read-only

  .RendMultiThread : <System.Boolean>

  .RendNThFrame : <System.Int32>

  .RendNThSerial : <System.Boolean>

  .RendNTSCPal : <System.Int32>

  .RendPickFramesString : <System.String>, read-only

  .RendSaveFile : <System.Boolean>

  .RendShowVFB : <System.Boolean>

  .RendSimplifyAreaLights : <System.Boolean>

  .RendStart : <System.Int32>

  .RendSuperBlack : <System.Boolean>

  .RendSuperBlackThresh : <System.Int32>

  .RendTimeType : <System.Int32>

  .RendUseDevice : <System.Boolean>

  .RendUseNet : <System.Boolean>

  .RendVidCorrectMethod : <System.Int32>

  .RendWidth : <System.Int32>

  .RightClickMenuManager : <Autodesk.Max.IRightClickMenuManager>, read-only

  .Rollout__FPInterfaceDesc : <Autodesk.Max.IRollout>

  .RootNode : <Autodesk.Max.IINode>, read-only

  .SceneMtls : <Autodesk.Max.IMtlBaseLib>, read-only

  .ScenePointer : <Autodesk.Max.IReferenceTarget>, read-only

  .SelectFilter : <System.Int32>

  .SelectionFrozen : <System.Boolean>, read-only

  .SelNodeCount : <System.Int32>, read-only

  .ShowEndResult : <System.Boolean>

  .SkipRenderedFrames : <System.Boolean>

  .SnapMode : <System.Int32>, read-only

  .SnapState : <System.Boolean>, read-only

  .SoundObject : <Autodesk.Max.ISoundObj>

  .SubObjectLevel : <System.Int32>, read-only

  .Time : <System.Int32>, read-only

  .TrackBar : <Autodesk.Max.IITrackBar>, read-only

  .TrackViewRootNode : <Autodesk.Max.IITrackViewNode>, read-only

  .TransformGizmoRestoreAxis : <System.Boolean>

  .UseDraftRenderer : <System.Boolean>

  .UseEnvironmentMap : <System.Boolean>

  .UseTransformGizmo : <System.Boolean>

  .ViewportBGColor : <Autodesk.Max.IPoint3>

  .ViewportLayout : <System.Int32>

This is from my PC:

  .AcquireInterface : <Autodesk.Max.IBaseInterface>, read-only
  .ActionManager : <Autodesk.Max.IIActionManager>, read-only
  .ActionTable : <Autodesk.Max.IActionTable>, read-only
  .ActionTable_ : <Autodesk.Max.IActionTable>
  .ActiveGrid : <Autodesk.Max.IINode>
  .ActiveMtlSlot : <System.Int32>
  .ActiveViewExp : <Autodesk.Max.IViewExp>, read-only
  .ActiveViewportIndex : <System.Int32>, read-only
  .ActiveViewportLabel : <System.String>, read-only
  .ActiveViewportRenderLevel : <System.Int32>
  .ActiveViewportShowEdgeFaces : <System.Boolean>
  .ActiveViewportTransparencyLevel : <System.Int32>
  .AffectChildren : <System.Boolean>
  .AmbientController : <Autodesk.Max.IControl>
  .AnimRange : <Autodesk.Max.IInterval>
  .AppHFont : <System.IntPtr>, read-only
  .ASnapStatus : <System.Int32>, read-only
  .Atmospherics : <System.Collections.Generic.IList`1[Autodesk.Max.IAtmospheric]>, read-only
  .AutoBackupEnabled : <System.Boolean>, read-only
  .AutoBackupTime : <System.Single>
  .AutoGridEnable : <System.Boolean>
  .AutoGridState : <System.Boolean>
  .AxisConstraints : <System.Int32>
  .AxisTripodLocked : <System.Boolean>, read-only
  .BackGroundController : <Autodesk.Max.IControl>
  .BkgImageAnimate : <System.Boolean>
  .BkgImageAspect : <System.Int32>
  .BkgImageAsset : <Autodesk.Max.MaxSDK.AssetManagement.IAssetUser>, read-only
  .BkgStartTime : <System.Int32>
  .BkgSyncFrame : <System.Int32>
  .Cancel : <System.Boolean>
  .Cd : <Autodesk.Max.IClassDesc>
  .CheckForRenderAbort : <System.Boolean>, read-only
  .CheckForSave : <System.Boolean>, read-only
  .CheckMAXMessages : <System.Boolean>, read-only
  .CmdPanelOpen : <System.Boolean>
  .CommandMode : <Autodesk.Max.ICommandMode>
  .CommandPanelRollup : <Autodesk.Max.IIRollupWindow>, read-only
  .CommandPanelTaskMode : <System.Int32>
  .CommandStackSize : <System.Int32>, read-only
  .ConfigureBitmapPaths : <System.Int32>, read-only
  .ConstantAxisRestriction : <System.Boolean>
  .CoordCenter : <System.Int32>
  .CrossHairCur : <System.Boolean>
  .Crossing : <System.Boolean>, read-only
  .CurEditObject : <Autodesk.Max.IBaseObject>, read-only
  .CurFileName : <System.String>, read-only
  .CurFilePath : <System.String>, read-only
  .CurPickMode : <Autodesk.Max.IPickModeCallback>, read-only
  .CurRenderElementMgr : <Autodesk.Max.IIRenderElementMgr>, read-only
  .CurrentRenderSetting : <Autodesk.Max.RenderSettingID>, read-only
  .CurrentValidityToken : <System.UInt32>, read-only
  .DefaultActions : <Autodesk.Max.IDefaultActionSys>, read-only
  .DeferredPluginLoadingEnabled : <System.Boolean>, read-only
  .Desc : <Autodesk.Max.IFPInterfaceDesc>, read-only
  .Description : <System.IntPtr>
  .DisplayActiveCameraViewWithMultiPassEffect : <System.Boolean>, read-only
  .DllDir : <Autodesk.Max.IDllDir>, read-only
  .DllDirectory : <Autodesk.Max.IDllDir>, read-only
  .DrawingEnabled : <System.Boolean>, read-only
  .DualPlanes : <System.Boolean>
  .Effects : <System.Collections.Generic.IList`1[Autodesk.Max.IEffect]>, read-only
  .Enumerations : <Autodesk.Max.ITab`1[Autodesk.Max.IFPEnum]>
  .EnvEffectsDialogOpen : <System.Boolean>, read-only
  .EnvironmentMap : <Autodesk.Max.ITexmap>
  .ExpertMode : <System.Int32>
  .ExtendedDisplayMode : <System.Int32>
  .FileExport : <System.Boolean>, read-only
  .FileImport : <System.Boolean>, read-only
  .FileSave : <System.Boolean>, read-only
  .FileSaveAs : <System.Boolean>, read-only
  .Flags : <System.UInt16>
  .FlyOffTime : <System.Int32>
  .Functions : <Autodesk.Max.ITab`1[Autodesk.Max.IFPFunctionDef]>
  .GlobalShadowGenerator : <Autodesk.Max.IShadowType>
  .GridIntens : <System.Single>
  .GridMajorLines : <System.Int32>, read-only
  .GridSpacing : <System.Single>, read-only
  .HideByCategoryFlags : <Autodesk.Max.NodeHideFlags>, read-only
  .HideFrozen : <System.Boolean>, read-only
  .HInstance : <System.IntPtr>, read-only
  .Id : <Autodesk.Max.IInterface_ID>, read-only
  .Id_ : <Autodesk.Max.IInterface_ID>
  .ImageAspRatio : <System.Single>
  .IMenu : <Autodesk.Max.IIMenu>, read-only
  .IMenuItem : <Autodesk.Max.IIMenuItem>, read-only
  .Implementation : <System.Object>, read-only
  .ImportCtxNode : <Autodesk.Max.IINode>, read-only
  .ImportZoomExtents : <System.Boolean>
  .INativeObject__NativePointer : <System.IntPtr>, read-only
  .IncludeXRefsInHierarchy : <System.Boolean>
  .InManipMode : <System.Boolean>, read-only
  .InProgressiveMode : <System.Boolean>, read-only
  .InternalName : <System.String>
  .IObjCreate : <Autodesk.Max.IIObjCreate>, read-only
  .IObjParam : <Autodesk.Max.IIObjParam>, read-only
  .IsAnimateEnabled : <System.Boolean>, read-only
  .IsAnimPlaying : <System.Boolean>, read-only
  .IsCPEdgeOnInView : <System.Boolean>, read-only
  .IsCreatingObject_ : <System.Boolean>, read-only
  .IsEditing : <System.Boolean>, read-only
  .IsMtlDlgShowing : <System.Boolean>, read-only
  .IsNetworkLicense : <System.Boolean>, read-only
  .IsNetworkRenderServer : <System.Boolean>, read-only
  .IsRenderActive : <System.Boolean>, read-only
  .IsSceneRedrawDisabled : <System.Boolean>, read-only
  .IsTrialLicense : <System.Boolean>, read-only
  .IsViewportMaxed : <System.Boolean>, read-only
  .IsXRefAutoUpdateSuspended : <System.Boolean>, read-only
  .KeyStepsPos : <System.Boolean>
  .KeyStepsRot : <System.Boolean>
  .KeyStepsScale : <System.Boolean>
  .KeyStepsSelOnly : <System.Boolean>
  .KeyStepsUseTrackBar : <System.Boolean>
  .KeyStepsUseTrans : <System.Boolean>
  .LastRenderedImage : <Autodesk.Max.IBitmap>, read-only
  .LifetimeControl : <Autodesk.Max.BaseInterface.LifetimeType>, read-only
  .LightConeConstraint : <System.Single>, read-only
  .LightLevelController : <Autodesk.Max.IControl>
  .LightTintController : <Autodesk.Max.IControl>
  .ListenerMiniHWnd : <System.IntPtr>
  .LockImageAspRatio : <System.Boolean>
  .LockPixelAspRatio : <System.Boolean>
  .Log : <Autodesk.Max.ILogSys>, read-only
  .MacroRecorder : <Autodesk.Max.IMacroRecorder>, read-only
  .MaterialLibrary : <Autodesk.Max.IMtlBaseLib>, read-only
  .MatLibFileName : <System.String>, read-only
  .MAXHWnd : <System.IntPtr>, read-only
  .MAXIniFile : <System.String>, read-only
  .MAXScriptPrefs : <Autodesk.Max.IMAXScriptPrefs>, read-only
  .MEditRendererLocked : <System.Boolean>
  .MEditRendererLockedDefaultValue : <System.Boolean>
  .MenuManager : <Autodesk.Max.IIMenuManager>, read-only
  .MouseManager : <Autodesk.Max.IMouseManager>, read-only
  .NumAtmospheric : <System.Int32>, read-only
  .NumAxis : <System.Int32>, read-only
  .NumberDisplayFilters : <System.Int32>, read-only
  .NumberSelectFilters : <System.Int32>, read-only
  .NumEffects : <System.Int32>, read-only
  .NumMtlSlots : <System.Int32>, read-only
  .NumSchematicViews : <System.Int32>, read-only
  .NumSubObjectLevels : <System.Int32>, read-only
  .NumTrackViews : <System.Int32>, read-only
  .NumViewports : <System.Int32>, read-only
  .OsnapManager : <Autodesk.Max.IIOsnapManager>, read-only
  .PivotMode : <Autodesk.Max.Interface7.PivotMode>
  .PixelAspRatio : <System.Single>
  .PlayActiveOnly : <System.Boolean>
  .PlaybackLoop : <System.Boolean>
  .PlaybackSpeed : <System.Int32>
  .PlugInEntryCount : <System.Int32>, read-only
  .Props : <Autodesk.Max.ITab`1[Autodesk.Max.IFPPropDef]>
  .PSnapStatus : <System.Int32>, read-only
  .QuitingApp : <System.Boolean>, read-only
  .RealTimePlayback : <System.Boolean>
  .RefCoordNode : <Autodesk.Max.IINode>, read-only
  .RefCoordSys : <System.Int32>
  .RendApect : <System.Single>, read-only
  .RendApertureWidth : <System.Single>
  .RendAtmosphere : <System.Boolean>
  .RendColorCheck : <System.Boolean>
  .RendDeviceBI : <Autodesk.Max.IBitmapInfo>, read-only
  .RendDisplacement : <System.Boolean>
  .RendDither256 : <System.Boolean>, read-only
  .RendDitherTrue : <System.Boolean>
  .RendEffects : <System.Boolean>
  .RendEnd : <System.Int32>
  .RenderDialogOpen : <System.Boolean>, read-only
  .RenderPresetsManager : <Autodesk.Max.IIRenderPresetsManager>, read-only
  .RenderType : <System.Int32>
  .RendFieldOrder : <System.Int32>
  .RendFieldRender : <System.Boolean>
  .RendFileBI : <Autodesk.Max.IBitmapInfo>, read-only
  .RendFileNumberBase : <System.Int32>
  .RendForce2Side : <System.Boolean>, read-only
  .RendHeight : <System.Int32>
  .RendHidden : <System.Boolean>
  .RendImageAspect : <System.Single>, read-only
  .RendMultiThread : <System.Boolean>
  .RendNThFrame : <System.Int32>
  .RendNThSerial : <System.Boolean>
  .RendNTSCPal : <System.Int32>
  .RendPickFramesString : <System.String>, read-only
  .RendSaveFile : <System.Boolean>
  .RendShowVFB : <System.Boolean>
  .RendSimplifyAreaLights : <System.Boolean>
  .RendStart : <System.Int32>
  .RendSuperBlack : <System.Boolean>
  .RendSuperBlackThresh : <System.Int32>
  .RendTimeType : <System.Int32>
  .RendUseDevice : <System.Boolean>
  .RendUseNet : <System.Boolean>
  .RendVidCorrectMethod : <System.Int32>
  .RendWidth : <System.Int32>
  .RightClickMenuManager : <Autodesk.Max.IRightClickMenuManager>, read-only
  .Rollout__FPInterfaceDesc : <Autodesk.Max.IRollout>
  .RootNode : <Autodesk.Max.IINode>, read-only
  .Scene : <Autodesk.Max.IIScene>, read-only
  .SceneMtls : <Autodesk.Max.IMtlBaseLib>, read-only
  .ScenePointer : <Autodesk.Max.IReferenceTarget>, read-only
  .SceneResetting : <System.Boolean>, read-only
  .SelectFilter : <System.Int32>
  .SelectionFrozen : <System.Boolean>, read-only
  .SelNodeCount : <System.Int32>, read-only
  .ShouldContinueRenderOnError : <System.Boolean>, read-only
  .ShowEndResult : <System.Boolean>
  .SkipRenderedFrames : <System.Boolean>
  .SnapActive : <System.Boolean>
  .SnapAngle_ : <System.Single>
  .SnapMode : <System.Int32>, read-only
  .SnapPercent_ : <System.Single>
  .SnapState : <System.Boolean>, read-only
  .SnapType : <System.Int32>
  .SoundObject : <Autodesk.Max.ISoundObj>
  .StatusPanelHWnd : <System.IntPtr>, read-only
  .SubObjectLevel : <System.Int32>, read-only
  .Time : <System.Int32>, read-only
  .TrackBar : <Autodesk.Max.IITrackBar>, read-only
  .TrackViewRootNode : <Autodesk.Max.IITrackViewNode>, read-only
  .TransformGizmoRestoreAxis : <System.Boolean>
  .UseDraftRenderer : <System.Boolean>
  .UseEnvironmentMap : <System.Boolean>
  .UseGridColor : <System.Boolean>
  .UseTransformGizmo : <System.Boolean>
  .ViewPanelHWnd : <System.IntPtr>, read-only
  .ViewportBGColor : <Autodesk.Max.IPoint3>
  .ViewportLayout : <System.Int32>
  .WhiteOrigin : <System.Boolean>
  .XRefRenderBegin : <System.Boolean>, read-only
true

I have .SnapAngle_ he don’t have it.

This is as a result of the code that denis suggested:

-- Error occurred in anonymous codeblock; filename: C:\Users\Massimo\Desktop\ShowInterface_02.ms; position: 2; line: 1

-- MAXScript FileIn Exception:

-- Unknown property: "SnapAngle_" in dotNetObject:Autodesk.Max.Wrappers.Interface

-- MAXScript callstack:

--             thread data: threadID:12252

--             ------------------------------------------------------

--             [stack level: 0]

--             In anonymous codeblock; filename: C:\Users\Massimo\Desktop\ShowInterface_02.ms; position: 3; line: 1

--                             Locals:

--                             Externals:

--             ------------------------------------------------------

--             [stack level: 1]

--             called from top-level

#14

In total show globalInstance.coreinterface7 prints 177 properties on his PC and 229 on mine PC.


#15
filename: C:\Users\Massimo\Desktop\ShowInterface_02.ms; position: 2; line: 1

why is the filename again? just execute the line… don’t run any file


#16

this is not good. suggest the client to reinstall MAX or (if possible) install the most recent SP for this version


#17

This is the problem:

If I unsintall keyhydra I don’t have this issue anymore


#18

ask him to send you the DLL from his system… check size, date


#19

do you really need it ? :grimacing:
you have it now… are you happy?


#20

He have KeyHidra installed bacause he is the owner of KeyHidra. :slight_smile: