Ptmanager by Lee Mac
Hi all,
Following the hereunder attached discussion. I got the menu to pop up and the application to work. My only issue is that the points from the txt file are being inserted in the correct position but the value in the attribute remains 0.00.
any suggestions?
Ptmanager/ Lisp/ dcl
Sebastian Muecke
Sebastian Muecke
November 2014 Flag
Hi there,
i´m using bricscad v14 for windows and i would like to use a lisp-application witch was made for AutoCAD (Ptmanager by Lee Mac; it is an free application for exchange geometric data between CAD and txt/csv files and it inciudes also a .dcl file to work with menus)
I uploaded (APPLOAD) the file into BricsCAD but it does n´t work.
Chargement \S.Muecke\PtManagerV2-4-X.lsp
: (LOAD "D:/S.Muecke/PtManagerV2-4-X.lsp")
:: Point Manager | Version 2.4 | © Lee Mac 2009 www.lee-mac.com ::
:: Type "PtM" to Invoke ::
: PTM
** Dialog File could not be Written **
I have no experience in writing applications at all but i´m willing to learn. Maybe someone here could give me good advice.
Thanks,
Sebastian
Quote
Comments
Roy Klein Gebbinck
Roy Klein Gebbinck
November 2014 Flag
The Lisp program tries to get path information from the file ACAD.PAT. BricsCAD uses different names for its hatch pattern files namely iso.pat and default.pat.
I'm not sure how the program should work but if you change line 244 the .dcl file is created and the dialog is displayed.
New code for line 244:
[code](if (setq wPath (findfile "default.pat"))[/code]
Quote
Sebastian Muecke
Sebastian Muecke
November 2014 Flag
Hello Roy,
thank you very much for your help. The menu works now but the functions seem not to do so :-(
I guess i should take some extra lessons in the subjects lisp and dcl.
Just to let you know the application was made to import and export coordinates (X, Y, Z) between AutoCAD and txt/csv -files. This is could be very helpful as you have your coordinates in an excel-file and you want to work with them as points in a CAD-program.
Quote
Roy Klein Gebbinck
Roy Klein Gebbinck
November 2014 Flag
The program works OK as far as I can tell. I am able to import points from a csv file into a drawing (as blocks or points).
It is important to realize that the lists used for 'Input Type' and 'Output Type' are linked. This makes sense programmatically but can be confusing. To be able to choose the 'File' option for 'Input Type' you may have to change the 'Output Type' first, and vice versa.
Quote
Roy Klein Gebbinck
Roy Klein Gebbinck
November 2014 Flag
BTW, there is a second reference to "ACAD.PAT" in the Lisp file. If you change that to "default.pat" as well the help button will work.
Quote
Following the hereunder attached discussion. I got the menu to pop up and the application to work. My only issue is that the points from the txt file are being inserted in the correct position but the value in the attribute remains 0.00.
any suggestions?
Ptmanager/ Lisp/ dcl
Sebastian Muecke
Sebastian Muecke
November 2014 Flag
Hi there,
i´m using bricscad v14 for windows and i would like to use a lisp-application witch was made for AutoCAD (Ptmanager by Lee Mac; it is an free application for exchange geometric data between CAD and txt/csv files and it inciudes also a .dcl file to work with menus)
I uploaded (APPLOAD) the file into BricsCAD but it does n´t work.
Chargement \S.Muecke\PtManagerV2-4-X.lsp
: (LOAD "D:/S.Muecke/PtManagerV2-4-X.lsp")
:: Point Manager | Version 2.4 | © Lee Mac 2009 www.lee-mac.com ::
:: Type "PtM" to Invoke ::
: PTM
** Dialog File could not be Written **
I have no experience in writing applications at all but i´m willing to learn. Maybe someone here could give me good advice.
Thanks,
Sebastian
Quote
Comments
Roy Klein Gebbinck
Roy Klein Gebbinck
November 2014 Flag
The Lisp program tries to get path information from the file ACAD.PAT. BricsCAD uses different names for its hatch pattern files namely iso.pat and default.pat.
I'm not sure how the program should work but if you change line 244 the .dcl file is created and the dialog is displayed.
New code for line 244:
[code](if (setq wPath (findfile "default.pat"))[/code]
Quote
Sebastian Muecke
Sebastian Muecke
November 2014 Flag
Hello Roy,
thank you very much for your help. The menu works now but the functions seem not to do so :-(
I guess i should take some extra lessons in the subjects lisp and dcl.
Just to let you know the application was made to import and export coordinates (X, Y, Z) between AutoCAD and txt/csv -files. This is could be very helpful as you have your coordinates in an excel-file and you want to work with them as points in a CAD-program.
Quote
Roy Klein Gebbinck
Roy Klein Gebbinck
November 2014 Flag
The program works OK as far as I can tell. I am able to import points from a csv file into a drawing (as blocks or points).
It is important to realize that the lists used for 'Input Type' and 'Output Type' are linked. This makes sense programmatically but can be confusing. To be able to choose the 'File' option for 'Input Type' you may have to change the 'Output Type' first, and vice versa.
Quote
Roy Klein Gebbinck
Roy Klein Gebbinck
November 2014 Flag
BTW, there is a second reference to "ACAD.PAT" in the Lisp file. If you change that to "default.pat" as well the help button will work.
Quote
0