Navisworks API

Navisworks API

Reply
Active Member
10 Posts
0 Kudos
Registered: ‎11-22-2011
Post 1 of 2

Looking for a way to turn on/off Xrefs when appending a file with the API

145 Views, 1 Replies
07-25-2012 07:36 AM

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?

ADN Support Specialist
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 2 of 2

Re: Looking for a way to turn on/off Xrefs when appending a file with the API

08-15-2012 11:32 PM in reply to: x2dalyon

Hi,

 

I do not see an API to do this. This option affects all files. 

 

There is a corresponding registry value 

 

lcodpdbx0_param_convert_xrefs:

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.

 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!