Best way for a title box.

Discussion in 'AutoCAD' started by Yves, Feb 3, 2004.

  1. Yves

    Yves Guest

    Hi,

    I need some help on deciding which approach is the best to modify a title
    box.

    I have a macro that creates the grid lines with the coordinates inside the
    viewport, I wand to create a title box on the paperspace.
    It creates the grid depending on the view the user selects, it can change
    quite often, so I simply delete the old grid and create a new one.

    But the title box won't change that often, I want the program to "read" the
    info on the title box, and present it on a form, and update it with the
    changes the user makes on the for,

    What would be the best approach.

    I tried with Xdata, and it's not that easy to manage, would creating a block
    be easier?

    Any idea would be greatly appreciated.
     
    Yves, Feb 3, 2004
    #1
  2. Yves

    HJohn Guest

    Make a title block with attributes for every info you need, then create a form that would display it when loaded.
     
    HJohn, Feb 3, 2004
    #2
  3. Yves

    Yves Guest

    Thanks.

    I ran into a little problem, how to change the justification of an attribut
    once it's in the block?




    form that would display it when loaded.
     
    Yves, Feb 3, 2004
    #3
  4. Either a block or just text would work. The more it could change, the
    more reasons for having a block. If it truly won't change, then use text
    and just filter it out of what you're deleting. It should be easy enough
    to find because title text is typically taller and of a different
    font/textstyle than the text within the grid. Once found, you could
    either leave it alone, or remove the string and apply it to a new "title
    entity".
    ___________________________
    Mike Tuersley
    CADalyst's AutoCAD Clinic
    Rand IMAGINiT Technologies
     
    Mike Tuersley, Feb 3, 2004
    #4
  5. Yves

    Yves Guest

    Sorry, it worked.

    I only need to change the textalignmentpoint property, since I changed the
    alignment.

    Now I can use those attributs to fill my form, and update my block.

    Thnks again.
     
    Yves, Feb 3, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.