dugg Posted March 3, 2011 Share Posted March 3, 2011 Anyone know how to change the Author and Company name that shows up on the General tab in the File Properties dialog box? It looks like the Author field is tied to my windows username. I'd like it to be my full name. The company name shows a company that we once used to be called. We have since merged with another company and the name has changed. I'm guessing this field is tied to the license somehow? Quote Link to comment Share on other sites More sharing options...
ReMark Posted March 3, 2011 Share Posted March 3, 2011 What OS are you running? Quote Link to comment Share on other sites More sharing options...
envisioncad Posted March 3, 2011 Share Posted March 3, 2011 Hi Dugg, you can create a mvba to run on the files. Something like: Sub PropertiesDGN() ActiveDesignFile.Author = "Bob Mecham" ActiveDesignFile.Company = "EnvisionCAD" ActiveDesignFile.Client = "WisDOT" MsgBox ActiveDesignFile.Author End Sub OR clear any other properties using this code Sub clearProperties() ActiveDesignFile.Comments = "" ActiveDesignFile.Keywords = "" ActiveDesignFile.Manager = "" ActiveDesignFile.Subject = "" ActiveDesignFile.Title = "" End Sub Once you have the MVBA then you can batch process all the files at once. HTH, Bob Mecham Quote Link to comment Share on other sites More sharing options...
dugg Posted March 3, 2011 Author Share Posted March 3, 2011 What OS are you running? I am using the Microsoft Vista operating system. I did change my user account name btw and that didn't change anything if that is where you are headed with your question? Quote Link to comment Share on other sites More sharing options...
dugg Posted March 3, 2011 Author Share Posted March 3, 2011 Hi Dugg, you can create a mvba to run on the files. Something like: Sub PropertiesDGN() ActiveDesignFile.Author = "Bob Mecham" ActiveDesignFile.Company = "EnvisionCAD" ActiveDesignFile.Client = "WisDOT" MsgBox ActiveDesignFile.Author End Sub OR clear any other properties using this code Sub clearProperties() ActiveDesignFile.Comments = "" ActiveDesignFile.Keywords = "" ActiveDesignFile.Manager = "" ActiveDesignFile.Subject = "" ActiveDesignFile.Title = "" End Sub Once you have the MVBA then you can batch process all the files at once. HTH, Bob Mecham Thanks Bob. I will use this if I ever need to change existing files. I'm more concerned with the files I create from here on out. Can I put this section... ActiveDesignFile.Author = "Bob Mecham" ActiveDesignFile.Company = "EnvisionCAD" ActiveDesignFile.Client = "WisDOT" in a configuration file somewhere? Quote Link to comment Share on other sites More sharing options...
envisioncad Posted March 4, 2011 Share Posted March 4, 2011 dugg, you are correct the company name is coming from the license server and the username is coming from your pc. There are no variables to help you populate the properties when you create a new file. The only thing I can suggest at this point is batch process the files when you are done. Sorry, Bob Mecham Quote Link to comment Share on other sites More sharing options...
dugg Posted March 4, 2011 Author Share Posted March 4, 2011 Thanks for your help on this Bob. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.