Hello,
Does any one know how to get the username on an idw?
To be more specific, the user name from the pc which is printing.
Mark
Inventor 2010
PSP-Easy 2010
WIN7
Mark,
Is the username of the PC different then the one you will see under applications options>general tab? Shouldn't be, because that pulls from the PC.
So to get that into your drawing title block is nothing more then editing the definition of the title block and linking the username property to some text within the titleblock.
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
Hi mgeurts,
Please refrain from creating duplicate posts, as it tends to create confusion and often wastes the time of those who are replying to one thread, when the solution is posted at the other.
With that in mind, your other thread has an iLogic solution:
http://forums.autodesk.com/t5/Inventor-Customization/Print-user-name/td-p/4900816
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
As a follow up to what I was writing before, if you go under resources in the browser and edit the titleblock you are using then RC on it as shown below.
When you see your titleblock in the dit mode, either create some text or edit text already existing and select as shown below.
Then when the dialog window appears,
Select the "Type" , "Property" as shown above, and select the down arrow to populate this property into the text.
The "Author" property feeds from the username so it should work for you.
Hope this helps.
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
Hi,
I'm not aware of any use of i-logic in 2010.
Overhere idw's are produced by different people and printed by others.
What i'm looking for is the name on drawing from the one that printed the idw from his station.
Sorry for the cross posting.
I closed the other threat ( http://forums.autodesk.com/t5/Inventor-Customization/Print-user-name/m-p/4900944#M49069 )
Mark
Inventor 2010
PSP-Easy 2010
WIN7
Mark,
The instructions I gave you will work for what you are looking to do.
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
Mike,
Maybe not, but the original posting wanted to know how to get the username into the drawing. Since the "Author" is linked to the username, and when printing, it takes that same username because that is the PC that is printing, it assumes that is the user hitting the print button.
Now , if the OP has a central terminal that is doing all of the printing and everyone has to walk over to it to make their prints, that I can see this being needed, which in this case everyone would, like it has been suggested, run an iLogic routine to determine who is hitting the print button.
Now, if Jeff walks over to your machine Mike and hits the print button, the printer is going to assume you sent it because that is who is logged in.
Maybe I am confused as to what exactly the OP is looking for, because if I am logged into my machine and someone else walks over and hit the print button it is like I said unless I log out and the other user logs in as himself. Then like it has been said, maybe the iLogic is needed to avoid everyone from logging in and out of a machine.
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
Mike,
I think you are half right. The Author is tied to the username which is found in the Applications options under the General tab. Which is tied to the one that installed the software which in turn is tied to the one logged in. All by default with out any changes.
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
No, I'm sure that I'm completely right.
Here is my application options, note my user name:
Here is the iProperties tab of a drawing made by another user on my network, note that it does not equal my user name:
The author property is only updated when the drawing is first created; unless it is changed manually or with iLogic programming.
Mike,
You might be completely right, I am basing my points on the fact that if I was to show you the exact same screen shots both here and at home they would be the same.
Either way, this is probably the best bet for what the OP is looking to do other then through iLogic.
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
@Scott Thanks for the effort.
@Mike Thanks for diggin deeper. To answer your question: we cannot force the board to upgrade.
@Nigel If this is what you mean, could you show how to get it in an idw?
The user name from Inventor's Option page is stored in. You can write it to iproperties then have that shown on your drawing.
iProperties.Value("Summary", "Author")=ThisApplication.GeneralOptions.UserName
Or will give you the windows user
iProperties.Value("Summary", "Author")=Environ("USERNAME")
Regards, Mark
I will try to find it out myself:
http://http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=16459234
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.