Results 1 to 2 of 2

Thread: Dynamic Block and Insertion Point Help (Please)

  1. #1
    Join Date
    Login to Give a bone

    Default Dynamic Block and Insertion Point Help (Please)

    Hello All,

    With some help from some fine people in these forums before I was able to get my first VBA code working pretty well.

    Now, me and my colleagues are looking to take this a step further. Our ulitmate goal is to be able to place a dynamic block in a drawing that has an arrow attached to it showing which direction it is facing. It would also have a number placed next to the block.

    Here are my list a questions:

    How do I set up the code to allow me to place different types of dynamic blocks?
    How do I attach the arrow so that I can also use the code to rotate it from the
    center of the block?
    How do I attach the text so that it is set in a specific direction and distance from
    the center of a particular block?

    If anyone knows where I can go to fine the answers to these questions I would appreciate it tremendously.

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    Seattle WA USA
    Login to Give a bone

    Default Re: Dynamic Block and Insertion Point Help (Please)

    On questions 2 & 3, that should be handled by the dynamic block itself. (The "arrow" part is a bit confusing, since a dynamic rotation grip is a circle. If the "arrow" is part of the block's geometry, the rotation action's selection set needs to rotate that stuff.)

    Using VBA you can only alter the DBlock's properties after it is placed. There is a collection of the dynamic properties on the BlockReference object.
    R. Robert Bell
    Design Technology Manager
    Opinions expressed are mine alone and do not reflect the views of Stantec.

Similar Threads

  1. Move Block Insertion Point
    By ettore_c in forum AutoLISP
    Replies: 5
    Last Post: 2013-07-02, 05:12 PM
  2. Redefine Insertion Point of a Block
    By Stephen.Walz in forum AutoLISP
    Replies: 2
    Last Post: 2006-08-31, 05:52 PM
  3. Loose dynamic states from sub block after insertion into master block
    By ANRCREATIONS in forum Dynamic Blocks - Technical
    Replies: 5
    Last Post: 2005-11-15, 02:41 PM
  4. Move block insertion point
    By kitter in forum AutoLISP
    Replies: 2
    Last Post: 2005-07-04, 07:38 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