Page 2 of 4

Re: Toms projects

Posted: Tue Feb 10, 2009 7:56 am
by tom
Cool! Thanks I'll play around with that later this week.

I'm laying down the ground work for a more customisable matrix setup and I've come across a few more requests.

The main one:
I'd like to be able to turn channels on and off from the external application. Doesn't sound so hard, but i want to be able to turn them on and off without them entering the editor. Something like a yellow look value that wont hold deltas and could be recorded if nessicary but not by default.

This would allow the apps to be used as stand alone playback areas, with timed, scripted effects. The workaround now is to actually create a look for each chanel but that means have 500 looks on one page. Not an entirley effecient.

Also when using the HC.GetCurrentSelectionSet on a button it makes me click twice before returning a value. Why could that be? I've found a workaround but it's not so pretty.

Re: Toms projects

Posted: Tue Feb 10, 2009 9:06 am
by tom
I'm not getting the return value I'm look for, probably I'm doing something fairly stupid.


I'm trying to get contact with channel 1.

range 1 thru 5
fixture_num_match - 1 even though it's just a dimmer
PGCLS i added them all just to see if anything would return. Can I just use I for intensity?
start_index, max_num_fixtures_returned = 1 and 1
and then the property - 'value'

This only returns me a selection value. Do i have to pass that value through a regular getproperty?

Re: Toms projects

Posted: Tue Feb 10, 2009 12:09 pm
by GaryDouglas

Should do -- this will return the first fixture in use -- note that the page index is a 0-based offset, this shows a page size of 1.

The way you posted it looks for the second fixture inside of 1-5 that matches ALL attributes of fixture 1.

Hope this helps!

Re: Toms projects

Posted: Wed Feb 11, 2009 5:39 am
by tom

Code: Select all

Dim s1 As New StringBuilder
        s1.Length = 0
        s1.Replace(vbTab, ",")
        value = s1.ToString
It's not returning anything. I'm doing something wrong i guess.

Re: Toms projects

Posted: Wed Feb 11, 2009 12:01 pm
by GaryDouglas
Sorry -- my bad.

The 'value' is incorrect -- the returned properties can be any of these:

'index', 'intensity', 'number', 'state' , 'patch', 'mlname'

As for the other request ( a way to set values without a delta) I have it mostly done. It leaves the attribute captured (red). I wanted to leave them yellow (from a look/channel) -- but it's a can of worms having to do with timeout.

The Function will be HC.AttributeFadeCapture(...) -- same signature as HC.AttributeFade(...) Due in 10.5.14

Re: Toms projects

Posted: Wed Feb 11, 2009 1:05 pm
by tom
Cool, thats was fast, thanks

Will the channels be affected by release? And if they are running from the app and taken into the editor will they then release back to the value of the app?

I'll try the 'intensity' thing tomorrow.

Re: Toms projects

Posted: Wed Feb 11, 2009 1:06 pm
by GaryDouglas
Yes -- release will release them. Is this bad or good?

Re: Toms projects

Posted: Wed Feb 11, 2009 1:29 pm
by tom
bad, i think.

I'd like for them to be fully stand alone. As if they were on a look or something. That the only way you could turn them off was by doing so on the application.

Re: Toms projects

Posted: Wed Feb 11, 2009 1:59 pm
by GaryDouglas
OK. Trying to find a way to do that..... I have an idea.

Re: Toms projects

Posted: Wed Feb 11, 2009 2:41 pm
by tom
Something else, just in case you were'nt busy enough.

I've tested the searchfixture command, which works well but......

It does'nt seem to pick up levels from effects. Editor, cues and looks are all fine but nothing from effects. If i put an effect on a look it'll read the level of the fixture that it would have been on had there been no effect.