IncludeLibraryContents to include Content Center parts with AcquireFiles()

By Wayne Brill

Recently I had a case where the question was how to download content center parts. I was using code similar to the code in the example on this page and the content center parts were downloading fine from one Vault. In another Vault the content center parts were not getting downloaded. The difference was that in one Vault the Content Center parts were in a Folder and in the other Vault they were in a library. The solution was to include the library with the AcquireFilesSettings by making “IncludeLibraryContents=True”. Here is a snippet that shows this:

oSettings.OptionsRelationshipGathering. _

FileRelationshipSettings.IncludeLibraryContents = True


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading