Re: Visualpython-users Digest, Vol 54, Issue 4

Kadir Haldenbilen <khaldenbilen-/[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
John,

I do not know how you change the pos or axis of your arrow but,
let's assume:

aa = arrow(pos=pos, axis=axis)

then, if you change pos and axis like:

aa.pos = newpos
aa.axis = newaxis

the position and the axis of the original (one and only) arrow should be 
changing as you like, without needing any delete / define.

Kadir




________________________________
From: John Doe <[email protected]>
To: visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Sent: Sun, November 14, 2010 9:37:03 PM
Subject: Re: [Visualpython-users] Visualpython-users Digest, Vol 54, Issue 4

Bruce,

I need to delete or clear the arrow because everytime I try to change
the pos or axis, another (a new) arrow appears in that position.  So
then I have several arrows; I only want one.  This is why I need a
clear or delete function for the arrow.

John

On 11/13/10, visualpython-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
<visualpython-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> wrote:
> Send Visualpython-users mailing list submissions to
>     visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>     https://lists.sourceforge.net/lists/listinfo/visualpython-users
> or, via email, send a message with subject or body 'help' to
>     visualpython-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
> You can reach the person managing the list at
>     visualpython-users-owner-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Visualpython-users digest..."
>
>
> Today's Topics:
>
>    1. Re: VPython clear drawing (Bruce Sherwood)
>    2. VPython - Slackware 13.1 (Sergio Mira)
>    3. Re: VPython - Slackware 13.1 (Bruce Sherwood)
>    4. install glitch and some code (kirby urner)
>    5. Re: install glitch and some code (Bruce Sherwood)
>    6. Re: install glitch and some code (kirby urner)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Nov 2010 20:03:37 -0700
> From: Bruce Sherwood <[email protected]>
> Subject: Re: [Visualpython-users] VPython clear drawing
> To: visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Message-ID:
>     <AANLkTinDVf0EyBEC4zVRY6TSPgEM=FxF5P3U8NBLQeXo-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> It sounds like what you want to do is not delete the arrow but simply
> change its pos and/or axis and/or color attributes. There is no need
> to delete the arrow.
>
> Bruce Sherwood
>
> On Thu, Nov 11, 2010 at 6:34 PM, John Doe <[email protected]> wrote:
>> I have been searching the VPython documentation, and have not been
>> able to find a method to clear drawings.
>>
>> For example, if I were to draw the arrow from the documentation
>> (http://vpython.org/contents/docs/visual/arrow.html), is it possible
>> for me to clear the drawing and plot another arrow at another
>> coordinate? ?Currently, I have been only able to plot arrows on-top of
>> each other.
>>
>> If not, is there a visual.pointer(clear) or visual.pointer(clear)?
>>
>> Thanks,
>> John

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev

_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.