#1
|
|||
|
|||
integrated lisp editor
I think it would be extremely beneficial to have an integrated lisp editor similiar to autocad autolisp editor.
Just an idea, but I can survive without one. |
#2
|
||||
|
||||
Sorry RR97,
I do not understand your posting. on one hand you are asking for a LISP editor on the other hand you wrote 'but I can survive without one.' It's a little bit funny, isn't it? I assume CoCreate will never create/deliver a simple ascii editor. There are enough (freeware) tools around and a couple of them offer syntax high lighting for LISP, too. And further more, if CC would do so, how many people would be satisfied whit it? There would be lots of question: "I'm missing this" "I'm missing that".. CoCreate will concentrate on their core business and not spend time for an ascii editor (at least I hope so ) |
#3
|
|||
|
|||
Have you used the ACAD 2000 Autolisp editor?? It's amazing. It one of the best lisp editor, I've ever used. I prefer it over ultra edit, textpad, boxer and various other lisp editors.
I use it for all of my OSDM and autocad lisp code creation. It's ability to help debug code is great, along with it's integrate help files (note only for autolisp). I just think it would be nice to have a similar package available for OSDM. |
#4
|
||||
|
||||
Re: integrated lisp editor
CoCreate now adds Notepad++ to its package which also includes hilighters for lisp,ikit and macro code.
http://notepad-plus.sourceforge.net/de/site.htm |
#5
|
||||
|
||||
Re: integrated lisp editor
Notepad++ is great, but i like to see if it would be possible to hit F5 in notepad++ which would load the file into modeling.
__________________
High performance CAD workstations Please visit us at https://www.cadware.nl |
#6
|
||||
|
||||
Re: integrated lisp editor
Quote:
Quote:
Looks like he just proved your point |
#7
|
||||
|
||||
Re: integrated lisp editor
Quote:
Or how about in the EDIT > SETTINGS > UI SETTINGS the Lisp editor can be defined by the user. This way notepad++ or any other text editor can be defined. This way, when the hot-key is pressed in CC, it would load the active Lisp file into modeling. Of course, the Lisp file may need to be saved first. Not sure how this would totally interact. It would be nice to have the defined Lisp editor as a plug-in to CC. Plenty of the other parametic CAD systems talk with spreadsheets or are direct plug-ins to manage the parameters. Having a CC plug-in for the Lisp editor would be a great interface.
__________________
Support Your Local Sheriff - At high noon Jason: "How much does it pay?" Citizen: "Well, none of our other sheriffs ever lived long enough to find out." Co-Create 2007 (15.50G) ANSYS Workbench 14 SolidWorks 2011 UGNX-7.5 / TeamCenter UA 8 PADS 2000 Applicon Bravo Autotrol CADAM Pro/E |
#8
|
||||
|
||||
Re: integrated lisp editor
I've found a solution for this which i like to share:
What I accomplished is that when i hit F6 in Notepad++ that the file is loaded in Modeling and that CoCreate Modeling pops to the front. This is what you need to do: First I added some registry keys in a way that when i double click in explorer on a .lsp file it loads into modeling (change the path's to meet your installation): Code:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.lsp] @="SolidDesigner.Lisp" [HKEY_CLASSES_ROOT\SolidDesigner.Lisp] @="SolidDesigner Lisp File" "EditFlags"=hex:00,00,00,00 [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\DefaultIcon] @="C:\\PROGRA~1\\CoCreate\\COCREA~1\\binNT\\SOLIDD~1.EXE,1" [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell] [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\open] [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\open\command] @="C:\\PROGRA~1\\CoCreate\\COCREA~1\\binNT\\SolidDesigner.exe /dde" [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\open\ddeexec] @="[open(\"%1\")]" [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\print] [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\print\command] @="C:\\PROGRA~1\\CoCreate\\COCREA~1\\binNT\\SolidDesigner.exe /dde" [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\print\ddeexec] @="[print(\"%1\")]" [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\printto] [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\printto\command] @="C:\\PROGRA~1\\CoCreate\\COCREA~1\\binNT\\SolidDesigner.exe /dde" [HKEY_CLASSES_ROOT\SolidDesigner.Lisp\shell\printto\ddeexec] @="[printto(\"%1\",\"%2\",\"%3\",\"%4\")]" Code:
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION rem Check that the current file is a lisp Program Source file if /i %~x1 NEQ .lsp ( echo Error: file %~dpnx1 is not a lisp Program Source file ^(^*.lsp^) echo. pause ) else ( if not exist "%~dpn1.lsp" ( echo Error: file %~dpn1.lsp does not exist echo You have to save the file before you can run it echo. pause ) else ( "%~dpn1.lsp" ) ) %APPDATA%\notepad++\shortcuts.xml, please note that you can not edit this file with notepad++ itself because when you exit notepad++ this file will be overwritten. Add the following line to this file in the section <UserDefinedCommands>: Code:
<Command name="Load in Modeling" Ctrl="no" Alt="no" Shift="no" Key="117">C:\bin\load_lisp.bat "$(FULL_CURRENT_PATH)"</Command>
__________________
High performance CAD workstations Please visit us at https://www.cadware.nl Last edited by John van Doorn; 11-05-2009 at 07:08 AM. |
#9
|
||||
|
||||
Re: integrated lisp editor
Brilliant work!
__________________
Support Your Local Sheriff - At high noon Jason: "How much does it pay?" Citizen: "Well, none of our other sheriffs ever lived long enough to find out." Co-Create 2007 (15.50G) ANSYS Workbench 14 SolidWorks 2011 UGNX-7.5 / TeamCenter UA 8 PADS 2000 Applicon Bravo Autotrol CADAM Pro/E |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|