CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > Enhancement Requests

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 4 votes, 2.75 average. Display Modes
  #1  
Old 01-02-2003, 02:44 PM
rr79 rr79 is offline
Member
 
Join Date: Oct 2002
Location: Huntington Beach
Posts: 63
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.
Reply With Quote
  #2  
Old 01-11-2003, 07:54 AM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
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 )
Reply With Quote
  #3  
Old 01-21-2003, 12:48 PM
rr79 rr79 is offline
Member
 
Join Date: Oct 2002
Location: Huntington Beach
Posts: 63
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.
Reply With Quote
  #4  
Old 06-12-2009, 08:17 AM
Michael Kahle's Avatar
Michael Kahle Michael Kahle is offline
Registered User
 
Join Date: Oct 2002
Posts: 121
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
__________________
Best regards,
Michael

--

Spam goes nospam@ptc.com and spam@postini.com
Reply With Quote
  #5  
Old 09-24-2009, 12:24 PM
John van Doorn's Avatar
John van Doorn John van Doorn is offline
Registered User
 
Join Date: Nov 2002
Location: The Netherlands
Posts: 83
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
Reply With Quote
  #6  
Old 10-30-2009, 06:32 AM
Mike Swartz's Avatar
Mike Swartz Mike Swartz is offline
Registered User
 
Join Date: Jan 2004
Location: Fort Collins
Posts: 322
Re: integrated lisp editor

Quote:
Originally Posted by John van Doorn View Post
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.
Quote:
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 )

Looks like he just proved your point
Reply With Quote
  #7  
Old 10-30-2009, 08:00 AM
BMaverick's Avatar
BMaverick BMaverick is offline
Registered User
 
Join Date: Mar 2009
Location: Tennessee, U.S.A.
Posts: 267
Re: integrated lisp editor

Quote:
Originally Posted by John van Doorn View Post
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.
That would be nice indeed.

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
Reply With Quote
  #8  
Old 11-05-2009, 01:15 AM
John van Doorn's Avatar
John van Doorn John van Doorn is offline
Registered User
 
Join Date: Nov 2002
Location: The Netherlands
Posts: 83
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\")]"
Next we need to change notepad++ to lauch the lsp file when we hit F6, i wrote a batch file: C:\bin\load_lisp.bat which can be called from notepad++

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"
)
)
And last we need to tell notepad++ to lauch the batch file with the filename parameter. You can accomplish this by editing the file:
%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 &quot;$(FULL_CURRENT_PATH)&quot;</Command>
Happy programming!
__________________
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.
Reply With Quote
  #9  
Old 11-06-2009, 08:41 AM
BMaverick's Avatar
BMaverick BMaverick is offline
Registered User
 
Join Date: Mar 2009
Location: Tennessee, U.S.A.
Posts: 267
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:21 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
You Rated this Thread: