Thanks for the reply Steven! But I wasn’t looking for a way to set the parameter value, but was trying to change the “code” of the value.
And when I first posted this, I was hoping to figure out how to rewrite the codes in subassembly file itself. But I found out that the numbers are given to the parameters in order of the item creation.
For example, if item a,b were created for parameter A, then the subassembly composer gives 301, 302 codes.
Next, if the user creates item 1,2 for parameter B, then it gives 303, 304.
If the user comes back to parameter A and creates item c, then it gives 305.
So continuous numbers based on the order of item creation.
Since the designers can add/delete parameters anytime, I figured overwriting these numbers won’t be useful.
**Rather, I’d like to extract how the codes are given. For example, I’d like to get a list of items (a,b,c,1,2) and get the codes (301,302,305,303,304). So I can look up “a”, “b”… and get “301”, “302”. **
The code data is written in .emd file and .xaml file, but I want to get this data through Dynamo(with python node probably), without opening the .emd, .xaml files.
If there’s a solution for this, please let me know!