Add an option in parts created from derived components to replace the derived component.
This is a good suggestion, I do this now with an iLogic rule, but it would be nice to have it built in.
Dim oDoc as Document oDoc = ThisDoc.Document Dim oRefFile As FileDescriptor Dim oOrigRefName As Object For Each oRefFile In oDoc.file.ReferencedFileDescriptors 'get the full file path to the original internal references oOrigRefName = oRefFile.FullFileName 'present a File Selection dialog Dim oFileDlg As inventor.FileDialog = Nothing InventorVb.Application.CreateFileDialog(oFileDlg) oFileDlg.InitialDirectory = oOrigRefName oFileDlg.CancelError = True On Error Resume Next oFileDlg.ShowOpen() If Err.Number <> 0 Then Return ElseIf oFileDlg.FileName <> "" Then selectedfile = oFileDlg.FileName End if ‘replace the reference oRefFile.ReplaceReference (selectedfile) InventorVb.DocumentUpdate() oOrigRefName = “” Next iLogicVb.UpdateWhenDone = True
Workarounds are not a solution. I just came here looking to post this same idea.
Just like this one: http://forums.autodesk.com/t5/Autodesk-Inventor/Derived-Part-Replace-Model-Reference/m-p/3062998#M40...
Hi all,
thumbs up = Replace Component for Derived Parts
Please solve, change orientation for derived sketch
derived = I would like to tackle it together.
I use multiple solids. Then I use the derived sketch and I can not change orientation
Please write if you solve it. for steven.dennis
Cheers,
Dusan
please kudos
derived = I would like to tackle it together.
Hi,
Version 2021 is already. In what century do you want to implement the code?-)))
Can't find what you're looking for? Ask the community or share your knowledge.