Jump to content

Recommended Posts

Posted

I have one *.fas.I want fix the command with *lsp for that *.fas.So how to fix that command??

 

 

Here in my *.fas Command is "checking"

 

Through Lsp i want change that Command.Just i am giving "Chk" means it should be read that *.fas

 

(defun main

(princ)

)

(main)

(defun c:Chk

(Checking)

)

Posted

Maybe vla-sendcommand could help you. It likes send keys method ^^

Posted

Please forgive me, as I am having a hard time understanding your request.

 

Are you asking how to decompile a .FAS so that you can modify the contained .LSP file(s)? :unsure:

Posted

RenderMan....

 

Actually i have one *.fas for Duplicate delete.For that command is 'dupdelete'.So this command is so lengthy.So i know we cannt open that *.fas.So i want shorten that command from my lsp.Suppose if i am giving 'Test' command means its should activate that 'dupdelete' command....

 

Like

(defun main

(princ)

)

(main)

(defun c:Test

(dupdelete)

)

Posted

???

 

(defun c:DD () (c:DupDelete))
(defun c:DupDelete ()
 ;; <-- Your code here
 )

Posted
???

 

(defun c:DD () (c:DupDelete))
(defun c:DupDelete ()
 ;; <-- Your code here
 )

 

here your code means which code?render???*.fas Code?

Posted
here your code means which code?render???*.fas Code?

 

Look, if you load your .FAS and it provides a command called DupDelete, then paste this at the command line:

 

(defun c:DD () (c:DupDelete))

 

... and hit Enter.

 

Now test by typing DD at the command line, and hit Enter. Does it do the same as entering DupDelete+Enter?

Posted
Look, if you load your .FAS and it provides a command called DupDelete, then paste this at the command line:

 

(defun c:DD () (c:DupDelete))

 

... and hit Enter.

 

Now test by typing DD at the command line, and hit Enter. Does it do the same as entering DupDelete+Enter?

Just tweak your acad.pgp file.

Posted
Just tweak your acad.pgp file.

 

That is another option.

 

I stuck with the LISP topic, because it sounded like they wanted to revise the source code for the .FAS, etc.

 

Very unclear.

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