Jump to content

Recommended Posts

Posted
This is basically the same as VLIDE help (and much older), but still nice to quickly scroll through.

 

 

AutoLISP Reference Guide

 

Holy helpful documents Batman! I was actually on Amazon just now and was about to pull the trigger on purchasing a programming with Lisp book. I'm glad I didn't. I really appreciate the link. I think my biggest problem is not knowing enough to get started on most of the lisp ideas I have bouncing around inside my head. This Lisp guide will help me understand Lisp so much better. Thanks again!

 

Lonnie

  • Replies 25
  • Created
  • Last Reply

Top Posters In This Topic

  • lfe011969

    11

  • Lee Mac

    7

  • alanjt

    6

  • David Bethel

    2

Popular Days

Top Posters In This Topic

Posted Images

Posted

Enjoy. :)

Ask around for help if you can't figure something out. Also, be sure to dig through posting routines and extrapolate how things are done. Hell, Lee and I posted two examples in this thread to dig through. :)

Posted

BTW, did either routine yield the results you were looking for?

Posted

Damn I got so caught up looking at the AutoLisp Reference you shared I haven't even tried the code :oops:

 

I will do so right now and let you know right away.

Posted

Both code examples worked though Lee's didn't give me the option to choose Single or Double. Instead after selecting the text and hitting the text was realigned to single spacing. Not sure if I did it right or not because I see in his code the line where I'm guessing the calculation takes place:

(setq p (LM:GetTextInsertion (car l)) h (* 1.5 (dxf 40 (car l))) a (/ (* 3 pi) 2.))

 

 

I'm guessing the * 1.5 is for single spacing and the * 3 is for double spacing (the rest might as well be greek to me, lol).

Posted
Both code examples worked though Lee's didn't give me the option to choose Single or Double. Instead after selecting the text and hitting the text was realigned to single spacing. Not sure if I did it right or not because I see in his code the line where I'm guessing the calculation takes place:

(setq p (LM:GetTextInsertion (car l)) h (* 1.5 (dxf 40 (car l))) a (/ (* 3 pi) 2.))

I'm guessing the * 1.5 is for single spacing and the * 3 is for double spacing (the rest might as well be greek to me, lol).

Ours do work in two different ways. His will base text placement on attachment point (justification), whereas mine uses the top left corner. Change the justification on some of the text and you'll see the difference.

 

That 3 is part of the calculation for the angle.

 

Both ways have their advantages, you just need to understand how they work to properly choose the one that works for you. :wink:

 

bOTH

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...