06-05-2021
11:11 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
06-05-2021
11:11 AM
Hi @jmdclemente ,
I looked at your msa_pisos.lsp file.
The problem is that it uses a custom function (setstline):
(DEFUN setstline (/ stline)
(get_imf)
(SETQ
stline (STRCAT
"S+A PISOS: " "$(RTOS,$(GETVAR,USERR1),2,0)"
" - OSNAP: " "$(getvar,osmode)"
" - LTS: " "$(getvar,ltscale)"
" - PSLTS: " "$(getvar,psltscale)"
" - IMF: " "$(getvar,useri5)"
" - PJN: " "$(getvar,projectname)"
)
)
(SETVAR "modemacro" stline)
)
that changes the MODEMACRO system variable, but this variable is not supported in AutoCAD for Mac.
When I commented this function in your LSP, it started loading and working, as it seems to me, fine.
Try attached LSP.
BTW, if you want to place AutoLISP code in your post, please use "Insert/Edit code sample" button instead of pasting code directly to the post:
Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.
Maxim Kanaev
Architect
MARSS
Etiquette and Ground Rules of Autodesk Community