I need to be able to either include Xrefs or not when appending with the API because I have a group of files I am appending and one of them needs Xrefs on and the others need Xrefs off. Anyone know of a way to accomplish this?
I do not see an API to do this. This option affects all files.
There is a corresponding registry value
HKEY_CURRENT_USER\Software\Autodesk\Navisworks Manage x64\10.0\GlobalOptions\file_readers\lcodpdbx0
But it looks it can only affect the behavior before Navisworks launches (like you check/uncheck the option in [Global Options) dialog. It cannot take effect in the lifetime of Navisworks.
Developer Technical Services
Autodesk Developer Network