I need help for work with file exported from DIALUX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello. I'm from Junín-Perú. I'm helping in the work of the future Estadio Huancayo that will be built in 5 years (An Stadium).
google coordinates : -12.071819,-75.202454
I received files from Dialux (in first attach) and I need to convert those files to blocks of lights (like the second attached) from our legend and add lines that represent tubes and finally, I need add switchers. A day normal for people that work with interior lighting.
My problem is that is the first time that I received files from DIALUX (used for Europeans interior lighting calculation) and I received a lot of groups with 3D polylines.
I tried a search in google for a lisp that converts Groups in Blocks, I found one but need be modified
; rename version ; original code by ASMI rename by Alan H (defun c:pb (/ lPt) (and(setq lPt(getvar "LASTPOINT")) (vl-cmdf "_.copybase" lPt (ssget) "") (vl-cmdf "_.pasteblock" lPt) (setq objname (assoc 2 (cdr(entget (entlast))))) (vl-cmdf "_.erase" "_p" "") (command "-rename" "block" (cdr objname) (getstring "Enter new name")) ) (princ) ); end of c:pb
I tried asking for help ins this forum but apparently is not possible.
link to the post where I'm asking for help: https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/convert-un-named-groups-to-blocks/td...
So now I'm asking for suggestings of people. What LISP-routines should I use to work with this problem?
PD: The third attached file is my list of LISP routines that I'm using to work.
PD: This project will be updated each month. so It files will need an update constantly.