Hi,
we use Navisworks 2012.
We generate NWD files with FBX sources files using API, but when users open files, they have to select View -> Lighting -> "Full Light" for a correct exposed scene.
Is it possible to define this option with API code before saving NWD file ? or is there an option to set it by default in Navisworks 2012 ?
Thanks,
Pascal Guillas.
Solved! Go to Solution.
Solved by ulski1. Go to Solution.
hi,
in the .net API you need to link to the old com api (add ref. to the comapi dlls) after that you can use the following:
using
ComApi = Autodesk.Navisworks.Api.Interop.ComApi;
using
ComApiBridge = Autodesk.Navisworks.Api.ComApi;
//link to COM API
ComApi.InwOpState10 state;
state = ComApiBridge.ComApiBridge.State;
state.CurrentView.ViewPoint.Lighting = ComApi.nwELighting.eLighting_FULL_LIGHTING;
Ulrik