Jump to content

Lisp to paste contents of clipboard with specified font and spacing etc


Recommended Posts

Posted

Hi

 

Could someone kindly offer a lisp to do the following:

 

What I'm currently having to do is copy text from an excel sheet and past in AutoCad using "paste,special,text"

While this works I then have to then change the following parameters,

 

font=Arial

text height=2.2171

line space factor=0.8727

line spacing distance=3.2249 

line space style=exactly

justify=top left

defined width=95

defined height=270

It would be great to have a lisp command that pastes the text in clipboard with the above parameters, no need for user input as the parameters above are always constant

 

Any help much appreciated

 

Posted

You can read Excel direct from CAD, so if you explain more may be able to help.

 

Need a dwg with sample table set up the way you want it and a Excel matching file. 

 

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