What is the best route to learn GCScript and how to actually apply it to the nodes.

I was tasked with creating 3D geometry from a spreadsheet of data.  I created the graph in Dynamo where there is a huge number of pre-programmed nodes and it was possible to do a huge amount without creating custom nodes and using Python.  Due to the problem of not being able to generate design information from the exported i-model, it was decided to recreate the exercise in GC.  

Where it seems relatively simply to extract a specific range of data and place components, when it comes to manipulating and filtering the data, there's the issue that a good knowledge of programming and scripting is required.  With Python, I was able to easily do a google search to find the answer to my problems when required.  However attempting to learn GCScript and how to apply it to the graph is proving much more difficult.  

If anybody is able to point me in the right direction, I'd be very grateful.  All I want to be able to do is stop the read range when the value equals zero.  I have already generated a boolean list which gives me a true value for every item>0.  I also need to run an == operator to search for a particular item and apply that boolean filter to the rest of the lists.

Many Thanks

Parents
  • Hi Victoria,

    concerning help for GCscript in this thread Volker mentioned where to have a look. These places and this forum are the spots where help can be found.

    So if you would post some code or initial work in this forum probably someone can help.

    regards

    Ingo

  • Hi Victoria,

    Summing up from the post to which Ingo points (and I'll put this into a Wiki entry when time permits) a scripting "learning path" could look like this:

    2018-07 (July) GenerativeComponents SIG: Zero to Simple Scripting (in the GC SIG learning path)

    To be delivered September (change of plans) 2018-09 (September) GenerativeComponents SIG: dotFive to Simple Scripting (will be posted then)
    [this SIG will cover the rest of what was planned for the July SIG to bridge the gap to...]
    [...would like to talk with you about what should be presented in that session.\

    GenerativeComponents Help > Contents > GCScript Programming >

    1. GCScript Language
    2. Script Function tools > Script Editor
    3. Global Functions
    4. Debugging GCScript

    2017-11 (Nov) GenerativeComponents SIG: Simple Scripting with Script Editor, Statement Builder, Expression Builder (in the GC SIG learning path)

    2017-10 (October) GenerativeComponents SIG: (Nested) Lists, Arrays, and Replication (in the GC SIG learning path)
    [I'll have to review the content perhaps to point in the Wiki to specific sections of those videos.]

    2018-04 (April) GenerativeComponents SIG: Query Expressions Recursion Curves (in the GC SIG learning path)
    [I'll have to review the content perhaps to point in the Wiki to specific sections of that session.]

    Pertaining to Excel:
    2018-02 (February) GenerativeComponents SIG: Teamwork with GC (in the GC SIG learning path)
    [specific sections about Excel as noted in the table-of-contents slide.]
    also the Excel highlight in the August SIG (still to be posted).

    HTH,

          Volker

       

Reply
  • Hi Victoria,

    Summing up from the post to which Ingo points (and I'll put this into a Wiki entry when time permits) a scripting "learning path" could look like this:

    2018-07 (July) GenerativeComponents SIG: Zero to Simple Scripting (in the GC SIG learning path)

    To be delivered September (change of plans) 2018-09 (September) GenerativeComponents SIG: dotFive to Simple Scripting (will be posted then)
    [this SIG will cover the rest of what was planned for the July SIG to bridge the gap to...]
    [...would like to talk with you about what should be presented in that session.\

    GenerativeComponents Help > Contents > GCScript Programming >

    1. GCScript Language
    2. Script Function tools > Script Editor
    3. Global Functions
    4. Debugging GCScript

    2017-11 (Nov) GenerativeComponents SIG: Simple Scripting with Script Editor, Statement Builder, Expression Builder (in the GC SIG learning path)

    2017-10 (October) GenerativeComponents SIG: (Nested) Lists, Arrays, and Replication (in the GC SIG learning path)
    [I'll have to review the content perhaps to point in the Wiki to specific sections of those videos.]

    2018-04 (April) GenerativeComponents SIG: Query Expressions Recursion Curves (in the GC SIG learning path)
    [I'll have to review the content perhaps to point in the Wiki to specific sections of that session.]

    Pertaining to Excel:
    2018-02 (February) GenerativeComponents SIG: Teamwork with GC (in the GC SIG learning path)
    [specific sections about Excel as noted in the table-of-contents slide.]
    also the Excel highlight in the August SIG (still to be posted).

    HTH,

          Volker

       

Children
No Data