Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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!
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