Sorry, I noticed just after I posted. Here is an example of creating a simple FilletFeature on a component within an assembly. In this example, instead of using Pick to get the edge, I had assigned a name to that edge in the part, to make the example easier.
Sub Main
If ThisDoc.Document.DocumentType <> DocumentTypeEnum.kAssemblyDocumentObject Then
MsgBox("An Assembly Document must be active for this rule to work. Exiting.", vbCritical, "")
Exit Sub
End If
Dim oADoc As AssemblyDocument = ThisDoc.Document
Dim oADef As AssemblyComponentDefinition = oADoc.ComponentDefinition
Dim oOccs As ComponentOccurrences = oADef.Occurrences
Dim oOcc As ComponentOccurrence = oOccs.ItemByName("TestPart1:1")
'get edge of component to use as input for the Fillet tool
Dim oTopEdgeProxy As EdgeProxy
Dim oOccDoc As Document = oOcc.ReferencedDocumentDescriptor.ReferencedDocument
Dim oNEs As NamedEntities = iLogicVb.Automation.GetNamedEntities(oOccDoc)
Dim oTopEdge As Edge = oNEs.TryGetEntity("Top Edge")
oOcc.CreateGeometryProxy(oTopEdge, oTopEdgeProxy)
Dim oFilletFeats As FilletFeatures = oADef.Features.FilletFeatures
'Dim oFilletDef As FilletDefinition = oFilletFeats.CreateFilletDefinition
Dim oEdges As EdgeCollection = ThisApplication.TransientObjects.CreateEdgeCollection
oEdges.Add(oTopEdgeProxy)
'oFilletDef.AddConstantRadiusEdgeSet(oEdges, ".25 in")
'Dim oFilletFeat As FilletFeature = oFilletFeats.Add(oFilletDef)
Dim oFilletFeat As FilletFeature = oFilletFeats.AddSimple(oEdges, ".25 in")
End Sub
Wesley Crihfield

(Not an Autodesk Employee)