Jump to content

Lisp required to select all mtext within an enclosed polyline and rotate the text to the angle of the longest segment of the polyline


Recommended Posts

Posted
  On 3/18/2025 at 2:14 PM, LanloyLisp said:

I think it would be better to use entsel for the polyline to avoid duplicate polylines as well. But I think OP is already happy with it then we can apply the first rule. ðŸ˜†

Expand  

 

I see you like to gesticulate.
Loose ends can be left unintentionally, out of carelessness. It happens to me.

But leaving them intentionally shouldn't be an option.

If you don't see any alternative to using 'entsel' in this case, let others suggest their own.

And save your irony.

Posted
  On 3/18/2025 at 2:47 PM, GLAVCVS said:

 

I see you like to gesticulate.
Loose ends can be left unintentionally, out of carelessness. It happens to me.

But leaving them intentionally shouldn't be an option.

If you don't see any alternative to using 'entsel' in this case, let others suggest their own.

And save your irony.

Expand  

Apologies if you were offended.  Feel free to share your constructive input rather than nitpicking.

Posted
  On 3/18/2025 at 3:00 PM, LanloyLisp said:

Apologies if you were offended.  Feel free to share your constructive input rather than nitpicking.

Expand  

 

I'll follow your advice @LanloyLisp😘

 

If the OP deems it necessary

Posted

Hello everyone.

 

I don't want to take sides. But I think Mr. GLVCVS is right. In my office, we've sometimes had to work with closed polylines inside other closed polylines. This is a possibility that needs to be taken into account in some cases.

Although I don't know if it's necessary in this case.

  • Like 1
Posted

Thanks, PGia
I shouldn't thank you for defending this.
But maybe one day, as Chesterton says, we'll have to be grateful that someone else supports you in defending that the grass is green.

 

Anyway, it seems this exception doesn't apply here.

Posted
  On 3/19/2025 at 11:19 AM, GLAVCVS said:

Thanks, PGia
I shouldn't thank you for defending this.
But maybe one day, as Chesterton says, we'll have to be grateful that someone else supports you in defending that the grass is green.

 

Anyway, it seems this exception doesn't apply here.

Expand  

Just to make it clear the solution given was exactly what I needed.  Given the workflow I can assure that there would never be enclosed polyline inside other closed polylines.  The workflow process eliminates any possibility of that.  Again I would like to thank those that assisted in coming to the solution as it saved me having to manually rotate over 10000 pieces of Mtext

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