Inventor Customization

Inventor Customization

Reply
New Member
MarioFB
Posts: 1
Registered: ‎09-09-2011
Message 1 of 1 (165 Views)

How to select weld bead with VB.net?

165 Views, 0 Replies
09-09-2011 05:33 AM

I'm trying to create an add-in (VB.net) for direct editing of welds, because it's sometimes difficult to find quickly the right weld in assembly tree. My idea is to have an icon which let the user click on weld to edit.
I have the icon and I know how to select weld(component), but I don't know how to select specific weld bead.
I use this code to select a component:

Dim oComp As ComponentOccurrence
oComp = ThisApplication.CommandManager.Pick( _
SelectionFilterEnum.kAssemblyLeafOccurrenceFilter,_
"Select a weld")

What do I have to change in that code to get it working as I want.



Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.