Grid.LISP

也許因為 LISP structure 在 2004 年後有一點變化,一些在AutoCAD 2000 年代的 LISP 未能在 Civil 3D 2010 上成功運行,近日係 Civil 3D 的 training course 經常有問到 Civil 3D 打 Grid 的問題。

本來打算動手寫個 .NET program, 一勞永逸,但就真係找不出時間。退而永其次,在網上下載了多個打 Grid 的 LISP 作測試和比較,終於在 CAD corner 找到個比較好用的,轉載在這裏給大家下載。這個LISP 主要在 Paper space 中的 view port ,按用戶自定的 Interval 建立 grid points。


在 2010 平台,Load Application 的指令放在 MANAGE 這個 RIBBON 中, 大家只需要按 LOAD APPLICATION, 就可以把 vpgrid.lisp 加載到 Civil 3D 2010 中。

執行指令
只需要在 Command box 輸入 VPGRID,再按指示 Select Viewport,輸入Grid interval, VPGRID 會自動完成。建立好的 Grid system 會放到三個 layers, 包括 grid_border, grid_text, grid_tick,簡單方便好用。
(注意VPGRID 有一個Append/Replace 的 options,如果在這張圖有另一個 grid system,便會有這個 Options 給用戶。)

下載 VPGRID (2.8Kb)

2 comments

  1. vickon Jul 4

    why there are only 2 layer occur?, I find that no grid_text layer exist, can u help me?

  2. Andy Jul 5

    pls email the drawing to me at achan@spatial-technology.net_pls_remove

    I tried to check it out

Leave a reply