Update attributes formula in dynamic block

Update attributes formula in dynamic block

Anonymous
Not applicable
2,994 Views
7 Replies
Message 1 of 8

Update attributes formula in dynamic block

Anonymous
Not applicable

Hello,

 

How to update attributes formula in dynamic block ("altitude - 1 bottom-right") - so that I could see changed blocks in model?

 

Please find attached my situation:

Here is example. I have dynamic block of altitude ("altitude - 1 bottom-right") . First it had formula "Insertionpoint+58048", but later I've changed it to "Insertionpoint-97403"

 

But after changing it - block ("altitude - 1 bottom-right") didn't renew in model. It works only if I insert this block  again in model. But this block are in many places - so it means - that I have to insert it many times - instead of update existing ones.

 

Maybe you know a solution?

 

 

0 Likes
Accepted solutions (2)
2,995 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable

I'm having trouble following what it is that you need.
Have you tried to "UPDATEFIELD" or "REGENERATE" before inserting the block again?

 

If you're just looking for the elevation of your block, based on the world UCS, you should just be able to select your object within the field's interface and then choose it's elevation or its y position.

0 Likes
Message 3 of 8

Libbya
Mentor
Mentor
Accepted solution

I do not know a solution for the issue with the block designed as is.  Changing the block definition and using attsync will not work.  Selecting the blocks and trying to edit a formula field in properties also will not work as properties will not maintain the field.  That said, I can offer a solution for next time.  See the attached file.  It contains a block I use.  Instead of placing the distance modifier in the formula field, I created a couple user parameters.  Those user parameters can be modified in properties.  A regen will then update the value.  If you select the block in the file and go to properties, under the custom heading you can see the 'FeetElevationOF00'.  If that is adjusted the elevation will adjust accordingly.  If the insertion point is moved in the Y direction, the elevation will adjust accordingly as well.  

Message 4 of 8

Anonymous
Not applicable

Thank you Libbya for your time and answer 🙂

 

As I understand with your block you can change altitude value only for each inserted block (each block I mean same block)?

 

But for example - situation like this. I was making a drawing where at the begining first floor was on altitude 00. But later - i has changed to 0-8".

And drawing contains a lot of altitude blocks. And I dont want to move all drawing up by 0-8" (due to a lot of reasons). So it means I have to increase allaltitude blocks by 0-8". 

 

I was trying to do it with your block. But when you add value (in properties) for one it doesn't appear on rest of the blocks.

I was trying to find solution how to get all blocks updated by editing only one. 

 

Maybe it's possible with your block? But I didn't understand?

 

Thank you 🙂

Tadas 

 

 

 

 

Message 5 of 8

Libbya
Mentor
Mentor

It is possible with the block I posted.  Unlike fields, user properties can be altered globally in properties.  Select all of the blocks (QSELECT works well for this) and then go to properties.  Change the 'FeetElevationOF00' user property and the elevation shown in all blocks will change accordingly with that single edit. 

Message 6 of 8

Libbya
Mentor
Mentor
Accepted solution

Here's a screencast showing what I am talking about:

 

 

Message 7 of 8

Anonymous
Not applicable

Wow. Libbya - so much thank to you - so clearly explained 🙂 I will try in, but I'm almost 100proc it is what I was looking for.

I didn't know this fuction ("parameters manager) - thank you again 🙂

 

Tadas

 

0 Likes
Message 8 of 8

Emmsleys
Alumni
Alumni

Following up on this thread, it appears that several folks have tried to help on this issue. Were you able to find a solution? Or a workaround?

 

Did any of the posts in the thread help with your issue?

 

Please post back in the thread if you are still having an issue with AutoCAD or Select Accept as Solution for the post’s that helped.

 

Thanks for your time.



Sarah Emmsley
Technical Support Specialist

0 Likes