[Smtk-developers] Operator results with mesh changes

Robert Maynard robert.maynard at kitware.com
Mon May 15 11:18:02 EDT 2017


Yes Collections have a modified flag, and writing it does set it to false.

You can query it with "isModified"

On Mon, May 15, 2017 at 10:32 AM, David Thompson <david.thompson at kitware.com
> wrote:

> Hi TJ,
>
> >
> >> Because I would like to be able to perform existence/location tests on
> the client for CMB v4.
> >
> > Ah, that’s a very good reason! I’ve cc’d Robert because he’s the guy to
> ask, but I can give you my version of an answer.
>
> Also, do mesh Collections have a clean/dirty flag anywhere to indicate
> that they've been modified since the last write?
>
> If so, the WriteMesh operator should probably add this to its
> result-definition:
>
>         <Void Name="cleanse entities" IsEnabledByDefault="true"></Void>
>
> to indicate that the "mesh_modified" entries should be marked clean. (This
> convention is used by model operators such as SaveSMTKModel and
> LoadSMTKModel.)
>
>         David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20170515/46c4aa0d/attachment.html>


More information about the Smtk-developers mailing list