Skip to content

equation box hide output function

eqbox set variables containing some symble or. preceded by some symble should be hidden from outputs.. for example

2 edits at line 966 and around 1040 of tunertool.luaTunerTool.lua

local ii = 0
    if not Slua.IsNull(item.outputs) then
      for property in Slua.iter(item.outputs) do 
        if not property.pname:find('%$') then
			ii = ii+1
		end
      end 
    end
	--ii = ii > 0 and ii or 1
    local parent       = self.view
    local itemWidth    = math.ceil((self.itemWidth or 160)/40)*40
    --local totalHeight  = --[[math.ceil(]]((Mathf.Max(item.inputs.Length,item.outputs.Length)*20) + 20)--[[/40)*40]]
	local totalHeight  = --[[math.ceil(]]((math.max(1,item.inputs.Length,ii)*20) + 20)--[[/40)*40]]```

```ii = 1
    if not Slua.IsNull(item.outputs) then
      for property in Slua.iter(item.outputs) do 
        if not property.pname:find('%$') then
			self:CreatePropertyUI(item,property,ui,Vector3((itemWidth*0.5)+10,-(ii*20)-10,0))
			ii = ii+1
		else
			--Debug.Log(property.pname)
		end
      end 
    end```
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information