Jump to content

How can I get or Manipulate the BlockReference


Recommended Posts

Posted

How can i get the red circles in the drawing. I want to drawing the red circles in other drawing but with his properties, the circles are inside of BlockReferece I tried some codes but i nothing get.The circles not appear in the Model Space or in a SelectionSets, When i use SelectionSet i put SSetColl in Watches but appear empty. If some body have a code for help me with this issue i appreciate to much your help

 

I want only the red circles for redrawing in other drawing i need the object because i will need change the radius of some there.

 

Example:

Dim Block as AcadBlock

For each Block in ThisDrawing.Blocks

'...some code for get circles

Next

 

or

 

Dim SSetColl as AcadSelectionSets

SSetColl = ThisDrawing.SelectionSets

For Each Block in SSetColl

'...some code for get circles

Next

 

or

 

Dim SSetColl as AcadSelectionSet

SSetColl = ThisDrawing.PickfirstSelectionSet

For Each Block in SSetColl

'...some code for get circle

Next

Posted

How can i get the red circles in the drawing. I want to drawing the red circles in other drawing but with his properties, the circles are inside of BlockReferece I tried some codes but i nothing get.The circles not appear in the Model Space or in a SelectionSets, When i use SelectionSet i put SSetColl in Watches but appear empty. If some body have a code for help me with this issue i appreciate to much your help

 

I want only the red circles for redrawing in other drawing i need the object because i will need change the radius of some there.

 

Example:

Dim Block as AcadBlock

For each Block in ThisDrawing.Blocks

'...some code for get circles

Next

 

or

 

Dim SSetColl as AcadSelectionSets

SSetColl = ThisDrawing.SelectionSets

For Each Block in SSetColl

'...some code for get circles

Next

 

or

 

Dim SSetColl as AcadSelectionSet

SSetColl = ThisDrawing.PickfirstSelectionSet

For Each Block in SSetColl

'...some code for get circle

Next

TEST.dwg

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