Trying to change Viewports through dynamo and im getting an error on Set BIP Parameter. Any Ideas?
Kulkul
July 30, 2018, 6:20pm
2
Hi @ZJRODGERS
You need to feed BuiltInParameter currently your feeding string to it. Have a look at this explanation by @Konrad_K_Sobon .
@Greg_McDowell , no Python needed. We can set the appropriate parameter by using the BuiltInParameter nodes from Archi-lab.
@Arno_De_Lange , This should do the trick:
[image]
Ps. The issue with the OOTB parameter nodes are as stated above. There are multiple parameters with the same name, and they are stored in a ParameterSet so an unordered collection. Please use BIP to get the “right” parameter every time.
well i dont know if im pulling the right info. changed it and still an error
Kulkul
July 30, 2018, 6:53pm
4
Still feeding wrong inputs. You need to feed ids not elements to parameter values and check your elements list also.
Kulkul
July 30, 2018, 6:55pm
6
ZJRODGERS:
Got It! Thank you
Please mark the post as solved. You’re welcome!
dca
December 13, 2018, 10:41am
7
I´m trying to replicate the scritp to change viewport type on my legends.
I´m have an error in line 55 of the python script inside de “Set BuiltIn Parameter”
Thank´s in advice for help!
you can use Set parameter by name OOTB node and the value the family type…