To Insert a Region (AutoLISP/VS Code)

  1. Activate the editor window that contains the AutoLISP expressions you want to place inside a region.
  2. Select the expressions you want to place inside a region.
  3. Right-click and choose Insert Region.

    The selected AutoLISP expressions should now be placed between the two comments ;#region and ;#endregion which define the beginning and end of the region.

  4. Optionally, add a meaningful description after the ;#region comment to identify the code within the region.