- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Repetitive calculation of area
I am looking for a solution for:
When drawing a ground plan, you have a recurrent task, namely:
Create a text box containing the name of the space, the area of the space and its perimeter. for example
Living (Textstyle Roomname)
area = 40 m2
perimeter: 28 lm (both textstyles Roominfo)
The calculation can be done via Measuregeom
Does anyone know a routine to automate this?
If possible, these data may also be placed in a table.
¡Resuelto! Ir a solución.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Welcome to Autodesk Forums!
Hi Etienne,
You can use Text Fields for this:
Look in the attached drawing.
Maxim
Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.
Maxim Kanaev
Architect
MARSS
Etiquette and Ground Rules of Autodesk Community
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Thank you for your answer.
I know I have to draw a polyline for each room.
First problem : when i ask the proporties of the polyline, it just give me the area and not the perimeter.
And second : I am look for a tool (select the polyline and then click on a icon or run a macro of ...) that ask me for the name of the room and then automatic generates a text-object with this info and a base-point so I can put the text-object somewhere in that room.
I do not know if such a tool exists but it should be fantastic if it does.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
>>>>I do not know if such a
>>>>tool exists but it should be fantastic if it does.
Yes, I think it is possible to create such routine using AutoLISP. I have one "homebrew" tool which I wrote a long time ago. I uses blocks with attributes which populated during user interaction with drawing: when I start this routine it asks for room number, then asks to outline the border of the room, then asks fot the room name and finally inserts a block with attributes populated during the first stage.
The drawback is that if the border of the room will be changed, it will not update the attribute values, you have to use the routine again to create new block.
Maxim
Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.
Maxim Kanaev
Architect
MARSS
Etiquette and Ground Rules of Autodesk Community
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Maxim
Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.
Maxim Kanaev
Architect
MARSS
Etiquette and Ground Rules of Autodesk Community
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
All we have to do is waiting for a person (nerd
) who makes this routine for us. In the mean time i'll do it in the old fashion way : manual room by room.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi @Anonymous,
I made a quick video that shows some possibilities for accomplishing your request.
You will see that I created a block with three attributes in it.
1) Spacename
2) Area
3) Perimeter
The last two attributes contain fields. Each field is linked to an object. In this case the object is a polyline which would represent the perimeter of your room.
The first of these fields is linked to the area inside the polyline and the second field is linked to the length of the polyline.
Because the fields are linked, if the polyline grows or shrinks or changes shape, the fields will automatically capture the new values. To see any changes you can Update the fields or Regen.
Next, I created an extraction template to use with ATTEXT. This command will create a text file based upon the template. I extract the data from my block and it ends up in a TXT file. I rename the extension to CSV (comma separated value) and open it in Excel. I sort the columns and then use Replace to remove extra characters that I don't want to see.
I then copy and paste the cells into an existing spreadsheet that I have previously linked to my drawing using DATALINK.
I can then return to my drawing and update the table which is based upon the datalink. It now shows all the Rooms and the attribute information.
This sounds like a lot of steps but I hope you can get the idea and use the concept to your advantage. I have attached my sample files for your use.
I apologize that I didn't narrate my video but my microphone has just quit on me.
Please select the Accept as Solution button if my post solves your issue or answers your question.
John Vellek
Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!
Autodesk Knowledge Network | Autodesk Account | Product Feedback
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi @Anonymous,
I am checking back to see if my post helped you with your problem or question. Please mark a post or posts as accepted solutions if they resolved the issue or give me a bit more detail on this issue so we can continue to work towards getting this solved.
Please hit the Accept as Solution button if a post or posts solves your issue or answers your question.
John Vellek
Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!
Autodesk Knowledge Network | Autodesk Account | Product Feedback
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi John,
Sorry for the late response. I was Yesterday not at the office.
I tryed it this morning. And the only thing i can say is ... fantastic.
Thank you very much.