Recover text AUTOCAD

Recover text AUTOCAD

Hello,
My goal is to simplify the design of a model following an AutoCAD DWG plan.
My question is on the way to retrieve the names and number of premises for parts.
Do you have a method with DYNAMO?

  1. I thought Import texts in the layout.
  2. The text is in a room.
  3. With Dynamo Retrieve the text value for each piece.
  4. Leave this value to the room name
    DYNAMO he recognizes the text?

French
Bonjour,
Mon but est de simplifier le dessin d’une maquette suivant un plan AUTOCAD DWG.
Ma question porte sur le moyen de récupérer les noms et numéro des locaux pour les pièces.
Avez-vous une méthode avec DYNAMO ?

  1. Je pensais Importer les textes dans la maquette.
  2. Le texte serait dans une pièce.
  3. Avec Dynamo Récupérer la valeur du texte pour chaque pièce.
  4. Donner cette valeur au nom de la pièce
    DYNAMO reconnait-il le texte ?

Hello Alain,

I made a workflow some time ago that might be helpful. It doesn’t do exactly what you need, but maybe it can help you start.
https://youtu.be/IjbnDhITkWE
Room creation by dwg txt import.dyn (54.4 KB)

Hello,

Thank you for your reply. This must match.
There is a problem in the beginning with the “collection” of the types of text
“Type Name” does not return a value?

You probably have to translate “Type Name” to its french counterpart, but I don’t know what that is. You can use the node Element.Parameters to check the available parameters on an element.

Indeed, the problem of “translation”
But it does not find the intersection to create the pieces.
Must adapt to different values depending on the project?

Sorry, it seems I sent you a version with a lot of garbage nodes in it… anyway if you remove a few nodes:

and connect the points directly to the CreateRoom node then you’ll probably create some rooms.

It’s good for the number of the ROOM and the creation of the ROOM, but not for the name

Have you done other routine for creating a model for AUTOCAD plan?

I simplify the code for the name of the room, and his works.
Good or bad idea ?

I can’t really see the name of the nodes you’ve added, but if it gets you the names you want then I guess it’s a good idea :slight_smile:
Every project will require a different approach so I can’t really say what might work for you.

OK, thank you for your help.

Hi,

I need someone help, I try to run “Room cration by dwg txt import.dyn” all success no warning but program not create room for me anyone have idea?