+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Forum Newbie
    Using
    AutoCAD 2011
    Join Date
    Jul 2012
    Posts
    3

    Question Dynamic Blocks able to be table driven?

    Registered forum members do not see this ad.

    Hi. I am new to this forum but not necessarily new to cad. I have been working with dynamic blocks lately and I am fascinated with the tool and its capabilities. However, something that I have not been able to figure out and not sure if its this is doable ---->

    ???Can you make a dynamic block table driven, say from an excel table???

    -For example, lets say you have a dynamic block with parameters/actions set up that allow you to set the width, length, height, distance from edge, # of object arrays, etc. Rather than grabbing each grip and specifying the desired dimension, can you make it so the dynamic block is table driven? such as, where you might have a list of desired dimensions (say in excel) and you want to quickly input them into a table in autocad, so that the dynamic block will adjust to those dimensions???

  2. #2
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,071

    Default

    I would say yes and no

    as the properties are exposed (you can adjust them with the properties palette) you must be able to drive the block.

    It is also possible to use a program (LISP or VB) to drive the block. I know this is possible as I have used VBA to set a few parameters. From this it isn't far from getting VBA to open an excel sheet and get al the required data from there.

    However, how you do this simply is a mystery to me.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  3. #3
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,071

    Default

    oh, and I'vejust noticed you have asked this twice. There is no need to post in multiple areas as most of us just check the "new posts" and see each post anyway. Having two threads running can cause confusion as you get diversity in the replies.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  4. #4
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO
    Computer:
    IBM Lenovo
    Motherboard:
    ACPI x86
    CPU:
    Pentium(R) Dual-Core CPU E5500 @ 2.80GHz
    RAM:
    4 GB RAM
    Graphics:
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    650GB
    Monitor:
    ThinkVision 22"
    Discipline
    Multi-disciplinary
    SLW210's Discipline Details
    Occupation
    Design Draftsman
    Discipline
    Multi-disciplinary
    Details
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    Using
    AutoCAD 2011
    Join Date
    May 2007
    Location
    South Florida, USA
    Posts
    9,134

    Default

    Threads are relocated and merged in the AutoCAD Drawing Management & Output forum.
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



  5. #5
    Forum Newbie
    Using
    AutoCAD 2011
    Join Date
    Jul 2012
    Posts
    3

    Default

    Thanks for the reply guys...my mistake for posting it twice, I thought both forums were relevant but I guess it doesn't matter with them both directed to the same forum. apologies.

    I know when you display the properties of the block you can input into the 'custom' tab and specify your dimensions, and that is very helpful. Do you think its possible to make use of the lookup function or block properties table to better suit what I'm asking? Those are two functions that I've touched up on a little bit but haven't dove too far into.

    Also dbroada, can you give me a little detail on the method you proposed about using those programs. That would be appreciated.

  6. #6
    Senior Member
    Computer Details
    Mike_Taylor's Computer Details
    Operating System:
    Windows 7 64 Bit
    CPU:
    Intel I7 2600
    RAM:
    16GB DDR3
    Graphics:
    Nvidia GTX 550
    Primary Storage:
    2TB @ 7500 RPM
    Secondary Storage:
    1 TB @ 7500 RPM, 750GB @ 5200 RPM
    Monitor:
    1 @ 22" & 1 @ 24"
    Discipline
    Multi-disciplinary
    Mike_Taylor's Discipline Details
    Occupation
    Rombald Inc. - CAD Designer and CAD Specialist
    Discipline
    Multi-disciplinary
    Details
    All MEP related disciplines specializing in commercial spaces.
    Using
    AutoCAD 2013
    Join Date
    Jul 2009
    Location
    Stratford, Ontario, Canada
    Posts
    278

    Default

    The lookup function will allow you to do this to an extent. It acts similar to a visibility parameter with a drop down menu. It only works with linear, rotational, point and visibility i believe. It is fantastic. I dont have any blocks right now but I will throw a dummy up here tomorrow.

  7. #7
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,071

    Default

    I'm off work for a few days so can't really post anything but I hd a VBA form that was used to insert a simple block. It listed the parameters which you could then fill in on the form and the block would then be inserted to the desired size. It would not be many steps to obtain the size information from an excel table.

    I am sure something similar could be done in LISP but I am not a good LISP coder.

    Basically I am saying it is possible but I couldn't do it.

    I have had imited sucess with look-ups but it seems somebody who has used them is on board now.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  8. #8
    Forum Newbie
    Using
    AutoCAD 2011
    Join Date
    Jul 2012
    Posts
    3

    Default

    Registered forum members do not see this ad.

    Thanks, appreciate the help.

Similar Threads

  1. Table Driven Assembly
    By Darren Lingard in forum Autodesk Inventor
    Replies: 2
    Last Post: 10th Nov 2011, 03:12 pm
  2. Parametric and Dynamic Blocks - Lookup Table to Control Angle and Length
    By nicolas in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 22nd Feb 2011, 05:11 pm
  3. Dynamic blocks: Visibility/Lookup/Table
    By egis in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 23rd Sep 2010, 03:29 am
  4. Failure to create table driven part
    By williamS in forum Autodesk Inventor
    Replies: 0
    Last Post: 27th Jul 2010, 09:48 pm
  5. Help me with dynamic blocks in table
    By titoprax in forum AutoCAD General
    Replies: 4
    Last Post: 19th May 2010, 08:22 pm

Tags for this Thread

Bookmarks

Posting Permissions

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