# Run an AutoCAD command after a node finishes

**URL:** <https://forum.dynamobim.com/t/run-an-autocad-command-after-a-node-finishes/82933>\
**Category:** Civil 3D\
**Created:** [November 9, 2022, 4:35am UTC](https://forum.dynamobim.com/t/run-an-autocad-command-after-a-node-finishes/82933 "2022-11-09T04:35:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [November 9, 2022, 8:48pm UTC](https://forum.dynamobim.com/t/run-an-autocad-command-after-a-node-finishes/82933/4 "2022-11-09T20:48:41Z")

</div>

> [@raul.07.11](#):
>
> I need to send the REGEN command after they surface creation

You can create a basic gate with a code block. See here:

> [@Draw order and Text Style editing](https://forum.dynamobim.com/t/draw-order-and-text-style-editing/72139/4):
>
> You could add a gate so that downstream operations have to wait for others to complete before they are executed. This is commonly done with a simple code block: [passThrough, waitFor][0];

---

_[View the full topic](https://forum.dynamobim.com/t/run-an-autocad-command-after-a-node-finishes/82933)._
