Coding is essential in architectural firms, as it enables them to create innovative designs and remain competitive in the industry. #architecture#coding#innovation#competition
Tuples are similar to lists, but they differ in the following properties:
Tuples are defined by enclosing the elements in parentheses ()
Tuples are immutable.
It's not possible to change a tuple once it is created.
more info: https://t.co/pJZ3g3POGr
#bim#revit#python#dynamo
.clear() method delete all key:value pairs
NOTE
Be aware of using .clear() methods because it will clear all the references to that dictionary
more info: https://t.co/ojw32iinC5
#bim#dynamo#python#architecture#revit
🚀 Today we try to extract some data from a dictionary with .get() .items() .keys() .values() methods
Extra: https://t.co/DMeUOX951b
#bim#revit#dynamo#python#architecture
One of the first things we can do with a dictionary is add something to it.
We can start with an empty dictionary and populate it, one piece by one piece.
more info: https://t.co/Fapx0EpJ7D
#bim#revit#dynamo#python#architecture
DICTIONARIES
A dictionary consists of a collection of key-value pairs.
In Python dictionaries, each key-value pair maps the key to its associated value.
more info: https://t.co/fUYxMVBsc7
#revit#bim#dynamo#python#architecture
Today we look at range() function
.
The range type represents an immutable sequence of numbers and is commonly used for looping a specific number of times in for loops.
.
Let's try it on dynamo!
more info: https://t.co/M3zb2Up78Y
#revit#dynamobim#dynamo#python#architecture
Python ZIP Functions
zip() returns an iterator of tuples, where the i-th tuple contains the i-th element from each of the argument iterables.
more info: https://t.co/gvaFhBYFIt
#revit#python#dynamo#architecture#coding
Let's go deeper on lists.
Try to understand what lists are and how to use them.
Next, we'll see some methods and functions for lists.
More info: https://t.co/YXB3Jesuqh
#codig#bim#revit#dynamo#python#architecture
Data Structure
We use data structure if we need to collect multiple values.
Just think about a big cardboard box full of other items.
The outer box it's a Data Structure, and what you have inside are objects.
https://t.co/24MGaAk80N
#bim#revit#dynamo#python#architecture