DynamoDS / DynamoRevit

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

PlaceFamilyInstance by Point #3006

Open NicPalapte opened 1 year ago

NicPalapte commented 1 year ago

Dynamo Version

2.18

Revit Version

Revit 2024

Operating System

Windows 11

What did you do?

Place a Family Instance on top of a elements surface by evenly spaced Points created along an Edge of this element.

What did you expect to see?

Place multiple Family Instances on two different surfaces after running the script twice.

What did you see instead?

Upon running the script again the previously created family instances are deleted and replaced by the new instances on the other surface. It seems that the family instances share the same ID eventhough each element should have a new id.

The script works fine if you close dynamo completely and run it again. However the problem persists if you only close the script. Because of this I assume that the element ids are stuck in some type of cache or temporary storage.

Stacktrace/logs

No response

Details

Run 1: Run-1 Run 2: Run-2 Expected Result: Planned-Result IDs: Element-IDs