• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Navisworks API

    Reply
    Active Member
    x2dalyon
    Posts: 10
    Registered: ‎11-22-2011

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

    88 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?

    Please use plain text.
    ADN Support Specialist
    xiaodong.liang
    Posts: 861
    Registered: ‎06-12-2011

    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

    Please use plain text.