Author Topic: Create a text or mtext object from a field value object data table  (Read 4578 times)

0 Members and 1 Guest are viewing this topic.

fabcad

  • Newt
  • Posts: 43
Hello,

To write records (AutoCAD mtext or text object) by getting the fields values from tables of data objects from AutoCAD MAP a dialog box (as the "listboxexample.lsp" function).

Dialog box specifications:
First list: Name of the table object data.
Second list: display fields available depending on the chosen name in the first list.

Result in a list
- The first element : name of the table or application.
- The second element : Field name or value of xdata.

Thank you to the best programmers DCL file and attached lsp and dcl files to start.
Excuse me for the translation of my ideas.
Fabcad
« Last Edit: November 17, 2011, 06:05:58 AM by fabcad »

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: Create a text or mtext object from a field value object data table
« Reply #1 on: November 14, 2011, 09:51:32 AM »
What do you have so far that we can help with?  Or, what specifically is your question to the forum?

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Create a text or mtext object from a field value object data table
« Reply #2 on: November 14, 2011, 09:55:07 AM »
What do you have so far that we can help with?  Or, what specifically is your question to the forum?

Actually Lee; I think that is their way of asking you to write yet another beautiful routine that they can use.   ;-)
Be your Best


Michael Farrell
http://primeservicesglobal.com/

jvillarreal

  • Bull Frog
  • Posts: 332
Re: Create a text or mtext object from a field value object data table
« Reply #3 on: November 14, 2011, 12:30:19 PM »
Some objectdata lisp to get you started fabcad.
http://www.theswamp.org/index.php?topic=29117.msg404384#msg404384

jvillarreal

  • Bull Frog
  • Posts: 332
Re: Create a text or mtext object from a field value object data table
« Reply #4 on: November 17, 2011, 04:07:15 PM »
Good Start. I'm still not exactly sure what you wanted to do, but this should give you an idea of how to extract the information.

Bon Départ. Je ne suis pas encore exactement ce que tu voulais faire, mais cela devrait vous donner une idée de la façon d'extraire les informations.

fabcad

  • Newt
  • Posts: 43
Re: Create a text or mtext object from a field value object data table
« Reply #5 on: November 18, 2011, 05:26:51 AM »
Hi all,
After hours to fix parentheses, the result: a manager object data including the option of labeling.
I am not a specialist for improvements or controls.
I shall make available
Fabcad

Bonjour à tous,
Après des heures passées à corriger des parenthèses, voici le résultat : un gestionnaire de Données d'Objets incluant l'option d'étiquetage.
Je ne suis pas un spécialiste pour les améliorations ou les contrôles.
Je le met à disposition,
Fabcad
« Last Edit: November 18, 2011, 07:59:01 AM by fabcad »