Jump to content

Lsp 2004-2008


CRPPIPER

Recommended Posts

I Found A Lisp Program To Easlily Create 3dtext And It Works Great On My 2004 Autocad, But It Does Not Work On 2008! Any Suggestions On How To Fix It Or Where To Find One That Works On 2008?

 

Thanks

 

Crppiper

Link to comment
Share on other sites

I Found A Lisp Program To Easlily Create 3dtext And It Works Great On My 2004 Autocad, But It Does Not Work On 2008! Any Suggestions On How To Fix It Or Where To Find One That Works On 2008?

 

Thanks

 

Crppiper

 

You can't get much help without seeing the

code that has a bug and giving more

info on what exactly is generating the error

 

~'J'~

Link to comment
Share on other sites

Well I Tried To Insert The File In A Reply But Its Too Large, And I Tried To Copy /paste Text And Its Way Too Much...

 

My Email Is justin.ronk@jvic.com, Send Me An Email And Ill Send It To You And Maybee Then You Can Help Me

 

It Gives Me An "error Loading" In The Command Line After I Have Loaded It And Executed The Command. I Can Get To The Point Of Accually Inserting The Text Into The Dwg And That Is When I Get The Error Message... I Dont Have 2008 On My Computer, This Was Off Of Anothers Computer. I Have 2004 On Mine And It Works Fine...the File Is Located In A General Location Where I Can Access It On Any Computer In The Network So Its Not An Issue In Emailing...

 

Thanks

Link to comment
Share on other sites

You could be able to attach them in zipped form

as .ZIP file

Try again, please

There are too many smart boys here exclude me

which can help you much effectively :)

 

~'J'~

Link to comment
Share on other sites

3DText.zip

 

Here Is The Zipped/compressed File Any Help Is Appreciated

 

I Cant Remember Where I Found This Lisp Routine...but They Work Is Making Statments That I Will Be Moving To 2008 Soon And I Need This Routine... Other Wise I Add About An Hour Everytime I Need 3d Text Wrapped Around A Tank Or Vessel....

Link to comment
Share on other sites

Nope, Still Doesnt Work. Its Accualy Worse. As Soon As I Type "n" For New Text, It Just Shuts Down As In It Goes Back To "command:" In The Command Line... Instead Of Asking Me What To Do Next.... Thank You For Trying Though....

Link to comment
Share on other sites

I Found A Lisp Program To Easlily Create 3dtext And It Works Great On My 2004 Autocad, But It Does Not Work On 2008! Any Suggestions On How To Fix It Or Where To Find One That Works On 2008?

Search the lsp file for "AutoCAD.AcCmColor.16" in the set_TrueColor function and change the 16 to 17.

 

Since, evidently, this is version dependent, you could change that line of code as follows:

(setq vla_truecolor (vla-getinterfaceobject (vlax-get-acad-object) (strcat "AutoCAD.AcCmColor." (itoa (atoi (getvar "acadver"))))))

I took a look at the code that fixo posted, and it's basically the same as what I did. It should work! If not, try reopening your drawing and try again. The problem you describe after thping "n" is not related to what fixo changed.

 

Footpeg

Link to comment
Share on other sites

Well Thank Everyone That Helped... The Problem Has Been Fixed...all I Changed Was 16 To 17, And It Works... Accually We Are Running Mechanical 2008 And It Says Its "r17.1" So I Think I Should Change It To 17.1 But For Now I Am Leaving It At 17. Thank You Agian So Much... I Now Understand A Lil More About Lisp Files....

Link to comment
Share on other sites

Here is an updated version from the source. Should work with all versions of AutoCAD now.

I also added a self-contained (no need for a .dcl file, the routine builds it in a temp folder on demand) custom text editing dialog so that later versions function similar to the earlier version with a true dialog (I didn’t like the dtext editor popping up in the corner where you have to hunt to find it). Let me know what you think.

3DText.zip

Link to comment
Share on other sites

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