Updating parameters from 3D script

Home Forums Problems and solutions in GDL Parameter connections Updating parameters from 3D script

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  Bruce Walker 1 year, 5 months ago.

  • Author
    Posts
  • #2501

    Bruce Walker
    Participant

    I think I already know the answer, but: is there a way to update a parameter value from the 3D script?

    I am running some reasonably complex loops to achieve my end goal, and am using a counter to count placed elements (in this case, seats). Is the only way to update a parameter to duplicate this looping within the Master or Parameter script?

    Cheers

    www.brucepwalker.com
    https://www.mindmeister.com/65450406

    AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
    NVIDIA GeForce GTX 1060 8Mb

  • #2503

    Gergely Fehér
    Keymaster

    Parameters can only be updated from parameter script (or the master script when it is running as paramscript). In a situation like this, the less painful solution is to put the calculations to the master – if you can’t avoid to store the number of seats in a parameter.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • #2505

    Bruce Walker
    Participant

    I thought as much. Thanks all the same.

    www.brucepwalker.com
    https://www.mindmeister.com/65450406

    AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
    NVIDIA GeForce GTX 1060 8Mb

You must be logged in to reply to this topic.