Jump to content

What I should write in Command line to use this lisp


CAD USER

Recommended Posts

Wouldn't that be this...

 

(LM:parsenumbers "your string here")

 

As per the example RKM pointed you to at Lee Mac's website which was (LM:parsenumbers "1a-2.3b4c56").

Link to comment
Share on other sites

Well, I can't explain it any more than this.

 

(LM:parsenumbers "1a-2.3b4c56")

 

The first part is the function name LM:parsenumbers

The second part is the arguments you are passing to the function "1a-2.3b4c56"

Edited by rkmcswain
fix typo
Link to comment
Share on other sites

Here is an example my layout name is "Layout 22" in this code its assigned to variable tabname so (setq dwgnum (Lm:parsenumbers tabname)) returns dwgnum as 22. The bit you where probbaly missing was the assigning to a variable the answer.

 

rkmcswain example in the prior post as shown would return, dwgnum = 123456

Link to comment
Share on other sites

My guess is that the OP wants to update text entities with recalculated numerical portions. But he is not very clear in this and his other request.

Edited by Roy_043
Link to comment
Share on other sites

My guess is that the OP wants to update text entities with recalculated numerical portions. But he is not very clear in this and his other request.

 

Rules for starting threads:

1. No mind readers here, take at least 2 minutes to explain what you want someone else to spend half an hour coding for you. Most of the time that code or one similar has already been written.

2. If you're asking about something you found online post the link, not the code.

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