Library Object Parameter Description Returns Nothing (API)

Issue #205 resolved
Ali Ozdemir created an issue

When we call library object from API, we can only read the values that are inside the library project. However there are other cases, we may need to consider:

Asume there is a libOBJ2 definition in libOBJ1 project. When we define libOBJ2 in libOBJ1 project, we only set parameters of libOBJ2.

When I want to read to description of these parameters they are inside libOBJ2 project. Because of that libOBJ2 parameter description returns to nothing when I create these objects in libOBJ1.

Should I create other library object and reach parameter description from there? Or is this something that can be handled by openbrim?

Comments (2)

  1. Ali Koc

    The solution is for you to create those descriptions as you add the library object to the project. The reason you say you don't have access is probably because you are not loading the object from the library prior to adding to the project -- you must have the parameters hard coded or kept externally. This may cause issues because changes to the library object may break your program code.

    In any event, starting v3.160604, missing description field is restored from library object upon compilation.

  2. Log in to comment