Author Topic: Visio Animation Template  (Read 81584 times)

0 Members and 1 Guest are viewing this topic.

vojo

  • Hero Member
  • *****
  • Posts: 1528
Visio Animation Template
« on: September 22, 2008, 07:42:18 AM »
So, I got curious about animation with visio.
I put together this template.   The help page should outline how to use it.
Note:
   1. It has VB so if nervous about security or me...then dont use
   2. I freely admit its a bit of hack...all feel free to do whatever you want
   3. I make no claims/guarentees about the correctness/robustness of this template.

All that said....have fun....feedback welcomed, though not sure how much time I can divert to updates
« Last Edit: September 22, 2008, 12:16:17 PM by Visio Guy »

vojo

  • Hero Member
  • *****
  • Posts: 1528
Re: Visio Animation Template
« Reply #1 on: September 24, 2008, 07:54:26 AM »
kind of surprised how quiet this post is.   ???

I would have thought either some good comments or some scorning comments.

BTW, I did play with this using screen video capture...works pretty well.
So you could actual make a wmv file of the animation and include/launch from other apps. 

Anyway....just surprised at the silence...got more comments on the comm pipe efforts (good and bad)
Has somebody done this before or better (I noted the guys from france
that seemed to require the user to click to advance to next step in animation...I also noted some
code Graham's book....so perhaps somebody did something even better?)?

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2955
    • Paul Herber's website
Re: Visio Animation Template
« Reply #2 on: September 24, 2008, 08:25:04 AM »
kind of surprised how quiet this post is.   ???
ham's book....so perhaps somebody did something even better?)?

Sorry, I've only just got around to trying it.
Well, all I can say is wow.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

Michael Dag

  • Jr. Member
  • **
  • Posts: 25
Re: Visio Animation Template
« Reply #3 on: September 24, 2008, 09:14:26 AM »
yeah, wow too here, just trying to understand how you do it...  :o

if I move the lines away, the bulls eye still moves along the original path,
how can you make the bulls eye 'stick' to the line? 
Can it also 'follow' cornered lines like the ones below?

that would really beef up some of the images...


vojo

  • Hero Member
  • *****
  • Posts: 1528
Re: Visio Animation Template
« Reply #4 on: September 24, 2008, 09:52:05 AM »
put the bullseye (at the same or new sim cycle...aka 5 cycles in) over the new location and
right click==>update step

Today, everytime you turn a corner...need to burn another step and cycle....current the max is 20 / bullseye
I am thinking of using the path/paths property to build a "follow the line" approach.
(really depends on if viewed as valuable and my time allows).

Note that the arc settings allows the shape/bullseye to take an elliptcial path to next point.
So for examle if you wanted to do a circle....set start....set halfway...set end (same as start)...run
once then go into bullseye shapesheet and everywhere in scratchD = 0.33....change to 1
scratchD defines the "ellipticalness" of the arc

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3833
  • Ideas Visio-lized into solutions
Re: Visio Animation Template
« Reply #5 on: September 24, 2008, 11:30:02 PM »
Very intriguing!  It took me a while to get up-to-speed, but nice job Vojo.  ;)  This looks like a good topic for Visio Guy to develop and present.   ::)  Not sure everyone realizes there's a zip to download, which you can only see by logging in.  The animation runs very smoothly.  Still trying to absorb it all.   :o

Wapperdude
Visio 2019 Pro

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3833
  • Ideas Visio-lized into solutions
Re: Visio Animation Template
« Reply #6 on: September 25, 2008, 01:47:22 PM »
Hey Vojo --
I wanted to re-visit the comm piping thing, but can't seem to track it down.   :'(

Thanks.
Wapperdude
Visio 2019 Pro

vojo

  • Hero Member
  • *****
  • Posts: 1528
Re: Visio Animation Template
« Reply #7 on: September 25, 2008, 01:56:41 PM »
here you go

remember not for the faint of heart

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1718
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Visio Animation Template
« Reply #8 on: September 25, 2008, 02:44:02 PM »
Very cool stuff vojo!

I've got two items:

1. It's not 100% clear to me what I am animating. Are only bull's eyes animate-able, or am I supposed to put the bull's eye on top of the shape that I want to animate?

2. The animation controls are groups. It's easy to sub-select the bits within the group. You can make it so the sub-shapes don't get selected like this:

  - Select the shape
  - Format > Behavior > Selection = Group only
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

vojo

  • Hero Member
  • *****
  • Posts: 1528
Re: Visio Animation Template
« Reply #9 on: September 25, 2008, 03:21:28 PM »
1.   Bullseye and whatever is joined to that group (add to group).   
      So for example, you could had a server icon to the
      bullseye group....then during animation, both the bullseye and server icon would move
      (help page has an example where a box added to a bullseye...on help page...click the run bar
      and watch it).

2.   Actually cannot since the subshapes act like buttons.   I suppose could let the guy drop button by
      button but that seems tough way to go to me (keep them flat and spaced on the diagram). 
      I would be more inclined to do a menu bar for this
      (did think about it...but the problem was I could not figure out how do the status stuff...sliding
       bar with x of y text).

      if there is another way to do as shapes (for now at least), I am open to it.

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1718
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Visio Animation Template
« Reply #10 on: September 27, 2008, 06:20:14 PM »
You can do the "don't select subshapes" setting on sub-shapes themselves, since you have three levels of grouping. So the button sub-shapes could be set to not allow sub-selection.

You don't have to set this at the top--that would of course make no sense!
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

vojo

  • Hero Member
  • *****
  • Posts: 1528
Re: Visio Animation Template
« Reply #11 on: September 27, 2008, 07:27:33 PM »
fair enough....will play with that tonight.

So I am trying to figure out if this valuable useful.  Right now, there are 2 suggestions:
   - your subshape stuff
   - follow a path option as well others

Will see what I can do with these....other suggestions to make it (more) useful are appreciated.
I dont want this to be some academic exercise...but, rather, something somebody wants to use to solve
a real need they have.   Few of us have the luxory to pursue academic endeavors ;D

davidoff

  • Jr. Member
  • **
  • Posts: 49
Re: Visio Animation Template
« Reply #12 on: January 06, 2009, 05:18:03 AM »
So, I got curious about animation with visio.
I put together this template.   The help page should outline how to use it.
Note:
   1. It has VB so if nervous about security or me...then dont use
   2. I freely admit its a bit of hack...all feel free to do whatever you want
   3. I make no claims/guarentees about the correctness/robustness of this template.

All that said....have fun....feedback welcomed, though not sure how much time I can divert to updates

vojo it's great,
i would like learn how do you managed it ?
Do you use VBA codes for animation ?

vojo

  • Hero Member
  • *****
  • Posts: 1528
Re: Visio Animation Template
« Reply #13 on: January 06, 2009, 08:59:06 AM »
Used VBA to do the heavy lifting

In essence, the template has a stencil that has the dashboard and some specialized shapes.  You drop the animation shape on the static shape.  You trace the animation shape path (move, right click, add step).  When you run the animation from the dashboard, the VBA moves the animation shape along the path you defined.

There are straight/arced paths, show/hide shape, add/delete steps, etc to select from.  If you want to move the static shape with the animation, add it to the group of the animation shape so the whole thing moves.

I have been thinking (have not had much time to try it out) of using the points function in VBA to have
the animation shape follow the static shape path.  Aka the other way around from adding the static
shape to the animation shape (no need to trace path with steps).

The animation uses the timer function in VBA.   Crude but sufficient.

Obviously, if you look at the VBA, you can tell I am not a programmer per se (actually an engineer) so
I am sure there are slicker ways to code this up.  The rest of the VBA is there to make all this come together (each animation shape holds its own path, determine which shapes are animation shapes, etc).

Feel free to play around with it (add to it or pull out what you need).  Be sure that if you add to it, post
it up here for others to use/enhance.   I do think you need this to be a template so the VBA stays with it (take your static diagram and copy / paste into template then add animation....or....create your static diagram in the template to begin with).

good luck.

fritoburrito

  • Guest
Re: Visio Animation Template
« Reply #14 on: September 04, 2010, 11:55:46 AM »
Looks like this thread is a little dusty, but here goes anyway.   The animation effect will be very helpful, thanks for posting this little gem.   

But (yea, there's a but)....I use Rockwell Arena to do sophisticated flow/animations with mathematical analysis, without resorting to VB/macros or etc.  Or at least it takes an extremely sophisticated model before you even consider macros. 

Don't get me wrong, I can't live without Visio (it's a fact), just saying some tools are better suited for certain things.  I do plan to incorporate this technique into future drawings.

Thanks again!