hi,
I have the same problem.
To be sure all files will be unique, I need to rename all files in the Frame and I don't how to do that and it is possible.
Thanks
Gots
Have you try to use the FileDescriptor.ReplaceReference
Private Sub Replace_ref(ByVal CurFullFileName As String, ByVal NewFullFileName As String)
Dim odoc As Document
Set odoc = ThisApplication.ActiveDocument
Dim oFile As Inventor.file
Set oFile = odoc.file
Dim oFileDescriptor As Inventor.FileDescriptor
For Each oFileDescriptor In oFile.ReferencedFileDescriptors
If oFileDescriptor.FullFileName = CurFullFileName Then
Call oFileDescriptor.ReplaceReference(NewFullFileName)
End If
Next
End Sub
René J
Hi
I already use this functoin and this is not enough...
Manualy in Inventor, I cannot save as some files (skelton files) and replace them.
I heared about tool "Copy Design", but it doesn't work for this files or I don't know how use it.
Thanks
the CopyDesign tool works great for copying frame generated files and can go from the assembly file down or also from drawing level down if you do some adjustments to the program. Frame generator adds lots of stuff that looks like GUIDs to attributes and also to custom properties that all must match when you are done.
Can't find what you're looking for? Ask the community or share your knowledge.