How to draw the automatic grid using lisp in AutoCAD

preview_player
Показать описание
How to draw the automatic grid using lisp in AutoCAD
This program will prompt the user for a number of rows and columns then proceed to construct a grid composed of Line Entities between two corner points.
If called with 'DGrid' (Draw Grid) at the AutoCAD command-line, the program will operate in standard mode, with all standard AutoCAD functionality (such as Object Snap / Tracking / Orthomode etc.) available to the user.
If called with 'DGridD' (Draw Grid Dynamic) at the AutoCAD command-line, the program will display a real-time preview of the grid constructed between the two corner points; however, Object Snap is imitated during the preview, and most other AutoCAD functionality (such as Tracking / Orthomode etc.) is unavailable in this mode.
The program will remember the last used number of rows and columns during the active drawing session, and these values will be available as defaults for the next use.
Both program modes (standard / dynamic) have been engineered to work in all UCS/Views.
..................................
To download the lisp:
..................................
Sound copyright:
Lightless Dawn by Kevin MacLeod is licensed under a Creative Commons Attribution
..................................
#AutoCAD_Tips_Trick. #Draw_Atomatic_Grid.
Рекомендации по теме
Комментарии
Автор

جزاك الله خيرا وتقبل الله صيامكم وقيامكم ويرحم والديك استاذ

arafaohad
Автор

جزاك الله خيرا وتقبل الله صيامكم وقيامكم استاذ

havalidds
Автор

اتمنى لك كل الخير و يزيدك علما و معرفة لتزيدنا خبرة

georgekhabaze
Автор

Nice, Can you update it, according to xy offset.
Example I have a rectangle, inside it i want draw Grid XY. Or from start point to end point.
X I need 10 meter interval and Y I need 5 meter interval.
And by layer also (Grid XY)
And grid line colour 8.
Thanks

md-mohammed