Gaudencio Posted November 26 Posted November 26 Hello, I found a lisp made by third parties and I wanted to adapt it, tried to make the changes myself, but the lisp doesn't work at all. The original lisp (VPGRID.lsp) creates a coordinate grid when selecting the viewport, however the coordinate labels come with the E/N suffix and I want the "X="/"Y=" prefix. (Line 258 and line 318 from original code) I would also like to be able to choose the size of the lines and text (Variables "gr_btick", "gr_ctick" and "gr_txthgt"). I tried to make the changes (QUADRICULA_VP.lsp) without success. Can someone help me. vpgrid.lsp QUADRICULA_VP.lsp Quote
BIGAL Posted November 26 Posted November 26 (edited) This is my attempt at grids of a viewport. It will cost you a cup of coffee. Supports twisted views. Edited November 26 by BIGAL 1 Quote
Gaudencio Posted November 28 Author Posted November 28 (edited) Your lisp looks excellent but I didn't want the full grid, just crosses. I think I've seen your lisp shared on a forum somewhere for free. Someone must have bought it and shared it I found another lisp that does almost what I wanted, except drawing the crosses vpannoframe(1).LSP Edited November 28 by Gaudencio Quote
BIGAL Posted November 28 Posted November 28 (edited) It probably was free, I sometimes ask for a small fee as it normally results in providing a lot more freebies. As I have a lot of stuff for Civil type designs. Why don't you have a go at editing mine or the other vpannoframe.lsp, that is where the word free is very applicable, there is hours in my code and to just draw crosses would be a big modification task, something at this stage I am not interested in doing. Edited November 28 by BIGAL Quote
george_f Posted December 16 Posted December 16 I know this subject is probably beat to death by now, but is there a way to get the coordinates to align with each quadrant? Meaning, anything above "0" on Y axis is N and anything below "0" would be S. Same for E and W notations on the X axis. This is such a great option and idea to have on hand. And sorry if this is an old thread or not asking something clearly. I'm just now looking at LISP programming after 20yrs of working in Autocad lol. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.