That's indeed a bug.  Here's a fix:
https://gitlab.kitware.com/paraview/paraview/merge_requests/1955

For your build of ParaView (assuming you are using 5.4), you can load the
adding XML as a plugin and then create the filter. The XML will override
the builtin definition for the proxy and hence will overcome the issue.

Utkarsh

On Mon, Oct 9, 2017 at 12:08 PM, Dani Schmid <[email protected]> wrote:

> Anybody?
>
> Dani
>
> On Sun, Jun 18, 2017 at 2:44 PM, Dani Schmid <[email protected]>
> wrote:
> > Hi,
> >
> > I try to animate a clip through an object by putting a ramp on Clip1 -
> > Clip Type - Offset. This results in an error:
> >
> > vtkPVKeyFrameAnimationCueForProxies (00000192A6D1C570): Cue does not
> > have domain or property set!
> >
> > Animating other properties such as orgin and normals works. The error
> > can be reproduced by adding a sphere, applying a clip, and then adding
> > Clip1 - Clip Type - Offset [-.2 .2] in the animation view. Using the
> > same values as offset values in the Properties of the clip works as
> > expected. What do I do wrong?
> >
> > Cheers,
> >
> > Dani
>
>
>
> --
> Dani Schmid
> Hystadveien 41
> 3208 Sandefjord
> +47 980 00 120
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
<ServerManagerConfiguration>
  <ProxyGroup name="implicit_functions">
    <Proxy class="vtkPVPlane" name="Plane">
      <InputProperty is_internal="1"
                     name="Input"></InputProperty>
      <DoubleVectorProperty command="SetOrigin"
                            default_values="0.0 0.0 0.0"
                            name="Origin"
                            number_of_elements="3">
        <BoundsDomain default_mode="mid"
                      mode="normal"
                      name="range">
          <RequiredProperties>
            <Property function="Input"
                      name="Input" />
          </RequiredProperties>
        </BoundsDomain>
        <Documentation>
          Set the origin of the plane.
        </Documentation>
      </DoubleVectorProperty>
      <DoubleVectorProperty command="SetNormal"
                            default_values="1.0 0.0 0.0"
                            name="Normal"
                            number_of_elements="3">
        <DoubleRangeDomain name="range" />
        <Documentation>
          Set the normal of the plane.  For many filters this also sets the side
          of the plane that is of interest.  The normal points towards the
          "outside" of the plane.
        </Documentation>
      </DoubleVectorProperty>
      <DoubleVectorProperty animateable="1"
                            command="SetOffset"
                            default_values="0.0"
                            name="Offset"
                            number_of_elements="1">
        <DoubleRangeDomain name="range" />
        <Documentation>
          Specify the offset to shift the origin along the direction of the normal by.
        </Documentation>
      </DoubleVectorProperty>

      <PropertyGroup label="Plane Parameters" panel_widget="InteractivePlane">
        <Property function="Origin" name="Origin" />
        <Property function="Normal" name="Normal" />
        <Property function="Input" name="Input" />
      </PropertyGroup>

      <Hints>
        <!-- Hints are metadata associated with the proxy.
             As far as the ServerManager is concerned, Hints have no
             significance. GUI is free to interpret the hints as
             it chooses. Hints provide a mechanism to add some GUI
             pertinant information to the server manager XML.
        -->

        <ProxyList>
          <!--
            ProxyList hints are used when this proxy
            is made a part of a proxy list domain.
            It provides a mechanism to link certain
            properties from this proxy with properties
            from the proxy which has the property
            with the proxy list domain.
          -->
          <Link name="Input"
                with_property="Input" />
        </ProxyList>
      </Hints>
    </Proxy>
  </ProxyGroup>
</ServerManagerConfiguration>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to