Nodes from Unmaintained / Not Updated Packages

Doesn’t work with points or lines properly.

Point.PruneDuplicates is the node which you seek.

There is no equivalent for lines, and the ones which I have seen (IMO) haven’t been accurate enough to be used in production.

1 Like

Take the lines, convert to string… See if they match?

I’ve done it that way before, but have also toyed with this algorithm to compare how similar the string representations are:

3 Likes

Fun! But realistically comparing the .X, .Y and .Z would make more sense surely if you wanted a , “nearly”.

the xyz start/end points of an arc could be the same as the start/end points of a line though.

Drops values after N (3?) decimal places, which means that depending on your units (think in a civil context where even in M they exceed the level of complexity). As a result those users get many false positives.

A comparison of point pairs is required to do this well. Something like compare L1’s point 1 to L2’s point 1 and if it matches compare L1’s point 2 to L2’s point 2. This doesn’t account for ‘reversed’ lines though which many users wind up wanting until they don’t…

Usually when you have well structured data I find there are easier ways to accomplish what the comparison is after (i.e. topology).

1 Like

I was talking about just comparing line to line.

If it’s line in Dynamo it says, “line” if it’s arc it says “arc” …
So that’s not hard to extract?

Yep! There’s a few ways to do.

However, I am worried we are venturing into the realm of “this node would be cool to have”.

My original question was regarding nodes people depend on that existed already (in popular packages), but have not been updated.

3 Likes

Sorreh! I shall kerb my enthusiasm :stuck_out_tongue:

1 Like

Package:

ABT (Elements.Rotate)

Node Name:

Rotate

Details:

Hi John I remember I once search all the package and want to find a node which can rotate a group of Revit.I only find the node called “Rotate” from the package called “ABT” or “Elements.Rotation” can do it perfectly.The package is very old now.Here’s screenshot.You may have a look at it. :smiley:

Here’s the video of how I use this node to rotate a group.

1 Like

I’m guessing the OOTB one does not work for groups?

If so, we should probably make it work with Groups :stuck_out_tongue:

1 Like

Ah I see, there is not a node for generic element rotation in OOTB. Just Family Instances

1 Like

:white_check_mark:
20240626-modelGroupRotate

5 Likes

Package:

Modelical

Node Name:

CenterLocation

Details:

This is a very useful node.I found it appears in many packages but the one from the Modelical is the one I choose.However the package is still very up to date.But I see in other post it‘s categorized as needs update.


You can make a note of this one.Maybe it will get update in the future.Maybe not.Your work is kind like saving nodes from a sinking boat.Hahaha.This node is not in hurry.But we can wait if it’s not updated after a year.You may renew it. :smiling_imp:

I was messing about with that the other day…
Because I was annoyed a centre of a bounding box didn’t work well for an L-shaped room.


Pole_of_inaccessibility.dyn (12.2 KB)

2 Likes