ꟿ FamilyInstance.ByGeometry from Springs pacakge compatibility with Revit2025

Hi,Mr.Dimitar Venkov
This nodes works fine in Revit 2023 and Revit 2024,but has compatibility issue with Revit2025.Will you fix the issue in the future?
This is the screenshot.

This is error message:

Traceback (most recent call last):
File “”, line 113, in NewForm_background
Exception: ElementId cannot be deleted.
Parameter name: elementId
@Dimitar_Venkov

Imported geometries are ‘pinned’ by default in Revit 2025, and as such import instances cannot be deleted. This causes an issue with this and the FamilyInstance.ByGeometry node. As an alternative you can look into pushing the geometry into the family without the export (via Python or C#) or modify the code to unpin the instance before deleting.

I believe that 2025.1 has this fixed for FamilyInstance.ByGeometry already, so that and a FamilyInstance.ByPoint node (using the min point of the bounding box for the geometry) is likely your fastest way forward without a code edit or waiting for a update.

2 Likes

Do you mean FamilyInstance.ByPoint the OOTB node,or from any other third party packages?
image

I have other solutions for this,I decide not to dive into code too deep.A bit python is enough for me.I just remind the author of Spring packages that compatibility issue.If it will never be fixed.I’m OK with that.Still thanks for the great package.Probably most popular and famous from my friends.

For the work around I did mean that node. :slight_smile:

Thank you.You are really a kind person.
By the way,do you know how to add grid to a curtain system.I have searched the forum and can’t find the post for me.

Not offhand - let me have a look while my build finishes.

Just a clarification, the node that @jacob.small mentioned is another node called FamilyType.ByGeometry. It will be fixed in Revit 2025.2 starting with Dynamo 3.1 version.

Thanks for the info.I have already installed Revit2025.1,waiting for new update.

1 Like

Hi my friend, I encountered exactly same issue. My spring node FamilyInstance.ByGeometry works fine in revit 2021, but in revit 2025, it generate something like blue line but not revit family (I set as generic model). Can you kindly share how you solved this issue? Many thanks in advance.

Use the FamilyType.ByGeometry, followed by the FamilyInstance.ByPoint node. The point will want to be the min point of the bounding box of the geometry you are building the family from.

Give it a shot and if you get stuck start a new topic and include an export image of your graph and the dyn file itself.

2 Likes

Hi Jacob, Thank you very much! I will give it a try.

Hi Jacob, I followed your suggestion and have no luck. I upload dyn. Just not sure how to specify points. Thank you!
FamilyInstance.ByPoint test.dyn (22.2 KB)

this is dynamo graph

  1. Take the bounding box of each geometry which was fed into the FamilyTYpe.ByGeometry node with a Geometry.BoundingBox node.
  2. Pull the min point of the bounding boxes using a BoundingBox.MinPoint node.
  3. Wire the points into the point input of the FamilyInstance.ByPoint node.

Hi Jacob, thanks again!
I upload test rvt and rft and updated dyn following your suggestion (maybe is wrongly followed:)).
No luck so far. My aim is to extrude any face of 3d object to make another generic model family.


FamilyTYpe.ByGeometry test-2025.rvt (3.6 MB)
FamilyInstance.ByPoint test.dyn (18.5 KB)

Looks like it is missing a material input. Put a material in there and see if that works. You also need to collect the minimum point of the bounding box for the FamilyInstance.ByGeometry node.