- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Re-referencing assembly parameter models
Hi there!
I am copying an assembly from a template location to a job location. All of the files are copying over and changing reference just fine except any base model used as a parameter model. The sub assemblies are copying over and the new base model is included but when i check the parameter linked files, they are still referencing the original template base models.
Im looping through All of the leaf references but these are not being included.. Is there something i need to be doing in order to include these? The base models are part files with parameters and are all copying over to the new folder, its the re-linking that seems to be an issue...
Thanks
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @NachitoMax. Maybe you need to also loop each DerivedParameterTable In ComponentDefinition.Parameters.DerivedParameterTables, and work with the DerivedParameterTable.ReferencedDocumentDescriptor, then onto its ReferencedFileDescriptor, and use its FileDescriptor.ReplaceReference method. Just a thought.
Wesley Crihfield
(Not an Autodesk Employee)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Thanks for replying. Its not my assembly and ive been delving a little further. Some of this i feel can be resolved by correctly structuring the assemblies and referencing the files properly. I'll report back on the outcome ![]()
Thanks
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.