Jump to content

Update Attribute Value as per moving grips


sanetmunde
 Share

Recommended Posts

I have created Dynamic Block with grips and Attribute linked to the parameter. Now I override that attribute value to a manual value through a program and change the parameter.

Now, when I move the grips of dynamic block, the attribute value linked to it doesn't change and remains as manual value. Is there any way/ program to retrieve the relation between attribute and parameter value?

Pls find attached Program and Dynamic Block. You can override linked values of "WIDTH" & "LENGTH" by 'double-clicking' on block and entering manual value.

Upload & Run the program with command "DChange". This will change the shape of block as per manual value.

After this, when you will stretch the grips of block, it will change the shape; but, the attribute value "WIDTH" & "LENGTH" will not change.

Can this linking between Attribute & Parameter revived so that attribute values will change with moving grips?

Straight Duct.dwg

DChange.lsp

Link to comment
Share on other sites

..when you will stretch the grips of block, it will change the shape; but, the attribute value "WIDTH" & "LENGTH" will not change.

 

If you want to keep the FIELD value updating, don't override it! Just prefix it with space.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...