cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Lisp Scripting in Creo Elements, Generating Geometry

Highlighted
Newbie

Lisp Scripting in Creo Elements, Generating Geometry

I was interested in digging into the Lisp scripting and customization features of Creo, but I am missing an obvious entry point.

 

My intent is to algorithmically generate a model or part.

 

Digging through the help files I see that Lisp expressions can be entered in the text box. However, I do not see a keyword reference, or the option to "run" a script and observe its output. I also dug through the program files and found a few LSP files that change lighting options, but I do not know how to run or access even the pre-made LSPs from Creo.

 

Google isn't getting me to where I need to be, so I thought it would help if I asked the community.

 

Is there a Creo-Lisp reference out there? A guide? An example script for generating geometry?

 

Thanks in advance!

1 REPLY 1
Highlighted

Re: Lisp Scripting in Creo Elements, Generating Geometry

Hi James,

A little bit late and I don't know if you already found an awnser to your question, but maybe this will help you.

If you created a *.lsp-file you can easily drop in Modeling and it will load the file or you can type the following command in the command-line in modeling (load "path/some-file.lsp"). After loading you should be able to see the dialog name in the toolbox, where you can execute it.

A good way to find the most commands you'll need is going to help-->documentation for advanced users--> integration kit --> index .

good luck

Announcements