- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi Everyone,
I was just wondering if there's any idea or lisp to calculate how many verticals and horizontals I have in my drawings.
layer in the same name. drawn in polyline, its frames for windows but I need to know how many I have frames in my project, verticals to be separated from horizontals, please note that this will be for entire high rise building.
I would appreciate if someone can give me any solutions, as it'll save me of time. if there's lisp program or any command.
best regards,
waseem
¡Resuelto! Ir a solución.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
yes, I haven't use block, because most of the drawings need to be stretched when dimension gets revised by architects.
so I have to use polyline it's easier to stretch also to make the file not heavy.
please see attached example.
regards
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
you should have used blocks with scaling.
Using polylines means you need to write a tool that identifies the order of the polyline vertices, then the distances and angles between these vertices and see if that is now horizontal or vertical.
Use a block, best would be 2 different names so you can later use the block names to identify this is a vertical or this is a horizontal one. Scaling of the block then shows the length of the frame ... and using command _DATAEXTRACTION to get your list, without any coding.
- alfred -
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------
(not an Autodesk consultant)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@Alfred.NESWADBA I can't have it as blocks, as I need to stretch windows when sizes change, imagine starching windows for a whole building that contain more than 1000 windows. i thought there's a lisp or command that give me how many vertical and horizontal I have with no sizes just quantities.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
>> I can't have it as blocks, as I need to stretch windows
Then create single polylines with width, then you have 2 points to identify horizontal or vertical and not 4 points.
- alfred -
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------
(not an Autodesk consultant)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
>> i thought there's a lisp or command that give me how
>> many vertical and horizontal I have with no sizes just quantities.
Of course you might create a lisp, but this needs to do more work than necessary.
AutoCAD does not have an idea about a polyline with 4 vertices if that is horizontal or not.
- alfred -
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------
(not an Autodesk consultant)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
You still need to know quantities of each window size for installation: you giving the manufacturer a list of verticals and horizontals is only part of the Window order. someone somewhere need to identify which combos go where. So now you are back to blocks.
Post a picture of one elevation of your building, lets show you how it is correctly done in the AEC industry as a standard.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi
its very easy for line if you can explode them temporary to line calculate the numbers and then undo its
1-you can do by autolisp
2- quick select
see attached pictures by 2 way.
by the way this is a sample for line , using an auto lisp will be very easy , with small lisp you will have a report from all lines
if you need to use this routine every time ,its more better to load a lisp file.
just attache one small sample of your jobs includes the results , (just to see what layer shod be calculate ... )i will write a lisp file to help you.
good luck
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Forgive me, but the info you want is already listed, you just need to harvest the dimensions?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi
if you can use ano. block,it will be very helpful for you.'just select one of hor or ver ano. blocks and select similar,
see attached pictures
but if you cant change those double polylines to Lines or block ,then for sure you have use a spacial lisp file to calculate and harvest information (it may be a large autolisp process)
i am attaching cad file also see maybe it can change your mind.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@ara_neresesian thank you, this is good but the problem is I can't stretch it, so imagine when there's changes for the whole building it'll take me a while to drag the mullion instead of stretch it to get the right sizes.
but thanks for making me these blocks. seems there's no way that Cad will know vertical from horizontal.
regards,
waseem
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
I agree with @pendean you should probably look at your work process and re-evaluate that way things are being done. The line work you show in your drawing are not windows but outlines where windows could go between support members. Are you wanting to know the number of support members, number of windows, number of rubber seals, number of ...?
One solution I could suggest to you (other than take a look at using Revit) is utilize a layer specifically for the windows, use BPOLY to generate the window in each hole (where a window would go) and then those plines are stored specifically on that layer. They would easily stretch with your edits, could easily be counted or summarized, provide separation of supports and actual window, provide a means to measure those windows and isolate them.
If you wanted to automate the process you could create an AutoLISP routine to generate them with some creative filters to avoid being generated in the support pline areas.
Good luck,
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi
You welcome,
Yes you are right.The autocad core cannot select those poly lines with your way,
but with auto lisp its possible to select and report.
because on each polyline you have delta x and delta y and total length and.....
good luck
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@ara_neresesian is there a way to make me this autolisp so I can use it for my projects?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
hi
yes its %100 possible with this kind of drawings.
but to be sure please send me the most complicated frame you have ,
i have to see every possibility (like different width of beam (35 , 38 )not aligned horizontal elements , not equal in vertical length elements or ....
do you have an angle eleman?
do you have an arch?
.
.
.
.
.
in autolisp we have to care about all possibility's and conditions.
good luck
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi Ara,
please see attached Cad file for different windows. each project we have different height and width so I can't attach everything as I don't know what will be the height for our upcoming projects.
35 & 38 are window frames, you will notice that usually our drawings starts with 35 and ends with 35.
for an angle we usually use corner. attached is showing that.
arch. we have but is very rear so I won't attach it.
please let me know if you need more information.
regards,
waseem
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi
I get what i need .
its possible to do it
it will take time, but no worry i am going to do it.
and i will start to figuring the algorithm.
i will inform you for next step.
good luck