Jump to content

Recommended Posts

Posted

Hello

Newbie acad user is here again, need ur help

I wanna ask if there is any way to delete only a part of drawing, lets say circle

i know that i can use 'AddArc' but those parts are not even* so it would be hard to make them. so the main question is can i delete only a part of circle or line, and if yes, could anyone post a few lines explaining how should i do that?

Thank you in advance,

Acad newbie user

 

*even/equal, dunno which word fits here better

 

 

Doesnt anyone have any ideas ? Or it just cant be done?

Posted

It sounds like you are trying to automate the “Trim” command. If so then you will likely be disappointed in that VBA does not have a built in Trim method. And, as you have already determined, entities that change when trimmed would have to be recreated.

 

The good news is that an arc has common parameters as a circle, i.e., center, radius. The start and end angle would need to be calculated from the info returned by IntersectWith.

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