@tpl_arch wrote:
I'm sory Henrique, but I don't know what you mean by "sub functions".
....
To be a little more specific, you want to look for a file, hopefully with the .lsp filetype ending, that contains somewhere in it
(defun store
which will probably contain within it something like
(setq >90 and likely also (setq thick and (setq ang2
and a file or files that contain(s)
(defun brkwall and (defun side and (defun width
Those (defun things and the code that follows them define the sub-functions or sub-routines that your posted routine uses, but that are not native AutoLisp functions. The (setq ones are setting variables that it uses, though they may not all be there, given that it sets some of them itself it they're not set already.
They could all be in one file, or in separate ones, or some in one and some in another. If they're available to you in any drawing without your loading them yourself, then they are most likely defined either in an acaddoc.lsp file directly, or in files that it loads with (load functions. Look for that file, and within it for either those sub-function definitions or files that are loaded which probably contain those definitions. Look at the latter, if any, for the sub-function definitions. Post the contents of those if they're .lsp files, and not proprietary or something.
However, they could be defined in some kind of compiled file(s) with a filetype ending such .vlx or .fas, in which case you won't be able to get at the definitions -- you would need to ask whoever compiled them for the source code.
Kent Cooper, AIA