DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
338 stars 188 forks source link

CreateSharedParameter node not functioning as expected #1594

Open ArcDoxDev opened 7 years ago

ArcDoxDev commented 7 years ago

If this issue is not a bug report or improvement request, please check the Dynamo forum, and start a thread there to discuss your issue.

Dynamo version

1.2.0.2690 Tried on stable version 1.2.1 but got the same results

Revit version

16.0.1185.0 20161004_0715(x64) Update7 for R2

Operating system

Windows 10

What did you do?

Try and create 28 shared parameters and write them to the door category as type parameters using the OOTB node for creating shared parameters.

What did you expect to see?

28 new shared parameters were created in the SP file. Fine.

But the object types in the category only got between 23 to 25 of the parameters written to the category during testing.

What did you see instead?

The Createsharedparameter node gave the following message. I have tested this on 4 separate machines and none attached all 28 parameters. image

The files I used are here: https://mega.nz/#F!O8NDAYwB!j4HYDgH0xnBp6EdNiqmcnA

ArcDoxDev commented 7 years ago

Strangely after I restarted my computer, it began to work again, which was odd because yesterday I opened the same script on computers I just booted up I got the above issue.

ArcDoxDev commented 7 years ago

I have just found the culprit, I believe. I think it is the COBie Extension that is causing the problem. After the COBie extension has added its parameters, the CreateSharedParameters begins to not add the last few parameters out of list. I tried just adding 3 new parameters and but the last parameter was not added to the category.