Jump to content

Recommended Posts

Posted

Hi

Is it possible to get attribute of external ref block

Posted
Is it possible to get attribute of external ref block

 

Do you mean the attribute values of an attribute block within an XRef in the drawing?

Posted (edited)
Do you mean the attribute values of an attribute block within an XRef in the drawing?

 

Remember the XrefResetLayer you posted before? I was about to "remodel" that code to work for such a task mentioned by the OP, but i think its your prerogative to do so Lee ;) but then again, you probably have an entirely different approach altogether?

Edited by pBe
Posted
Remember the XrefResetLayer you posted before? I was about to "remodel" that code to work for such a task mentioned by the OP, but i think its your prerogative to do so Lee ;)

but then again, you probably have another approach altogether?

 

I remember that code :)

 

I would be inclined to retrieve the XRef Block from the Block Collection, iterate through the objects contained therein and extract the Attribute values from the Attributed Block Reference inside the XRef.

 

Untested, but since an XRef is just a special block, it should hopefully work.

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