I’m trying to use Dynamo to move AutoCAD data that has been imported via the ARCGIS connector to the correct layer based on the object property set data (Civil 3d places it on layer 0 and there is no native way to change this in the connector or settings).
In the screenshots below, I have extracted the Id information field from the property set data to use this as the new layer name, but cannot see a straightforward way to move the objects that contains the property set Id to the new AutoCAD layer.
The drawing will contain hundreds of data with different Id’s.
YOu have a list of your objects WAAAAAY back at the beginning of your graph, and you’ve extracted the associated ID in a way which neither filters nor reorders the values, so the layers from “layer by name” should be in the same order as the objects. So wiring the objects from WAAAAAAAAY back at the beginning directly into the Object.SetLayer should work.