Results 1 to 2 of 2

Thread: Finding Insertion Point of Text in MLEADER

  1. #1
    I could stop if I wanted to
    Join Date
    2001-01
    Posts
    257
    Login to Give a bone
    0

    Default Finding Insertion Point of Text in MLEADER

    Hi All
    I have a routine that I have used for years to align Text or Mtext horizontally or vertically. I am trying to modify it to include MLEADER with text. The first thing I would like to do is test to make sure the MLEADER has Text. If TEXT exists, I would like to fine the X and Y of the TEXT. With the following code I have been to get a great deal of entity information but I don't know where to go next. Thanks.
    Manuel

    Code:
    (setq ref (ssget))
    (setq entlist (entget (ssname ref 0)))

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,096
    Login to Give a bone
    0

    Default Re: Finding Insertion Point of Text in MLEADER

    I'd recommend you convert the entity to a VLA-OBJECT. You can then easily change the TextRotation and TextString property using the VLAX-PUT-PROPERTY function against the object.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. Replies: 0
    Last Post: 2014-11-30, 01:16 PM
  2. CV104-1P: One Point, Two Point, Red Point, Blue Point
    By Autodesk University in forum Civil Infrastructure
    Replies: 0
    Last Post: 2013-05-05, 03:17 AM
  3. CV12-4: One Point, Two Point, Red Point, Blue Point
    By Autodesk University in forum Civil Infrastructure
    Replies: 0
    Last Post: 2013-04-17, 04:50 AM
  4. MLEADER INSERTION POINT (?)
    By clxramos583784 in forum VBA/COM Interop
    Replies: 7
    Last Post: 2012-06-22, 05:44 PM
  5. Extract Text and Text insertion point (X and Y values)
    By cscott.94049 in forum AutoCAD General
    Replies: 23
    Last Post: 2006-09-18, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •