Jump to content

How to change Object properties(color, lineweight, etc.) in a block


Recommended Posts

Hi,

 

I have a Problem now..

 

I have a BLOCK, contains object & Blocks, that Blocks also contains objects and blocks and so on..

ex.

BLOCK

|

|—Objects

|—Block

|

|—Objects

|—Block

|

|—Objects

|—Block

|

|......

now my Question is " How can change property of the source BLOCK and change effects on all members chain "

 

Can it Possible

have any command or Lisp code for this?

 

 

Thanks & Best Regards8)

—Sam

Link to comment
Share on other sites

It sounds like you have a fairly complicated "nested" block.

 

Is the "source" block the one at the deepest level?

Link to comment
Share on other sites

I was trying to educate you about the correct terminology. Blocks within blocks are considered to be "nested".

 

Do I have a solution? No.

Link to comment
Share on other sites

In order to modify any of those properties I think that you will have to explode the blocks, after that modify the properties you need to modify and remake the block with the new properties!

Not quite a simple solution but I can't think at anything better at the moment!

 

With Respaect!

Csaba Arpad Dobai!

Link to comment
Share on other sites

  • 2 years later...

To answer your question, if all the entities in all the blocks are on layer "0" and color and linetype are set to "ByLayer" then any changes to the porperties of the base block will affect all the entities in all the nested blocks. The "SetByLayer" command should fix an existing block for you but I'm not sure if it was available in LD2009.

Link to comment
Share on other sites

  • 4 weeks later...

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