<div>Done!</div>
<div> </div>
<div>Thanks, </div>
<div>Jacques<br><br></div>
<div class="gmail_quote">2008/12/11 Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Ah...that seems to be a bug. CreateRepresentation() should have<br>handled that case. Can you please add a bug report to the bug tracker<br>
so that we can address this in the next release.<br><br>Thanks<br>Utkarsh<br>
<div>
<div></div>
<div class="Wj3C7c"><br>On Thu, Dec 11, 2008 at 4:49 AM, Jacques Papper<br><<a href="mailto:jacques.papper@gmail.com">jacques.papper@gmail.com</a>> wrote:<br>> Hi all,<br>><br>> Following a previous email, the CreateRepresenation(view, textsource)<br>
> command does not seem to work for me in python.<br>><br>> The following though works :<br>><br>> legend =<br>> servermanager.sources.TextSource(registrationGroup='sources',registationName='legend')<br>
> legend.Text = "BLABLA BLA"<br>><br>> legendrep = servermanager.rendering.TextSourceRepresentation()<br>> legendrep.Input = legend<br>><br>> legendrep.UpdateVTKObjects()<br>><br>> view.Representations.append(legendrep)<br>
><br>><br>> Any explanations ?<br>><br></div></div>> _______________________________________________<br>> ParaView mailing list<br>> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>><br>><br></blockquote></div><br>