theMCC = dotnet.loadAssembly @ "C:\Program Files\Autodesk\3ds Max 2011\MaxCustomControls.dll"
format "ASSEMBLY PROPERTIES:\n"
showProperties theMCC
format "ASSEMBLY METHODS:\n"
showMethods theMCC
theTypes = theMCC.GetExportedTypes()
for t in theTypes do
(
format "TYPE: \"%\"\n" t.fullname
theObj = try(dotNetObject t.FullName)catch(dotNetClass t.fullname)
format "CONSTRUCTORS:\n"
dotNet.showConstructors theObj
format "PROPERTIES:\n"
showProperties theObj
format "METHODS:\n"
showMethods theObj
format "EVENTS:\n"
showEvents theObj
format "\n\n"
)
|