Dynamic Block Visabilty + Stretch + Properties Table = Error

Dynamic Block Visabilty + Stretch + Properties Table = Error

brewnot
Contributor Contributor
1,482 Views
3 Replies
Message 1 of 4

Dynamic Block Visabilty + Stretch + Properties Table = Error

brewnot
Contributor
Contributor

I created a dynamic block with Visibility and Stretch actions and parameters. I added a block properties table to connect the stretch and visibility actions. E.g. When you stretch to a given value, use the defined corresponding visibility, In the past, I have created a different version of his block successfully.

 

My problem is the table does not accept some stretch values. I get the error:

 

Unhandled exception has occurred in a component in your

application. If you click Continue, the application will ignore this error

and attempt to continue.

 

eInvalidInput

 

I cannot get the table to accept the values.

 

In the attached block, I should be able to assign the table 03Stars & 0.5000 to the table. On my PC, it does not accept the 0.5000 value, despite 0.5000 is a valid input. This is a new problem. I have created block using this method before without issue. I am confident my execution is fine.

 

AutoCAD 2014

Windows 7, 64 bit, latest updated.

 

Thanks In Advance

0 Likes
Accepted solutions (2)
1,483 Views
3 Replies
Replies (3)
Message 2 of 4

Libbya
Mentor
Mentor

It is because you have the increment 3/16 for the linear parameter and 1/2 is not an increment of 3/16.  Set the type to none or set the increment so that all the values you wish to assign fit the increment and it will accept the values.

0 Likes
Message 3 of 4

Libbya
Mentor
Mentor
Accepted solution

I played with your block a little more.  I believe the error occurs because of a few combined factors:  the linear parameter increment, the linear parameter min, and the box being check to force the block to match the table... while editing the table.  Remove the increment.  When the block must match the table, there is no position you can move the linear parameter to that does not match the table so the increment is redundant and just makes cad freak out.  When you are editing the table values, leave the box unchecked to force the block to match the table.  Once the values are entered, you can check that box and then check for errors, but keeping it checked while editing is just another reason for cad to freak out.  This screencast shows how to edit the block without errors and shows it working fine.   

0 Likes
Message 4 of 4

brewnot
Contributor
Contributor
Accepted solution

Libbya,

 

That did it - Thank You!

 

To sum up the solution:

 

1- With the related Stretch Action, In Value Set, set Dist Type to "None"

2- In the Block Properties Table, When filling in the table - do not check the "Block properties must match a row in the table" box

3- After the Block Properties Table is complete, check the "must match" box

 

Funny thing, I violated these rules when creating a block with 0.250" spacing and there was no problem.

 

Now I know.

0 Likes