Jump to content

Recommended Posts

Posted

Hi Lisp Gurus,

 

The attached lisp routine exports the XYZ coordinates of a polyline and writes to a csv file. I would like to make edits to this code so that it prompts the user to enter a string(generally real/whole numbers) for each polyline selected and export this string in addition to the XYZ coords. This string needs to be the first value for each vertex of the polyline exported and the code needs to repeat this for each polyline selected.

 

I am new to lisp coding and any help is greatly appreciated.

 

Thank you!

ptExp.lsp

Posted

Check the GETSTRING and STRCAT functions; those will allow you to get user input (the prefix), respectively concatenate strings.

 

Regards,

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