Re: [Paraview] Setting glyph "Scalars" property in a C++ pipeline

2017-10-23 Thread Utkarsh Ayachit
Jimmy, You can use `vtkSMPropertyHelper(glyph, "Scalars").SetInputArrayToProcess(vtkDataObject::POINT, "Diameters")`. Utkarsh On Mon, Oct 23, 2017 at 5:19 AM, A . wrote: > Dear community, > > > I'm having a hard time figuring out how to set the "Scalars" property of

[Paraview] Setting glyph "Scalars" property in a C++ pipeline

2017-10-23 Thread A .
Dear community, I'm having a hard time figuring out how to set the "Scalars" property of a glyph object with the C++ API. In Python it's as easy as: glyph.Scalars=['POINTS', 'ScaleByThis'] In C++ I would assume something like: vtkSMPropertyHelper(glyph, "Scalars", true).Set("['POINTS',