Autocad for mac - lisp to change floors

Autocad for mac - lisp to change floors

Anonymous
Not applicable
1,101 Views
3 Replies
Message 1 of 4

Autocad for mac - lisp to change floors

Anonymous
Not applicable

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 Likes
Accepted solutions (1)
1,102 Views
3 Replies
Replies (3)
Message 2 of 4

maxim_k
Consultant
Consultant
Accepted solution

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
Message 3 of 4

Anonymous
Not applicable

Oh that works, that you so much Maxim!

0 Likes
Message 4 of 4

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 Likes