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, 3 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

    Project Architect
    http://www.cotteeparker.com.au/

    AC20 AUS 5025 Full | Win 7 Pro 64 | Intel i7-5820K 3.30GHz | 64 Gb RAM
    NVIDIA Quadro K2200 8Mb | 2x Philips 272P4 2560x1440

  • #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.

    Project Architect
    http://www.cotteeparker.com.au/

    AC20 AUS 5025 Full | Win 7 Pro 64 | Intel i7-5820K 3.30GHz | 64 Gb RAM
    NVIDIA Quadro K2200 8Mb | 2x Philips 272P4 2560x1440

You must be logged in to reply to this topic.