I can get a list of the layers with the following, but how do I get that into the HTML?
Code: Select all
local job = VectricJob()
if not job.Exists then
DisplayMessageBox("No job loaded")
return false;
end
local active_layer = job.LayerManager:GetActiveLayer()
local layer
local layers={}
local pos = layer_manager:GetHeadPosition()
while pos ~= nil do
layer, pos = layer_manager:GetNext(pos)
layers[#layers+1] = layer
printf("%s", layer.Name)
end