VietPer.

A .NET publication · published by VietPer

← Back to VP_RevitAPI

CoverGrid2D

Cover a 2D grid on the view using the current settings.

Ribbon location:
VP_LAYOUT > Layout
Command:
CoverGrid2D

1. Purpose

Flattens every 3D (model-extent, over-long) grid in the open plan to tidy 2D in one pass. Use it before dimensioning and grid copying: 3D grids make dims jump around and the grid-copy command refuses to run.

2. Quick video (≤ 2 minutes)

[Video in production — follow the steps below for now.]

3. Steps

  1. Open 1 Floor Plan (not a template) showing the grids to tidy. [image 01: plan with over-long 3D grids]
  2. Click CoverGrid2D in the VP_LAYOUT tab, Layout panel — no pre-selection needed.
  3. The tool walks each grid in the view, converts the 3D ones to 2D, then summarizes: total grids, converted, already 2D, failed. [image 02: 2D conversion summary]

4. Real-world example

Level 5 arrives from the linked architecture model with 13 grids stabbing through 12 storeys. Open level 5, press CoverGrid2D — the report says 13 grids, 11 converted, 2 already 2D. The view goes clean and later grid dims snap to the right ends.

5. Common errors

Symptom (tool message, Vietnamese)Fix
"Vui lòng mở 1 ViewFloorPlan rồi chạy lại lệnh."Standing in another view type (elevation, sheet...) — open 1 Floor Plan and rerun
"View hiện tại không có Grid nào đang hiển thị."View hides its grids — turn grid VG on and rerun
Failed count above 0Some grids are pinned or over-constrained — inspect each reported grid

6. See also