Search the Community
Showing results for tags 'function'.
-
Function keys repeating last function when pressed! ACAD2014
tmelancon posted a topic in AutoCAD Bugs, Error Messages & Quirks
For some odd reason when we use our functions keys it always repeats the previous function. If we are drawing a line and want to toggle ORTHO then change ISOPLANE, after we press F8 for ortho then press F5 to re-orient our isoplane pressing F5 actually toggles ORTHO, then when we press F8 to tu... -
How does everybody store their functions they use over and over? I'd like to start building a library of typical functions but am not sure how to build the document to store them for easy retrieval as needed. J. Logan
-
Repeating function for the mid between 2 points and writing their distance
tsotzo posted a topic in AutoLISP, Visual LISP & DCL
Hello, I made the following: (defun c:MC () (setq au* (getvar "aunits")) (setq osm* (getvar "osmode")) (setvar "aunits" 3) (setvar "osmode" 0) (setq pt1 (getpoint)) (setq pt2 (getpoint pt1)) (defun MdatDst () (setq dsC (/ (distance pt1 pt2) 2)) (setq angC (+ (angle pt1 pt2) (/ pi 2))) (setq... -
Defun Function calls with arguments, please help!!
duanuys posted a topic in AutoLISP, Visual LISP & DCL
Here is my section of code that I need help on. The error VisualLISP is giving me is :Function Canceled. The builder doesn't complain, so my syntax is correct, but its just not working. I am making simple lines and changing the color to them using the "change" command with a function call. Can anyon... -
I am using AutoCAD for MAC 2014 for the first time and lost the function keys that appear on the left hand side of the screen. Please help me get them back Many Thanks
-
Tutorial: The Apostrophe and the Quote Function
Lee Mac posted a topic in AutoLISP, Visual LISP & DCL
The Apostrophe and the Quote Function I've just uploaded this tutorial to my site to provide a detailed and hopefully comprehensible explanation of the behaviour & purpose of the apostrophe & equivalent quote function in AutoLISP. Any & all feedback is very much appreciated, including anythin... -
Hopefully I can describe this clearly, here goes.. I have a face-based family that references an annotation family. I have already been able to shift create the annotation shift function, that allows the symbol to move independent of the 3D object (moving the annotation along a wall while leavi...
-
Hello CAD-lovers, I encountered a strange situation few minutes ago. I find out (acad) is a function. As a result of calling it (I think) focus brings to AutoCAD screen, while you are in Visual LISP editor. The color of function was blue, like other built-in functions. Unfortunately now, after e...
-
How to define a function in AutoLISP with arbitrary arguments
Ahankhah posted a topic in AutoLISP, Visual LISP & DCL
Hello everyone, does anyone knows a way to define a function in AutoLISP with arbitrary arguments, same as ARX? -
As many of you will know, I am currently studying for a degree in Mathematics, and, as part of the course, we study the dynamics of such functions as the Logistic Map. I've always been fascinated by this ostensibly simple map, which produces astoundingly complex dynamics resulting in chaos if a...