Jump to content

Selecting block instances based on their custom properties


Recommended Posts

Posted

Hi

I have authored a dynamic block with” block properties table” controller and dimension and geometric constraint and visibility states,

Im looking for a search flexibility where for example I can select all instances in the drawing or a selection set  that use visibility A and are 160x80, and other instances that use visibility B and are 110x50,needless to say, they are all instance of the same block.

Is there any organic way of doing this?

Thanks

S

Posted

I've tried to use Select Similar on dynamic blocks, but without much success. Apparently, every instance is considered a different block, or at least every instance that has had some parameter changed from the default.

 

I would guess that it will require some code to find dynamic blocks that share a specific group of settings. Then again I'm a total n00b at dynablocks.

Posted

You need to look at Lee-mac dynamic block properties lisp to get properties of a block, as a dynamic block is *U???? by name. You need to use ssget with the *U* blockname, you can then look at the selection set and find the common block which has also a "effective name", then dig deeper getting the properties you want.

  • Confused 1
Posted
1 hour ago, BIGAL said:

You need to look at Lee-mac dynamic block properties lisp to get properties of a block, as a dynamic block is *U???? by name. You need to use ssget with the *U* blockname, you can then look at the selection set and find the common block which has also a "effective name", then dig deeper getting the properties you want.

yes i relize its possible with coding, i meant to ask if there is builtin way of doing it where LT users can do it as well

Posted

Some what of a solution HERE by steven-g

 

Maybe he will chime in here.

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