Jump to content
dugg

Change File Properties

Recommended Posts

dugg

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?

Share this post


Link to post
Share on other sites
ReMark

What OS are you running?

Share this post


Link to post
Share on other sites
envisioncad

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

Share this post


Link to post
Share on other sites
dugg
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?

Share this post


Link to post
Share on other sites
dugg
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?

Share this post


Link to post
Share on other sites
envisioncad

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

Share this post


Link to post
Share on other sites
dugg

Thanks for your help on this Bob.

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...