cmdImport = (Rhino.Command("!_ImportDimStyles", “strDesktop”, “_Enter”))
I cannot for the life of me figure out the syntax to input the string from folder1 and hit enter…
strDesktop = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & “\TemplatesForRhino\DimStyle.3dm”
I also cannot find a way to access %userprofile% to bypass username and go straight to desktop.
I have messed with the syntax for 2 hours. Can’t get it right… Anyone steer me in the right direction?