s1oiti00 Posted February 14, 2014 Posted February 14, 2014 Hi all, I've made a dynamic door block (pic1), it's works fine but i would wanted to do it differently. Now i have the linear parameter as it is in first picture, but i would want linear parameter of the door edges (like pic2). When i do that the door swing is scaling incorrectly (like pic2 does). How can i enter the door value straight to distance, not just the door width? Hope u get my point and could help me! Thanks in advance. Quote
steven-g Posted February 14, 2014 Posted February 14, 2014 You should only use a scale on the door arc, the other geometry should stretch, I use two linear parameters and chain them, take a look at the attached example. door.dwg Quote
s1oiti00 Posted February 14, 2014 Author Posted February 14, 2014 Now it almost works right, but the door turns into wrong direction, i mean that it doesn't stay 90 degrees. . In your block you have locked it into 90, how can you do that? Quote
s1oiti00 Posted February 14, 2014 Author Posted February 14, 2014 I got it!! Now it works! Thank you sooooo much Quote
steven-g Posted February 14, 2014 Posted February 14, 2014 Your welcome, glad to see you got it working. on hyvä viikonloppu Quote
s1oiti00 Posted February 17, 2014 Author Posted February 17, 2014 Hi again! I faced an another problem.. When i try to add rotate action on this block, it doesn't stay in shape. What could be wrong? Quote
steven-g Posted February 17, 2014 Posted February 17, 2014 It is very hard to answer that from just an image, can you post the block, it is possibly due to what is in the selection set (or not in) but it could be another action that is interfering. Quote
s1oiti00 Posted February 17, 2014 Author Posted February 17, 2014 Dynamic door block.dwg Here is the block Quote
steven-g Posted February 17, 2014 Posted February 17, 2014 There are a few issues going on here, and I cannot pinpoint the main culprit yet, but some comments would be: Why is 0,0 not the base point, your basepoint and all geometry are offset from the Y axis by a small amount, your linear parameters are ending towards the basepoint instead of away from it (the stretch should be at the edge of a rotate and not at it's centre). I can't say for definate that these or one of these are the cause of the problem but it doesn't help, Dynamic blocks can be strange creatures, some actions need to be treated carefully. I am fascinated as to why this isn't working, but I would suggest it would be easier to maybe start again and base everything on 0,0 and try to keep parameters lined up on either the zero Z axis or the zero Y axis. Again I must stress I don't think you have done anything wrong - It would just be easier working from 0,0 Quote
s1oiti00 Posted February 17, 2014 Author Posted February 17, 2014 Thank you again, i will try that. Quote
steven-g Posted February 17, 2014 Posted February 17, 2014 Something like this, I haven't fully tested it, but it looks to do most of the things you had in there originally Dynamic door block.dwg Quote
s1oiti00 Posted February 19, 2014 Author Posted February 19, 2014 That looks really good! Thank you again so much! Now i have to try it again, and i think this time it could work right! Quote
s1oiti00 Posted February 25, 2014 Author Posted February 25, 2014 Dynamic door block.dwg Hi! I think that i did exactly the similar door block as you, but my block doesn't work so well.. When i do the flip action first it doesn't stay in shape, but if i do the strech action first and then try to do flip action it works. Here is our block. Quote
steven-g Posted February 25, 2014 Posted February 25, 2014 I think it's because you need to include the stretch action in with the flip selection set. I can never remember all the rules but sometimes you should include actions. Dynamic door block.dwg Quote
steven-g Posted February 25, 2014 Posted February 25, 2014 You should be able to just double click on the flip1 action and it will ask you for objects to add to the selection set - pick stretch1, however if your screen looks different it is probably because you have bactionbarmode=1 just make bactionbarmode=0 Quote
s1oiti00 Posted February 26, 2014 Author Posted February 26, 2014 I wasn't never even heard of that, now it's much easier! Now i think that finally also my block works right. Thank u again so much! 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.