GDL label for object info

Home Forums Problems and solutions in GDL Parameter connections GDL label for object info

This topic contains 1 reply, has 2 voices, and was last updated by  Gergely Fehér 1 year, 4 months ago.

  • Author
    Posts
  • #2441

    Szabadi Gergely
    Participant

    Hi!

    I would like to create my own label what is calling parameters of my objects defined in the object script. I haven’t found any clue how to get started with it. Any suggestion?
    Thx!

    G. Szabadi

  • #2442

    Gergely Fehér
    Keymaster

    Let’s clarify two things: in scripts you can define variables only. Parameters can only be created on the parameter list view of the GDL editor, and the available parameter list of any object is fixed, cannot be changed in scripts (except of the newparameter command in backward migration).
    Variables can not be reached or read by labels or listing or addons. If you need to “export” anything from your object, you need to add a parameter for it, and set it’s value in the paramscript. From labels you can reach parameters with a request (ASSOCLP_PARVALUE).

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

You must be logged in to reply to this topic.