Consulting

Results 1 to 2 of 2

Thread: Linking two objects in Autocad VBA

  1. #1
    VBAX Regular
    Joined
    Aug 2012
    Posts
    6
    Location

    Linking two objects in Autocad VBA

    Hello Everybody,

    I have two entities in my drawing. One is a text object and the other one is a line. How can I link these two objects, so that when I enter a new value in the text field, the length of the line object is updated. I mean how the VBA will understand that it needs to update this specific line not other line objects in the drawing?

    Regards

  2. #2
    VBAX Regular
    Joined
    Dec 2013
    Posts
    11
    Location
    Quote Originally Posted by vahidce View Post
    Hello Everybody,

    I have two entities in my drawing. One is a text object and the other one is a line. How can I link these two objects, so that when I enter a new value in the text field, the length of the line object is updated. I mean how the VBA will understand that it needs to update this specific line not other line objects in the drawing?

    Regards
    your description looks much like a dimension! Anyhow, you could use attributes setting the same one for the objects you'd link and then check them programmatically.

Posting Permissions

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