Jump to content

Moving a specific attribute of a block


ara35

Recommended Posts

I have blocks with multiple attributes. For example, let's just say a rectangle with x and y as attributes. is there anyway i can move just y, or just x, without moving the rectangle? I have seen the lisp files used to move attributes of a block but I was curious if you could move a specific attribute. the attributes names are "description" and "circuit". Thanks.

Link to comment
Share on other sites

Hi ara35

If you want just move your attribute position 2 solutions

1- When you create your attribute, your can uncheck Lock position

2- it is already create open block editor/select your attribute in properties palette/Misc/Lock position -->no

Dont forget ATTSYNC to synchronize your attribute !

See image

Bye

Pascal

unlock attribute.jpg

Link to comment
Share on other sites

i meant to move multiple at the same time from different blocks. so i have 5 blocks with x attribute and y attribute and i want to move all the x's because they come in at a location that i don't want... is that clear enough?

Link to comment
Share on other sites

The only way I know of is to redefine the block and use "ATTSYNC" as Pascal mentioned. If any of the instances of the block have had any other attributes moved, they will have to be moved again.

Link to comment
Share on other sites

i want to do what this lisp file does except have the option of only grabbing one attribute instead of all attributes of the selected block. if someone could test it out and see what i'm talking about it would be extremely helpful. thanks!

attributes.lsp

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...