Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

maxim_k
en respuesta a: jmdclemente

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:

2021-06-05_21-01-08.png

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community