Creating a Dynamo script to select individual families an change the parameter in sequential order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am learning Dynamo to create a script that will allow the user to change the shared parameter "BE_Riser Sequential Order" on individual families by:
1. determine the starting number (type in)
2. asking if the starting number is to be the input (True) otherwise use a counting system to increase the number by 1 (false)
3. have the user select the family (Select Model Element by Category)
The program will finish with an output to file or globalparameter to give a value of the current number + 1, which will be used as the new input value for the Sequential Order.
I cannot do a select by floor or select by all elements because the devices are placed and we wire them up in a continuous line and we create a riser diagram based on the order of how the wire touches the devices.
Coming from a LISP background I thought I could use an alternative SETQ by exporting and importing the the values. I am finding out that Dynamo does not work like this.
Developer Advocacy and Support,