Moveable Vixen Adju...
 
Notifications
Clear all

Moveable Vixen Adjustable Preview

33 Posts
19 Users
0 Reactions
26.8 K Views
erm213
Posts: 479
(@erm213)
Honorable Member
Joined: 16 years ago
macebobo wrote:Yes, please. PM, E-mail or here is fine 😀

The main difference from 2.1 to 2.5 is the Startup method being implemented from the IEventDrivenOutputPlugIn interface. What I did was make another project in the solution. In your case, your current one is for Vixen 2.1, so make on for Vixen 2.5. Include all of the same code files (you can add an existing item), but reference the 2.5 version of Vixen instead. In the properties of the 2.1 project, on the Build tab page, I added a Conditional Compilation Symbol of VIXEN_2_1. You can do the same for the 2.5 project as VIXEN_2_5. Then you can use a #if macro. Here is a code snippet.


#if VIXEN_2_1
        public List<Form> Startup()
#else
        public void Startup()
#endif
{
   ... <Body of method> ...

#if VIXEN_2_1
            return new List<Form>() {<your form 1>, <your form 2> , etc };  // This is probably your output form.
#endif
}

I named the projects so that they end with -2.1 and -2.5 respectively. In the end you will have a dll for each then. You can use the #if macro anywhere else you need something for just one version or the other, but this was my only place so far.

I hope this helps, and let me know if it doesn't work for you.

Erik


Reply
macebobo
Posts: 1592
Guest
Topic starter
(@macebobo)
Member
Joined: 17 years ago
erm213 wrote:The main difference from 2.1 to 2.5 is the Startup method being implemented from the IEventDrivenOutputPlugIn interface. What I did was make another project in the solution. In your case, your current one is for Vixen 2.1, so make on for Vixen 2.5. Include all of the same code files (you can add an existing item), but reference the 2.5 version of Vixen instead. In the properties of the 2.1 project, on the Build tab page, I added a Conditional Compilation Symbol of VIXEN_2_1. You can do the same for the 2.5 project as VIXEN_2_5. Then you can use a #if macro. Here is a code snippet.


#if VIXEN_2_1
        public List<Form> Startup()
#else
        public void Startup()
#endif
{
   ... <Body of method> ...

#if VIXEN_2_1
            return new List<Form>() {<your form 1>, <your form 2> , etc };  // This is probably your output form.
#endif
}

I named the projects so that they end with -2.1 and -2.5 respectively. In the end you will have a dll for each then. You can use the #if macro anywhere else you need something for just one version or the other, but this was my only place so far.

I hope this helps, and let me know if it doesn't work for you.

Erik

Thanks Erik. I don't know why I didn't see this until today! I should have some time on Friday (9 SEPT 2011) to work on this and will get a 2.5 compatible version out then. -- John

EDIT: Had some time after dinner, now available for 2.5 and 2.1 users. -- John


Reply
macebobo
Posts: 1592
Guest
Topic starter
(@macebobo)
Member
Joined: 17 years ago
mkess wrote:Ok I renamed the first file and then saved the extracted version to the outputs folder. I then open vixen go to my profile to and I get an error message The plugin doesnt show up in vixen, I have no AP to choose from. Running 2.5.

Now works with Vixen 2.5 🙂 Enjoy! -- John


Reply
Posts: 464
(@holtm)
Honorable Member
Joined: 20 years ago

It just saved me hours! Thanks.


Reply
macebobo
Posts: 1592
Guest
Topic starter
(@macebobo)
Member
Joined: 17 years ago

Glad it worked for you and saved some time for you. It makes it all worth it 😀

holtm wrote:It just saved me hours! Thanks.

Reply
Aurbo99
Posts: 2800
Moderator
(@aurbo99)
Member
Joined: 19 years ago

Macebobo

Great plugin..

What are the chances of making a "clone channel" button to, well, clone an existing channel?

With 24 mini trees and 36 candy canes, making a single representation of one and cloning it would make it sooooo much easier..


Reply
macebobo
Posts: 1592
Guest
Topic starter
(@macebobo)
Member
Joined: 17 years ago

Thanks! Hmm, never thought of that. Let me take a look as that is a great idea.

-- John

Aurbo99 wrote:Macebobo

Great plugin..

What are the chances of making a "clone channel" button to, well, clone an existing channel?

With 24 mini trees and 36 candy canes, making a single representation of one and cloning it would make it sooooo much easier..


Reply
kychristmas
Posts: 3947
(@kychristmas)
Famed Member
Joined: 18 years ago

It would be a great addition. For now, I just go into the Profile and copy the Channel Data in the raw file. I did that with 14 mini 4 midis and 12 Candy Canes. And for each of the different colors in the Mega tree.

For the Mini Trees, initially I ended up with 14 trees x 3 Colors sitting on top of eachother. I then used the moveable adjustable preview capability to shift each one to the correct location. Tedius Yes, but easier than drawing all of them individually.

macebobo wrote:Thanks! Hmm, never thought of that. Let me take a look as that is a great idea.

-- John


Reply
Posts: 124
(@juicedss)
Estimable Member
Joined: 15 years ago

New guy here. Just tried your preview. Works great! Thanks!


Reply
macebobo
Posts: 1592
Guest
Topic starter
(@macebobo)
Member
Joined: 17 years ago

Bumping this for newer members who may not have known this was available. -- John


Reply
Page 3 / 4
Share: