Anuncios

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

Anonymous
875 Vistas, 3 Respuestas

Autocad for mac - lisp to change floors

Hi guys, I have this lsp to quickly change and copy things from one floor to another. You first write the command PISOS to set the distance between floors in your paper space (for example 500) and the when you write the command UP or DOWN it changes floors. CU to copy UP, etc.

Does someone have an equivalent lsp that works in Autocad for mac?

Thanks!

maxim_k
en respuesta a: Anonymous

Welcome to Autodesk Forums!

 

Hi Maria,

 

I don't see anything in your AutoLISP routine which can prevent it from using in AutoCAD for Mac, except this strings:

 

(DEFUN setstline (/ stline)
 (get_imf)
 (SETQ
   stline (STRCAT
     "MAT PISOS: "		"$(RTOS,$(GETVAR,USERR1),2,0)"
     " - OSNAP: "		"$(getvar,osmode)"
     " - LTSCALE: "		"$(getvar,ltscale)"
     " - PSLTSCALE: "		"$(getvar,psltscale)"
     " - IMAGEFRAME: "		"$(getvar,useri5)"
     " - PROJECTNAME: "		"$(getvar,projectname)"
    )
 )
 (SETVAR "modemacro" stline)
)
(setstline)

 

I commented these lines in the routine and attached it to my post.

Can you test it now?

 

Maxim

 

 


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
Anonymous
en respuesta a: maxim_k

Oh that works, that you so much Maxim!

john.vellek
en respuesta a: Anonymous

 

I am glad to hear that it worked. I’ve just accepted the response to your post as a solution so that others can benefit from the information.

 


In the future, please click on the ‘Accept as Solution’ button if/when relevant. Please feel free to let me know if you have any questions or concerns!

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback