Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
I'm working on Creo Schematics 2 and trying to use the design.getDatatables(condition, true, true) method to search in the central catalog.
I successfully received a result but at least one of them is of type CCItem, which means (as far as I know) that it's in the central catalog, but not loaded yet.
Can you tell me what I can do with the object now? How do I load it into Creo Schematics as a Datatable so I can query it and find its children, etc? I tried CCItem.load, but that just returns null.
Also, why not provide a getDatasets method, rather than getDatatables? The criteria I'm searching for is really in a dataset, which has its own Sys_id, so can be returned as an object. If I just need the Datatable then I can just get its parent.
Thanks in advance,
Martin Kemp