GET Text data according to text point problem on bimorphnodes

I am working on dynamo script to create Revit model from CAD drawing.
To this respect I need to sort all text data x and y value.
But I have a problem for Sort and group node Could you please help me for this problem because I will manipulate my beam size from this Cad text.
Could you please help me ?


Hi @eness.gun

here is a solution.

1 Like

First of all thank for this solution but I have a new issue this code.
Have u any think about this issue.

It seems that you forgot a closing square bracket after x[1].Y at the end in the line 10.
I also found a mistype, you should have typed “points” and not “point” as you did in the line 10.

1 Like

I have closed it but I have new issue about code

It is : Warning: Your inputs lie outside of the allowable modeling range, consider choosing the Large setting with a modeling range between 0.01 and 1,000,000 from the “Settings => Geometry Working Range” dialog
Your inputs lie outside of the allowable modeling range, consider choosing the Large setting with a modeling range between 0.01 and 1,000,000 from the “Settings => Geometry Working Range” dialog
IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 11, in
File “”, line 11, in <lambda$45>
AttributeError: ‘list’ object has no attribute ‘X’

It seems that the block “Point.ByCoordinates” returns a nested list. This is the reason why it doesn’t work. You can use the node “List.Flatten” after the block.

Thanks for all helps . The code is working with clearly.

1 Like