Jump to content

VBA. Mirror mehhod block properties help


metozade

Recommended Posts

Dim kanalblok As AcadBlockReference

Dim secim As AcadSelectionSet

 

For Each kanalblok In secim

aynanokta3 = ThisDrawing.Utility.PolarPoint(inspoint, kanalblokrad, uzunluk / 2)

aynanokta4 = ThisDrawing.Utility.PolarPoint(aynanokta3, kanalblokradartı90, bkanalen)

kanalblok.Mirror aynanokta3, aynanokta4

kanalblok.Delete

Next

 

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

 

in this code;

I am using the mirror method

I mirrored the block than delete the original block in my code. (the mirrored one is still there) But I can not access the properties of deleted block. Is there any way to recover the deleted block's properties or what can do else?

 

Thank You,

Link to comment
Share on other sites

Yes. Many of the properties of the new (mirrored) block reference will be the same. Some (Rotation, X-,Y-,ZScaleFactors) may have been modified with the Mirror method.

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