Jump to content

Draw Polyline between the lisp, width is equal to distance of 2 lines


Recommended Posts

Posted (edited)

500.jpg[ATTACH=CONFIG]58750[/ATTACH][ATTACH=CONFIG]58738[/ATTACH][ATTACH=CONFIG]58738[/ATTACH]Draw the Polyline between 2 lines, Width of the Polyline is equal to the distance between that 2 line, i have developed the lisp, some how succeeded, but for accurecy I need to pick the end point osnap and for 2nd line Picking Per osnap required, can any body further develop this Autolisp, as i required.?

file:///C:/Users/Admin/Desktop/PLINEWIDTH.JPG

PLINEWIDTH.JPG

Edited by thejraj2k
Posted (edited)

Why don't you just hatch the area in question, like most architects do, and be done with it? BTW...a solid hatch would be just the ticket.

Edited by ReMark
Posted

Those look like fire/smoke partitions. Most architects use a line that plots thick and different linetypes to differentiate between the ratings. Some use polylines for the thickness. I have seen different hatch patterns used to fill the space, but those are in the minority.

Posted

OK. How does one know what the fire rating is for the green polyline or the red polyline unless the plot is done in color? Or is it just determined by the thickness of the line?

 

It appears the OP is utilizing one linetype for two different fire ratings. Yes?

Posted

In this case, you would have to assume color plotting or if B&W plotting, possibly different screening levels applied for those colors.

  • 2 weeks later...
Posted

How about skipping the LISP and utilizing the Mid Between 2 Points OSnap?

Posted

It can be done simply by dragging a line over the walls, if they are lines then offset pedit and set width

 

; here is a start rest of code is copyright so will have a think about it
(setq pt1 (getpoint "\nPick first point on inside of wall :"))
(setq pt2 (getpoint pt1 "\nPick second point on outside of wall :"))

(setq ss (ssget "F" (list pt1 pt2))) ; using fence is easy as you dont worry about picking lines
;get the square off distance of the two lines 

  • 2 weeks later...
Posted

Some How I succeeded as per the above lisp, which i have attached, but My requirement is width of Pline is exactly the Distance of the 2 lines.

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