Fixture
Fixture:GetSelectedFixture()
Returns an Fixture class/structure.
This function will return a Fixture
class/structure for the currently selected channel/fixture in the Rig Data view.
It will return nil
if there is an error. It is worth checking for this situation.
Example.
fixtureObject = Fixture:GetSelectedFixture()
if fixtureObject ~= nil then
channelNum = fixtureObject.Channel
end