Arbitrary change layer and bake not required

When I open GH from AutoCAD 2026 and move polylines from one layer to another, AutoCAD arbitrarily moves other polylines from one layer to another that I didn’t intentionally select. I can’t work like this; I don’t understand why. Furthermore, even though I didn’t set Bake to True, the blocks are still arbitrarily baked. Is it possible to correct this behavior, which is wasting many hours of work?

Hi Luca,

As mentioned in our previous discussion, the blocks are not Bake-able components, they only exist in AutoCAD and never as Grasshopper/Rhino objects, when you make changes to them in Grasshopper you are changing the AutoCAD database directly. Baking them does nothing and they are ignored by the grasshopper bake component.

Regarding the Polylines moving layers can you share a file and some steps to follow in which I can try to reproduce the behaviour?

  1. Do you mean that every time you make a change, new blocks are created in AutoCAD Student?
  2. You can use the files I sent you. Just take a few polylines (about ten) and change their layers. I wouldn’t use the same file in an AutoCAD LT version (Commerciale).
  3. Closing GH before closing AutoCAD (this should be the correct sequence) often causes AutoCAD to crash.
  1. Do you mean that every time you make a change, new blocks are created in AutoCAD?

Yes and no. It can that do if that is the behaviour you want. But the default is that it tracks the last object created and then updates it to the new changes in the component (deletes the old one and adds a new one). This is controlled by the right click menu on the create component.

Note you can also sever this connection at anytime with the “Clear Connection”, which means the next time the component runs it will create a new object.

If the “Save connection between sessions” is on then the handle of the tracked object is saved in the Grasshopper file, and when the grasshopper file is next opened it will try and re establish the connection. This is also on by default.

2 . You can use the files I sent you. Just take a few polylines (about ten) and change their layers. I wouldn’t use the same file in an AutoCAD LT version (Commerciale).

I want to replicate the exact behaviour you are seeing so I can try an understand the issue, just changing the layers of the polylines for me does not change them back, even if grasshopper is open and the polyline are bound to a RiA parameter, so there must be something else going on. If you are able to give me a list of steps to follow with the files you sent where the problem happens then I can see what is going on.

  1. Closing GH before closing AutoCAD (this should be the correct sequence) often causes AutoCAD to crash.

This was improved in V1.2.23 with the Civil merge, but potential there is still something here we need to address, are you using the latest version?