measure the Polyline from the rectangle

measure the Polyline from the rectangle

jessicatyler0007
Advocate Advocate
1,885 Views
22 Replies
Message 1 of 23

measure the Polyline from the rectangle

jessicatyler0007
Advocate
Advocate

Hi Everyone,

I'm trying to measure the alignment from the rectangle, The need to ask the import width and height which the rectangle alignment is to be measured. Also need alignment labeling which should be indicate the length of the polyline at the beginning and end of the polyline.

See attached drawing for better understanding.

0 Likes
1,886 Views
22 Replies
Replies (22)
Message 2 of 23

dlanorh
Advisor
Advisor

Something similar has been asked before HERE

I am not one of the robots you're looking for

0 Likes
Message 3 of 23

jessicatyler0007
Advocate
Advocate

Yes, but how does it work, I tried, but this single rectangle is formed by three points.

0 Likes
Message 4 of 23

jessicatyler0007
Advocate
Advocate

Is it so difficult that it can not be possible?

0 Likes
Message 5 of 23

cadffm
Consultant
Consultant

It should be easy, see the linked sample.

The only problem is that we don't know

What you have, which ways/APIs you want to use and the big question: Where you stuck.

 

 

Sebastian

0 Likes
Message 6 of 23

jessicatyler0007
Advocate
Advocate

@cadffm  Hi,

At this time I have shown some comments in the drawing, Please see the attachment file.

0 Likes
Message 7 of 23

dlanorh
Advisor
Advisor
Is this for layout sheets or viewports? If so you will need an overlap between the sheets/viewports, and your example drawing has sections of the polyline not enclosed by the rectangles. What should happens if that occurs?

I am not one of the robots you're looking for

0 Likes
Message 8 of 23

jessicatyler0007
Advocate
Advocate

@dlanorh wrote:
Is this for layout sheets or viewports?

I do not need this in the viewport and layout. I just want to separate each rectangle from it because there are so many things in it that such as field data so it should be in the model space.


@dlanorh wrote:
If so you will need an overlap between the sheets/viewports.

It is true that there should be an overlap between this sheet but I did not overlap because it could have difficult for understanding.

0 Likes
Message 9 of 23

dlanorh
Advisor
Advisor
I will have time to look at this after work.

I am not one of the robots you're looking for

0 Likes
Message 10 of 23

jessicatyler0007
Advocate
Advocate

@dlanorh ,

Ok

0 Likes
Message 11 of 23

ronjonp
Advisor
Advisor

What is the purpose of these rectangles? Do you just need the measurements at 700 starting 350 in?

0 Likes
Message 12 of 23

jessicatyler0007
Advocate
Advocate

@ronjonp ,

Yes and also need there is a need to show the line length at the starting point and endpoint of the polyline.

0 Likes
Message 13 of 23

jessicatyler0007
Advocate
Advocate
dlanorh, rperez , CADffm, At least help me just so much, Measure block along the polyline but started from half the distance of measurement.
0 Likes
Message 14 of 23

Kent1Cooper
Consultant
Consultant

@jessicatyler0007 wrote:
…. Measure block along the polyline but started from half the distance of measurement.

 

For that much, you could do this:

In the case of your sample drawing, REVERSE the direction of the Polyline [the command later needs to work from the starting end].

LENGTHEN, DElta option, give it 350, and extend the starting end of the Polyline, so that the first MEASURE point at 700 units in will be 350 units from the original start point.

MEASURE using the Block option and your BBox Block, at 700 spacing, aligned with the path.

LENGTHEN, DElta option, give it -350, and shorten the starting end of the Polyline back to where it was.  [Or, if the path Polyline doesn't ever bend within the first 350 units, you can just TRIM it back using the first Block as the cutting boundary.]

 

[If you do this to multiple paths in the same drawing, consider using MEA+ command from DivideMeasurePlus.lsp, available >here<.  Unlike MEASURE, it remembers  that you want to use Blocks, and the Block name, and the spacing, and other choices, so they're the offered defaults on subsequent use, and you don't need to enter them again each time.]

Kent Cooper, AIA
0 Likes
Message 15 of 23

dlanorh
Advisor
Advisor

Sorry, insanely busy at work at the moment with a 09:00 Monday deadline. I think the attached inserts the rectangles ant sheet text.

 

I will try to add the start and end labels tomorrow.

 

I haven't quite figured out how to ensure every part of the alignment is covered yet.

 

 

I am not one of the robots you're looking for

0 Likes
Message 16 of 23

jessicatyler0007
Advocate
Advocate

@dlanorh ,

Thanks for Lisp, I'm trying to run Lisp but it's showing the error. And one thing where the box is going out of the alignment make the width of the box halfway there.

0 Likes
Message 17 of 23

jessicatyler0007
Advocate
Advocate

@Kent1Cooper ,

Thank you for the tips.

0 Likes
Message 18 of 23

dlanorh
Advisor
Advisor
OK, the attached now works and inserts labels at the start and end points showing chainages. I will continue to update as I get time.

I am not one of the robots you're looking for

Message 19 of 23

jessicatyler0007
Advocate
Advocate

Hi @dlanorh,

I think the box should not change its place even if the width of the box increases, because if we keep the width of the box more than the distance of the measurement, it will automatically overlap between the sheets. Please remove this option "Enter Minimum Sheet Overlap Distance" instead let the option to measure distance of polyline. And if one thing is possible add this where the box goes out of alignment, Then change the box to two or more pieces, but it should not have an effect on the next box. As this alignment is divided into 24 sheets from the distance.

0 Likes
Message 20 of 23

marko_ribar
Advisor
Advisor

I'd ignore all those demands, jessica didn't give you even a single kudo (like) for your efforts... This is how would I react, but it's your choice... You have kudo from me...

M.R.

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes