Rename Browser Nodes

Rename Browser Nodes

ludesroc
Advocate Advocate
1,291 Views
3 Replies
Message 1 of 4

Rename Browser Nodes

ludesroc
Advocate
Advocate
I'm using Inventor 2010 and I would like to know if the new command (Rename Browser Nodes) is available trough the API?

Something like this...

' Rename the browser nodes using PartNumber.

' Set the control definition command.
Dim oRenameControlDef As ControlDefinition
Set oRenameControlDef = ThisApplication.CommandManager.ControlDefinitions.Item"RenameBrowserNodes")
oRenameControlDef.Execute

Ludesroc
Ludesroc
0 Likes
1,292 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
It is possible to invoke this command through the API, but that will just
result in the dialog being displayed. There's not a way to control the
command through the API. However, the actual work that the command does can
be easily accomplished through the API since you have access to the
information that can be used to create the name and you can change the name
of an occurrence.
--
Brian Ekins
Inventor API Product Designer
http://blogs.autodesk.com/modthemachine
0 Likes
Message 3 of 4

ludesroc
Advocate
Advocate
Thanks Brian,

Actually, I wanted to save me some work...but I guess I would have to do it the hard way 🙂

Regards,
Ludesroc
Ludesroc
0 Likes
Message 4 of 4

Anonymous
Not applicable
Maybe I am missing what you want to do, but you might look at the macro
called Rename Browser by Matt Hutchinson on my web site.
http://www.kwikmcad.com/icode/macros.asp

--
KWiKMcad
Kent Keller
"ludesroc" wrote in message news:[email protected]...
I'm using Inventor 2010 and I would like to know if the new command (Rename
Browser Nodes) is available trough the API?

Something like this...

' Rename the browser nodes using PartNumber.

' Set the control definition command.
Dim oRenameControlDef As ControlDefinition
Set oRenameControlDef =
ThisApplication.CommandManager.ControlDefinitions.Item"RenameBrowserNodes")
oRenameControlDef.Execute

Ludesroc
0 Likes