Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pls Simple Help needed to my lsp [Plotting]

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
148 Views, 4 Replies

Pls Simple Help needed to my lsp [Plotting]

(DEFUN C:PlotPre()
(command "-plot" "y" "" "zzz.pc3"
"papersize" "Inches" "Landscape" "n" "E"
"scale" "C" "y" "zzz.ctb" "y" "n" "y" "n" "n" "n" "N")
(COMMAND "_preview")
(princ "\nhelp please")(princ)
)

What is the problem here? My lsp clearly say what I want.
First Im trying to set my plot setup then I want to call the Full Preview so that I can see the whole sheet.

This lsp works, no errors, so I know that Im missing something.

and

Im also looking for a lisp routine that will allow me to "previous plot" then "Full Preview" <---for some reason I cant this to work too. If you have any idea to this, it would be greatly appreciated.=)

Thanks a lot
4 REPLIES 4
Message 2 of 5
jimmy.dhondt
in reply to: Anonymous

Hi recca,

The last but one "n" in your line answers "no" to the question "save the plot configurations". Because no configuration is saved, no preview can be made.

(command "-plot" "y" "" "zzz.pc3"
"papersize" "Inches" "Landscape" "n" "E"
"scale" "C" "y" "zzz.ctb" "y" "n" "y" "n" "n" "n" "N")

Kind regards,

Jimmy
Message 3 of 5
jimmy.dhondt
in reply to: Anonymous

Hi again,

For your "previous plot" problem:

(command "-plot" "N" "Model" "previous plot" "zzz.pc3" "n" "Y" "n")


Kind regards,

Jimmy
Message 4 of 5
Anonymous
in reply to: Anonymous

okay thnx
Message 5 of 5
Anonymous
in reply to: Anonymous

got it! thnx

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost