Parameter Definitions question

This script should print the names of all parameters of a zone.

zone=this.parent:getZone()
defs=zone.parameterDefinitions
for i,parameter in ipairs(defs) do
  print(parameter.name)
end

And it does.
But for parameters that are organised in “subfolders”(like Filter.Cutoff,Filter.Resonance,…), only the subfolder is being printed.
Is this by design?

I’ve run into this, but got busy with something else and kind of forgot about it.

It looks more like a bug, because you can see the dots of the parameter categories that have sub definitions. It only returns a string, so an additional for loop isn’t even an option.

Definition types are still returned correctly though. So i guess that means the correct data is going to the function, but not printed properly.

Hi AposMus.

Thanks for your reply.
In the end I got around this by using id instead of name.