Anuncios

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

Autocad for mac - lisp to change floors

Anonymous

Autocad for mac - lisp to change floors

Anonymous
No aplicable

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!

0 Me gusta
Responder
Soluciones aceptadas (1)
877 Vistas
3 Respuestas
Respuestas (3)

maxim_k
Consultant
Consultant
Solución aceptada

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
No aplicable

Oh that works, that you so much Maxim!

0 Me gusta

john.vellek
Alumni
Alumni

 

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
0 Me gusta