Welcome Guest!
 ACAD newsletter
 Previous Message All Messages Next Message 
ACAD Newsletter August 2004  jos vandoorn
 Aug 01, 2004 23:00 PDT 


-------------------ACAD newsletter---------------------
         Newsletter about AutoCAD and AutoLISP
-------------------------------------------------------
Vol 4, No 08                                August 2004
-------------------------------------------------------

-------------------------------------------------------
For best viewing maximize the window to full size
-------------------------------------------------------

In this issue we have prepared for you....

1. Top Sponsor Section
2. Notes from the Publisher
3. Creating Shapes 4
4. Privacy Policy, Legal Stuff and Advertising Info
5. Contact Information

*******************************************************
<<=($)=>> 3xInfiniteDownline coming soon <<=($)=>> 3 x
Infinite Downline , info at :
http://www.ad-alyzer.com/727/PVBV68233
*******************************************************

-------------------------------------------------------
1. Top Sponsor Section
-------------------------------------------------------

Why wait for hours? Get your AutoCAD drawings imme-
diately!

You know how it is. It takes hours before an AutoCAD
drawing is created. And then you must check the
drawing. That takes time too.

You can get your AutoCAD drawings within one minute.
All it takes is a smart AutoLISP routine that works
wiht dialog boxes.

If you prefer to wait, then do nothing. But if you want
your AutoCAD drawings immediately, then send a blank e-
mail to:

mailto:acadco-@sendfree.com

You'll learn how you can get your AutoCAD drawings im-
mediately. And what more is accomplished with getting
your AutoCAD drawings immediately.

*******************************************************
Inhale Your Success - Breakthrough Audio Course.
Download, CD, or Tape. Get rid of negative Early Life
Imprinting and Replace with Success and Good Luck using
Breathing/Visualization Techniques. Intro Offer: Free
Yoga Class and Free S/H.
http://inhalesuccess.com
*******************************************************

-------------------------------------------------------
2. Notes from the Publisher
-------------------------------------------------------

Democratic Convention

CNN. The Democratic Convention on CNN. Alexandra
Kerry gave a speech. She was telling about her father,
John Kerry. She had a story.

When she was young. Her little sister brought her
hamsters with her. In a cage. How? That wasn't clear.
But the hamsters ended up in the water.

John Kerry jumped into the water. He saved the
hamsters. And gave them a kiss of life. He was very
brave. He saved the hamsters.

I had the same experience. With a dog. The dog fell of
the bridge. Into the water. My father jumped into the
water and saved the dog.

My father gave the dog a kiss of life. The dog was
saved. But since then the dog acted strange. When my
father was at home.

The dog would walk into the room. And all of a sudden.
He would drop dead. He would lay still. Until my father
gave him a kiss of life again.

Free AutoLISP book

Did I tell you? I wrote an AutoLISP book. I wrote four
AutoLISP books. The first book. I wrote a version that
I'm giving away.

Do you want it? Let me know. Send me an e-mail. Write
"Free AutoLISP book" in the subject line. Send your e-
mail to:

mailto:acadb-@hotmail.com

Support

That one is maybe not so clear. But I give full
support. If you buy my books. I'll give you full
support. Get my books here:

http://autocadbooks.topcities.com

Support is essential. My books are for people that want
to start with programming in AutoLISP. My books teach
them everything.

They have read my books. And then they start with
programming in AutoLISP. That can happen. They are
stuck. They don't know how to proceed.

Come to me. Tell me what your problem is and I'll tell
you what to do. Hoe to do it. I'll make sure that you
can finish your program.

Twenty years ago I started with programming in
AutoLISP. It took me ten years to write decent AutoLISP
programs.

You don't have to wait ten years. With my books. And
with my support. You can be a proficient AutoLISP
programmer within one year.

Presentations

I'm doing presentations now. The presentations are
about programming for AutoCAD. I tell people what I can
do for them.

But I start with facts. I tell people the facts about
AutoCAD. The facts are very shocking. Here are the
facts:

1. It takes an awful lot of time before an AutoCAD
   drawing is created. Four hours? That's quick. A day.
   A couple of days. That's more like it is.

2. Most AutoCAD users think it's normal. The time it
   takes to create an AutoCAD drawing. And that there
   is nothing that can be done about it.

3. Nobody, nobody tells AutoCAD users about programming
   for AutoCAD. And what can be done with programming
   for AutoCAD.

The last point. I don't know about you. And how things
are in your country. But here in Malaysia things look
very bad. Incredible.

Here you've got ACA Pacific. They import AutoCAD from
America and they distribute AutoCAD over their dealers.
They do nothing with programming for AutoCAD.

I talked to them. They know nothing about programming
for AutoCAD. They do nothing with programming for
AutoCAD. They are not interested in programming.

ACA Pacific is selling AutoCAD for a sky high price.
They are only interested in collecting the money.
Nothing else.

AutoLISP books

You already know. I'm very much in AutoLISP. I wrote
four books about it. The books learn to help understand
the language.

These are the books that I wrote:

1. How to start with AutoLISP
2. How to create dialog boxes in AutoCAD
3. Programming in AutoLISP. How?
4. How to create toolbars.

The first book is about the AutoLISP programming
language. The second book is about dialog boxes. You
can add them to your AutoLISP programs.

The third book is about programming in AutoLISP. It's
not sitting behind a computer and start typing code.
More is to be done first.

The last book is about toolbars. You can start your
AutoLISP programs over a toolbar. You can even have
toolbars with fly-outs.

But that's what I'm doing now. I think my books are for
people that want to learn AutoLISP. You know why. To
speed up AutoCAD.

That's the problem with AutoCAD. It takes a lot of time
before an AutoCAD drawing is created. Four hours?
That's quick. Days? That's more like it.

That's what I'm doing now. I'm reaching out to people
that want to speed up AutoCAD. Learn programming in
AutoLISP. That's the way.

I'm working on a web site. For my AutoLISP books. There
you can find information about speeding up AutoCAD.
There is a drawing on the web site.

The drawing is created with an AutoLISP program. Within
one minute. See for yourself. How long would it take to
create it by hand? A day?

This is the web site address where you can find my
AutoLISP books. From there you can also download a free
AutoLISP book.

http://autocadbooks.topcities.com

Shapes

No. You thought we were finished with creating shapes.
No sir. Here is more about shapes. It's the fourth
article in the series.

Lecturer

I was talking to people from the Islamic University. We
were talking about them engaging me as a lecturer. A
lecturer for AutoLISP.

You already know. The way I talk and the way I write. I
went to university. To meet a friend. He was there. Not
to study.

I didn't tell them. I only talked about what I could do
for them. I can teach AutoLISP to their students. I can
show programming for AutoLISP.

I wrote four AutoLISP books. That's what I intend to
do. I'm going to use my books. The course I'll give is
based on my books.

You know. Twenty years ago I started with programing in
AutoLISP. I bought books and I was reading AutoCAD
magazines.

I never did a course. I learned programming in AutoLISP
all by myself. I think that's the way to do it. That
will give a good understanding.

This is how I will teach their students AutoLISP. We'll
use my books. We start with the AutoLISP programming
language. Next dialog boxes.

When that's done I'll show them how to do programming
in AutoLISP. It's not a matter of sitting behind your
computer and start typing code.

That's the last thing I will show them. How to make
toolbars. And how to use toolbars to start your
AutoLISP programs.

That's the course part that I have in mind. After the
course part we have the fun part. We're going to do
projects.

I'll divide my class in groups of four or five
students. Each group will decide what program is to be
written. They will do it.

I'll join all the groups. I'll see what they are doing
and how they are doing it. I'll act as a consultant and
give advice.

Let's say I've got a group of students for one year.
When the year is over they will know everything about
programming for AutoCAD.

They will be very proficient. And I will start with a
new class. We'll do the same. We start with the course
and then there is practice.

That's how it is. Most AutoCAD users don't know. But
you can save a lot of time and money with programming
for AutoCAD.

The students I've had. They will leave the university
and start working. These guys will bring something
extra. Programming experience.

In the company they are working for. They will start
with programming for AutoCAD. The company will see how
much that brings.

Have a good read. Even if you feel that programming for
AutoCAD is no good.

Jos

*******************************************************
Download your FREE e-book today! Go to
http://www.profitclub.us to receive the "Do you have a
Plan B?" fun, easy-to- read, well illustrated, 98 page
PDF book that will help you discover your "Inner
Entrepreneur" and also get a free subscription to
"Expanding Your Vision" ezine!
*******************************************************

-------------------------------------------------------
3. Creating Shapes 4
-------------------------------------------------------

We've seen how shapes are created. But there's a
different kind of shape. We also have the shapes that
are used for texts.

When compiled those font files are the font files for
the text. You can select them in the Text Style dialog
box.

These shape files are special. That's what we have
seen. We have seen how a compiled shape file is loaded
into AutoCAD.

With shape files for text we're talking a different
story. You can't load them into AutoCAD as you do with
a normal shape file.

The shape files for texts are different then the other
shape files. They are in fact very different. That's
why you can't load them into AutoCAD.

A shape file for text has a special shape that starts
with the number 0. That shape contains information
about the shape.

This is the syntax of that shape:

*0,4,font-name
above, below, modes,0

And this is what it all means:

above    the number of vector lengths above the base
         line of the font. That number refers to
         uppercase letters

below    the number of vector lengths below the
         baseline of the font. You know the letters
         that go below the baseline

modes    this byte is zero for horizontal oriented
         fonts. For vertical oriented fonts it is 2.
         Then the code 14 is honored.

         About that code more later

0        We know this byte. This byte indicates the end
         of a shape definition

Here's how these lines could look:

*0,4,GOOD_FONT
21,7,2,0

After the first two lines with the definition of the
zero shape comes the definition of the letters. The
definition is as before.

We can use vector lengths, direction, and codes for
arcs, XY displacement etc. But still there is something
special.

The number of each shape correspondents with the ASCII
code of the letter that is drawn. So the number of a
shape for drawing "A" is 65.

And then the name of each shape. We write the name in
lower case. That saves memory. A name in lower case is
not stored.

For the names we use something like UCA and LCA. UCA
stands for "upper case a" and lca stands for "lower
case a".

Enough said. Now let's create our own shape file for
text. Sure. We could create a shape for each letter.
But that's not what I want to do.

I'll create a font for the letter A and a font for the
letter a. I think that's enough to see how it's done.
But if you feel inspiration ...

This is how the complete shape file for the text I
created looks:

*0,4,GOOD_FONT
4,2,0,0

*10,5,lf
2,8,0,-34,0

*65,14,UCA
044,020,04C,2,8,-2,2,1,020,2,8,1,-2,0

*66,10,UCB
044,020,04C,2,8,-2,2,1,020,0

*67,10,UCC
044,020,04C,2,8,-2,2,1,020,0

*68,10,UCD
044,020,04C,2,8,-2,2,1,020,0

*97,14,LCA
024,020,02C,2,8,-2,0,1,030,2,8,1,0,0

*98,10,LCB
024,020,02C,2,8,-2,0,1,030,0

*99,10,LCC
024,020,02C,2,8,-2,0,1,030,0

I must make a couple of remarks. Do you see shape
number 10. That's the shape for a linefeed. The
position of the next shape moves down.

I added a couple of more shapes. These shapes are just
copied from the UCA and the LCA shapes. I don't want
AutoCAD top protest as I use the shape.

At the end of each shape is a PEN UP action. That's
done to give space for the next letter. We don't want
it against the letter we just drew.

Put these definitions in a text file. And save the text
file under the name GOOD_FONT.SHP. Then compile the
GOOD_FONT.SHP file.

Next move the GOOD_FONT.SHX file to the FONTS folder
under AutoCAD. Use the STYLE command and create a new
style using the GOOD_FONT.SHX.

And type something. Use the whole keyboard. Isn't that
fun? A letter is only drawn as the a-key is pressed. Of
course. Those are the only letters specified.

Do you have inspiration? Or you going to create your
own shapes for text? Very good. Let me know if you've
done something. I'm interested.

This I must tell you. You can compile a shape file for
text. And put it in the FONBTS folder. But you must
restart AutoCAD before you can use it.

Success with your shapes.

*******************************************************
Writer of this article is Jos van Doorn. He is an
AutoCAD specialist, AutoLISP programmer and ACAD
newsletter publisher. The newsletter is for people who
want to learn more about AutoCAD and AutoLISP. It's
FREE. To subscribe:

mailto:acadnewslett-@topica.com
*******************************************************

*******************************************************
Why are "They" Rich and You're Not? Every guru did One
Thing FIRST. It towers above every moneymaking secret.
It’s the very foundation of wealth building. Learn it
for nothing and get paid to use it.
http://www.rad4.com/4u/stingram
*******************************************************

-------------------------------------------------------
4. Privacy policy, Advertising Info, and Legal Stuff
-------------------------------------------------------

This newsletter is only sent on request. Our list of
subscribers is strictly confidential. That means that
your details have never been and never will be passed
on to any third party.

Your privacy is greatly respected. Should you ever wish
to unsubscribe, full instructions are always provided.

To subscribe:

mailto:acadnewslett-@topica.com

To unsubscribe:

mailto:acadnewslette-@topica.com

Previous issues of the newsletter can be seen at:

http://www.topica.com/lists/acadnewsletter/read

But you must first register with Topica.

Advertising info:

If you wish to advertise in this newsletter, you
shouldn't wait a second longer. Ad rates now are the
lowest for the season.

The ad rates are:

Top sponsor message:           5$ per issue
Ad in the sponsors section:       2$ per issue
Exclusive sponsor mailing:    35$ per mailing

The ad guidelines are:

Ads have to be up to 8 lines including a URL and a
mail to tag. Each line can have up to 55 chars max.
Exclusive mailing can have up to 75 lines 55 chars per
line.

Legal stuff:

ACAD newsletter publishes original content and tips
that are distributed by readers. ALL of our articles
are original and copyrighted 2001 and on by Jos van
Doorn and any other contributing publishers.

If you wish to publish any of the content here in your
newsletter please contact Jos van Doorn at

mailto:acadco-@post.com

He's the publisher of this newsletter. Write PUBLISH in
the subject line.

Reprinting or reproducing this newsletter can be done
only if you keep it all together. You may NOT reproduce
any part of this newsletter in a way without a written
permission from the list owner. The signatures are to
be kept intact.

More stuff:

In the archive you can find ll back issues of the ACAD
Newsletter. This is the web site address where you can
find the archive:

http://www.topica.com/lists/acadnewsletter/read

At the web site of the ACAD Newsletter a lot of
applications can be found. There you can also find back
issues bundled in PDF files. Here's the web site:

http://groups.yahoo.com/group/acadnewsletter/files

-------------------------------------------------------
Disclaimer:

ACAD newsletter accepts no responsibility whatsoever
for the content or legality of any customer's
advertisement shown in any e-mailing.

It is the advertisers' responsibility to check and
abide by the Local, State, Federal and International
laws pertaining to the products, services or business
opportunities they advertise, as well as all laws
pertaining to the products, services and/or business
opportunities promotions.

All offers in this publication, are void where
prohibited by law!

*******************************************************
Get $20 payments sent directly to your PayPal or Storm
Payaccount automatically, without lifting a finger! We
do all the advertising, you just sit back and collect
the $20 payments we send your way!
http://tinyurl.com/s2z5
*******************************************************

-------------------------------------------------------
5. Contact Information
-------------------------------------------------------

      Jos van Doorn   -   publisher ACAD newsletter
      Jalan Watan 12
      CA-4-24
      68000 Bandar Baru Ampang
      Malaysia
      (03) 42706214

      mailto:acadco-@post.com

*******************************************************
Make $$ scrapbooking. Work from home to generate
unlimited income. Beginners to advanced scrapbookers
welcome to apply. Mentoring and support available to
each individual. Contact me at:
leavea-@zoominternet.net
http://www.i-want-to-be-a-work-at-home-mom.com/mdferri
*******************************************************

_________________________________________________________________
Download the latest MSN Messenger http://messenger.msn.com.my
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.