[Closed] Pathname for User Root Directory?
How does one get to the Users plugcfg folder via getDir? I noticed of course there is #userMacro, #userScript, ect. for some odd reason no symbolic pathname to the ‘local version’ root or at the least the plugcfg directory?
Not really a big deal just curious if anybody writes there .ini’s to the user plucfg directory instead of the max root plugcfg directory.
thanks,
john
Did you try getDir #plugcfg ? Because it does return the user plugcfg folder path here.
stupid me, actually no I didn’t thanks and that was about as easy as it gets…
reading instead of doing, from the help file: (doesn’t state local or global)
[left]
12 $plugcfg Plugin configurations directory
[/left]
you can also use the PathSDK class in the managedservices.dll for a Dot Net version of this –
show (dotnetclass "managedservices.pathsdk+DirectoryID")
.Animation : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Archives : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Autoback : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Download : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Drivers : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Export : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Expression : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Font : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Help : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Image : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Import : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.ManagedAssemblies : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.MarketDefaults : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.MaterialLibrary : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.MaxData : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.MaxStart : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.MaxSystemRoot : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Photometric : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.PlugInConfig : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Preview : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.ProjectFolder : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Proxies : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.RenderAssets : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.RenderOutput : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.RenderPresets : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Scene : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Scripts : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Sound : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.StartupScripts : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.Temp : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.UI : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.UserIcons : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.UserMacros : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.UserScripts : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.UserStartupScripts : <ManagedServices.PathSDK+DirectoryID>, read-only, static
.VideoPost : <ManagedServices.PathSDK+DirectoryID>, read-only, static
(dotnetclass "managedservices.pathsdk").GetDirectoryPath (dotnetclass "managedservices.pathsdk+DirectoryID").PlugInConfig
"C:\Users\PeteAddington\AppData\Local\Autodesk\3dsMax\2010 - 64bit\enu\plugcfg"