<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have a
python/VTK application with many views, and a large number of actors in each
one of them.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In its
first version, all the data were loaded to the memory at once, during the
initialization of the program.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But as the
amount of data became too large, the program started to crash with the message:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“This
application has requested the Runtime to terminate in an unusual way.”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">To solve
the problem, I decided to remove all the unnecessary actors from the scene, instead
of make them invisible.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Most of
these actors have textures and balloon widgets attached to them.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thus, when
a simply use the command “ren.RemoveActor([actor name])”, the actors in fact disappears,
but some garbage still remain in the memory, and produce the same crash.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I think
that this happens because the balloon widget and texture attached to the actor must
be removed before removing the actor.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Currently,
my problem is that I cannot find a way to remove the textures from my actors.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I tried “RemoveAllTextures()”,
but it doesn’t work.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Could
someone help me with this issue?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in
advance.<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"><br></span></p><p class="MsoNormal"><span lang="EN-US">Mário Sandro.</span></p> </div></body>
</html>