Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/26/2019 in all areas

  1. Note that the "c:" prefix has no bearing on whether or not the function may accept arguments - _$ (defun c:foo ( x ) (+ x 2)) C:FOO _$ (c:foo 2) 4 The "c:" prefix is solely use to make a function available as a command which may be executed directly at the AutoCAD command line. Of course, evaluating a function which requires arguments as a command directly at the command line will result in a "too few arguments" error, but these two properties of a function are not related.
    1 point
  2. You may wish to refer to my explanation here.
    1 point
  3. In addition to @rkmcswain excellent answer above, look at these two functions, and spot the differences (defun function_name (passed vars / local_vars) expressions ) (defun C:function_name ( / local_vars) expressions )
    1 point
  4. [SEE COLON] simply means that the function name following can be used at the command line, like a core function (i.e.: Line, Circle, Pline). If you omit the prefix, or use your own like KW:Fun, then you have to include that part when you call the function name, along with enclosing it in parenthesis (KW:Fun) Some authors do this to their functions for identification purposes.
    1 point
  5. While you're waiting, consider that this isn't some magic portal where you ask for something for free and it's delivered to you with a flash of smoke.....
    1 point
  6. Wouldn't it be wiser to use the default browser? (command "_.Browser ...)
    1 point
  7. Hi everyone, new version is coming : (but not yet )
    1 point
  8. i did google but not found as per my requirement, So,i request you sir much better upload complete lisp. As per my requirement. thanks
    -1 points
×
×
  • Create New...