jamami Posted Tuesday at 05:49 PM Posted Tuesday at 05:49 PM I am updating a dynamic block using dummy parameters to achieve multiple visibility states, I have got it working at 2m and 3m by manually inputting data but I need to go to 40m and there are 9 visibility states for for each length. I can generate the data in Excel and ideally I want to cut paste this into the property lookup table but this is not possible. I can cut paste into a block property table but not a lookup table and adding 300+ lines manually in 3 separate tables is not practical. The attached image shows one table completed for 2 and 3m lengths. Can this data be scripted ? Quote
BIGAL Posted Tuesday at 11:42 PM Posted Tuesday at 11:42 PM I don;t think you need Excel. You can match a dcl to a dynamic block so you can enter values and then in turn update the block. It is something I have insert block and the dcl is displayed, its global code so works with any dynamic block. Need a dwg with your block and can test. Quote
jamami Posted yesterday at 06:31 AM Author Posted yesterday at 06:31 AM Looks interesting but Does this still require manually inputting 309 lines of data in 3 tables , each with multiple columns ! Quote
jamami Posted yesterday at 07:26 AM Author Posted yesterday at 07:26 AM If it does require manual input I suspect the default tableay be the quicker method as fairly easy to type and tab down Quote
BIGAL Posted 18 hours ago Posted 18 hours ago I think we are struggling to see what you want, if you type 1-2-3 as entry its easy to split it apart based on the "-" into 3 variables . Maybe make a movie if you don't want to post the block. Quote
jamami Posted 5 hours ago Author Posted 5 hours ago Hi This is a pretty complex block attached. All the parts are spaced out at mo while I am getting things working, once done they are all moved in line. We make beams 2,3,4,5&6m lengths. To make up 7m we use 4+3, to make up 8 we use 5+3, 9-5+4, 10-6+4, ....13-6+4+3 etc etc. i have defined the available viz states Issue is we terminate the beam ends in 1 of 3 ways also we run beams lengths upto 50m at times. Only 1 viz state allowed in autocad (although i did see a link containing a block with multiple viz states but i think that involves some pretty high end programming skills), so I have been playing with using dummy parameters. It works well (attached). My issue is that I need to create many many hundreds of lines of data to encompass the full range I am looking for . jam1.dwg Quote
jamami Posted 28 minutes ago Author Posted 28 minutes ago Forgot to add I only populated 2m,3m and 14m on the middle drop down to test the movements and visibilities . the other sizes won’t do anything when selected . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.