Hi All,
I'm new to the navisworks api so forgive me if these questions should be obvious.
I'm devloping a plugin to enhance ifc import into navisworks, primarily at this stage to generate time liner tasks extracted from the 4d information in the IFC file.
I'm creating the nested tasks fine and setting planned dates, but I seem to have problems with finding the existing IFC product in the navis works file. Can I search for products based on the ifc globalID (ie 22hB3s_DbEGuQ7cAsr1wdA )
If I decode it back to a universal GUID (ie 82acb0f6-f8d9-4e43-8687-98adb507a9ca) I seem to be able to on occaision find the element using this:
search.SearchConditions.Add(SearchCondition.HasPropertyByDisplayName("Item", "GUID").EqualValue(VariantData.FromDisplayString(s)));
But it's not working for most objects. Can someone please help with a good strategy for finding this?
I'm also having problems with finding how to set the timelinertask type to values like construct, demolish or temporary.
Thanks in advance for any assistance,
Jon
Solved! Go to Solution.
Solved by GeomGym. Go to Solution.
It seems the unique id works better in manage 2014 which is good.
I still can't see how to set the task type to construct (and I can't see that I can manually set in bulk for multiple tasks).
Thanks in advance,
Jon
Can't find what you're looking for? Ask the community or share your knowledge.