Jump to content

Change File Properties


dugg

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...