Jump to content

Dynamic block


FabioDG

Recommended Posts

Hello everyone. I'm trying to assign an attribute value to a dimension of a circle within the block. I do not want to use the lookup because for all I know, it is only editable via mouse. Just wanted to use the mouse to insert point of the block.

 

Already tried using fields, but when editing the value it loses the correspondence dimension of the radius and simply inserts the value without changing the circle.

 

Thank you.

Link to comment
Share on other sites

What do you need to do? an attribute cannot drive a block it only reports a property of the block. If you need to dynamically change a block of a circle you can use a scale action linked to a linear parameter, and if you want then you can get an attribute to show the size, but you can't change the size by editing the attribute. If you do edit an attribute with a field in it you destroy the field.

Link to comment
Share on other sites

I wrote an autolisp that finds a value. I want to pass that value to the action length (in this case, the radius of the circle) of the dynamic block. For this reason, I thought of using the attributes command, because it asks for a value when inserting a block. Value that is given alert by autolisp.

If I can not associate the action with a length attribute value, you know how I could solve this problem? Thank you.

Link to comment
Share on other sites

I beleive that it is possible to alter a blocks parameters using Lisp, it might be a good idea to ask the question in the Lisp forum.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...