Display part / assembly properties as browser node + custom browser pane

Display part / assembly properties as browser node + custom browser pane

Anonymous
Not applicable
631 Views
4 Replies
Message 1 of 5

Display part / assembly properties as browser node + custom browser pane

Anonymous
Not applicable

Hello guys,

 

First of all, the boundary conditions:

I'm using Inventor 2014 Professional 64-Bit-Edition

I am working in the assembly environment.

 

I am currently working on the customization of the Inventor browser.

 

I have already successfully created a custom browser pane and added the assembly to it. Now I wanted to add user-defined data to the parts of the assembly. My aim is to create an additional file and relate it to one part of the assembly, so that it is visible and editable as a browser node of the part. I have read that the model browser can not be edited using VBA, so I created this custom browser pane. But it still displays an error message when I try to run the script. Does anyone of you know, if there is another way to do it?

 

My alternative idea is to create parameters in the part iProperties and make them visible and editable as a browser node in the model tree of the part. But again I could not find a way to do it. Is it even possible?

 

A different approach is to create a fully individual browser pane with custom browser nodes. I created them and asked myself what I can do with these nodes once I created them. They are visible in my new browser pane, but I hoped to interact with them, e.g. by placing additional data inside them. My plan is to double-click on the custom browser node and open a new windows where I can specify different properties. Is it therefore possible to add something like a NativeObject to a browser node?

 

I look forward to reading your comments. Thank you very much in advance.

 

 

Best wishes

Sebastian

0 Likes
632 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

*Push*

 

Let me pose the question in short: Is it possible to add the iProperties or the (user-defined) parameters of a part to the model browser?

 

Thank you very much for your help.

0 Likes
Message 3 of 5

ekinsb
Alumni
Alumni

A possible, much simpler solution is to add a custom command to the context menu when the user right-clicks on one of these parts in the existing browser.  You can add to either the round marking menu, or the standard context menu.  You should look at the OnRadialMarkingMenu and OnLinearMarkingMenu events.  These events are fired just before the menu is displayed so you can edit the contents (add or remove items), and then it will be displayed.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 4 of 5

Anonymous
Not applicable

Thank you for your answer. I tried this, but unfortunately this is not what I was looking for. I will stick to my custom browser nodes for now and create my own browser tree in which I can add the name of the iProperties.

0 Likes
Message 5 of 5

Anonymous
Not applicable

We renamed the browser nodes of particular parts based on a user parameter.  The same part may be inserted six times and each part would be renamed based on it's occurrence and an identifier, for examaple , F1, F2, ... F6.

 

Would that be an approach that might be useful for your workflow/procedure?

 

M.

 

 

0 Likes