Jump to content

How to use the command text in LISP and Print the text through LISP


Recommended Posts

Posted

If anyone can help me out for the problem what i am facing, I would be greatful to them and very much from my bottom of my heart I convey my Advance thanks to all.

 

The problem is in the lisp file which I have attached I have given some values to enter and draw a rectangle and hatch the rectangle. So that it looks like a foundation when we see in Longitudinally in the section. So in this connection I want the grade used for the foundation also to be displayed inside the rectangle, in which I have already specified in the lisp program. But the grade value i.e the "C.C.M-15" is not displayed after running the program. please kindly give me a solution to this problem.

 

Once again Thanx in Adv.

 

Mvk Ravindra

PRINT_TEXT.lsp

Posted

Can you please upload an image shows your goal with the routine ?

Posted (edited)

Your current textstyle has a specified height:

 

this line will fail

(COMMAND "TEXT" H I "0" J "" "")

 

Quick fix for your code

(COMMAND "-STYLE" "" "TIMES NEW ROMAN" [color=blue]I[/color] "" "" "" "")
(COMMAND "TEXT" H "0" J )

Edited by pBe

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