Jump to content

Recommended Posts

Posted

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

Posted (edited)

This is my attempt at grids of a viewport. It will cost you a cup of coffee. Supports twisted views.

 

Grid.png

 

 

 

Grid2.png

Edited by BIGAL
  • Like 1
Posted (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 by Gaudencio
Posted (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 by BIGAL

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...