Inventor General

Reply
Distinguished Mentor
pcrawley
Posts: 670
Registered: ‎05-23-2002
Message 1 of 6 (1,061 Views)
Accepted Solution

How do you change the browser node name in a drawing?

1061 Views, 5 Replies
05-18-2013 01:40 PM

Can anyone point me in the right direction for a line of Inventor 2013 iLogic that can change the browser node name of an IDW please?

 

Specifically, I'm only interested in changing this:

Browser-node-name.png

I know how it's set by default, but someone has managed to fix their template so it only ever shows "A3 template" in this field.  consequently, this problem now persists throughout hundreds of drawings. If I can fix it with a line of  iLogic, then the wickedly awesome CodeInjector can be used for fixing all the drawings.

 

Thanks in advance.

Peter

Peter
*Expert Elite*
Mark_Wigan
Posts: 437
Registered: ‎03-07-2006
Message 2 of 6 (1,046 Views)

Re: How do you change the browser node name in a drawing?

05-19-2013 12:22 AM in reply to: pcrawley

if its typed in it will stay until it is cleared. (eg to do this manually for a single drawing, two slow left clicks on the node, to highlight the text, then delete the text and hit enter)

 

 

the following is a macro i use for the API, not iLogic.

 Some clues from this may begin to help though ?

 

Public Sub Clear_DisplayName()
Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument
Debug.Print "Displayname = " & oDoc.DisplayName
oDoc.DisplayName = ""
oDoc.Update
End Sub

best regards,
- Mark

PDSU 2014 Windows 7, 64bit. (please consider Kudos or Tag as Solved if your issue is sorted)

Distinguished Mentor
pcrawley
Posts: 670
Registered: ‎05-23-2002
Message 3 of 6 (1,017 Views)

Re: How do you change the browser node name in a drawing?

05-19-2013 02:35 PM in reply to: Mark_Wigan

Perfect - thanks Mark.

 

Just in case anyone else is looking for this, here's the equivalent iLogic that sets the display name = iProperty Part Number (which it should be by default!):

 

oDoc = ThisApplication.ActiveDocument
MessageBox.Show("Displayname = " & oDoc.DisplayName, "iLogic")
'Set display name = iProperty "Part Number"
oDoc.DisplayName = iProperties.Value("Project", "Part Number")

 

 

Peter
Contributor
ankersen
Posts: 11
Registered: ‎11-21-2006
Message 4 of 6 (966 Views)

Re: How do you change the browser node name in a drawing?

05-30-2013 06:23 AM in reply to: pcrawley

I have this problem on a few drawings.  How can I reset back to the default manually?

When I do as stated above, (highlight & delete) it does not default back to the org. Drawing file name.

The image attached shows the file name test3.idw, but the node is test1.  I need to make the node read test3.idw.

*Expert Elite*
Curtis_Waguespack
Posts: 2,802
Registered: ‎03-08-2006
Message 5 of 6 (950 Views)

Re: How do you change the browser node name in a drawing?

05-30-2013 07:05 AM in reply to: ankersen

Hi ankersen,

In a drawing, if you replace the name with a space using the space bar, it should reset fo you. In parts and assemblies, delete the name resets it.

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Contributor
ankersen
Posts: 11
Registered: ‎11-21-2006
Message 6 of 6 (930 Views)

Re: How do you change the browser node name in a drawing?

05-31-2013 05:50 AM in reply to: Curtis_Waguespack
it was the space that I needed. Thank you.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube