Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I'm using FindUsingPoint to find Assembly Occurencces
Inventor.SelectionFilterEnum[] filter; filter = new Inventor.SelectionFilterEnum[1] { Inventor.SelectionFilterEnum.kAssemblyOccurrenceFilter }; Inventor.AssemblyDocument activeEditAsmDoc; activeEditAsmDoc = (Inventor.AssemblyDocument)inventorapp.ActiveEditDocument;
Inventor.AssemblyComponentDefinition oAsmDef; oAsmDef = activeEditAsmDoc.ComponentDefinition; Inventor.ObjectsEnumerator istDaWas; istDaWas = oAsmDef.FindUsingPoint(oBias2, ref filter, suchRadius, false);
Works fine within a top level Assembly (ActiveDocument == ActiveEditDocument).
While in-place editing a sub assembly calling this code FindUsingPoint throws an "ArgumentException".
(oBias2 and suchRadius are tested)
Are there any known issues?
Thanks,
Christoph
Solved! Go to Solution.