I imported different geometries from a 3dm.file (mesh, curve, points).
7 points within one layer called “points7”
1 mesh
1 curve
2 points within an other layer called “ver”
2 points within an ohter layer called “hor”
I’d like to divide these different geometries to a mesh and a curve. I did it by list-number!s
I’d like to divide 7 points with the same layer-name to the geometry “point”
I’d like to divide 2 points with the same layer-name to an other geometry “point”
I’d like to divide 2 points with the same layer-name to an other geometry" point"
I do not know how to select specific points from one layer-name to the geometry “point”
If the geometries are in a other way sorted, i can not work by list-numbers!
Hi @Martin_Burger, when importing with the ShapeDiver import component, you can get all the attributes that are attached to the geometry (layer, name, color, etc.) by using the Extract Attributes component.
Here is a complete written documentation of how to use the attributes system: Attributes
Hello @edsahergom.
I got the idea with attributes to inject and deconstruct. But how do I do with multiple geometries in 1 3dm-file to differantiate them to specific geometries (mesh, points, curves) by layer? I’d like to work on with these geometries on there own?
Or in other words: I like to load only one 3dm-file (with different geometries; seperated by layers). Then I like to seperate these by the layer, because the order of these geometries are not always the same order). Then I like to process each geometrie in that specific layer)
I just tested this and, as far as I can see, the Import Geometry component is already returning different tree branches for different layers of the imported 3dm file:
So theoretically, you would not have to do anything. But for the sake of the demonstration, let’s assume you are getting a non-sorted list of geometry belonging to various layers.
Case 1: You want to retrieve all the geometry belong to a specific layer, and you know the name of the layer in question.
Use the components suggested by Edwin above andfind all objects whose layer attribute matches the one you want: