Closed toamig closed 3 years ago
I found out I could stop category initialization from the ToolBoxConfig.cs file
Now my problem is that the category does not initialize, but category names are still displayable and clickabl on the UI
Did you remove the the category from the toolbox config file? Please see the Toolbox doc from here. If you change this config file, then you don't need to modify code, as this config file indicates what categories to show in side toolbox.
But am I supposed to change the jsonfile while the program is running? Beause I want the categories to be dynamic depending on the integration or not of some sensors
thanks for the response!
I was able to fix this, by deleting elements from the List of categories before initing them. Thanks for the help
Hello there. I'm trying to read only some block categories depending on the integrated sensors from our program. I'm trying to continue the loop if the sensor readed is not integrated. Although, it keeps giving me this
ArgumentNullException: value cannot be null Parameter name: collection
error. Could you give me some help trying to understand what can possibly be going on? Thanks in advance!Trying to ignore some resParams from the m_BlockJsonFiles in BlockResMgr.cs