Author Topic: Hatching islands between two polylines  (Read 18117 times)

0 Members and 1 Guest are viewing this topic.

motee-z

  • Newt
  • Posts: 40
Re: Hatching islands between two polylines
« Reply #30 on: March 13, 2016, 11:56:00 AM »
thank you ymg for modification but i am sorry to inform you it is not working on my autocad version 2015
and i got these messges
Quote
Select Reference Polyline:
Select objects:
Select Proposed Polyline:
Select objects:
2D point or option keyword required.
2D point or option keyword required.
2D point or option keyword required.
2D point or option keyword required.
2D point or option keyword required.
2D point or option keyword required.
Error: bad argument type: lentityp nil
Specify internal point or [Properties/Select objects/draW boundary/remove Boundaries/Advanced/DRaw order/Origin/ANnotative/hatch COlor/LAyer/Transparency]:
any reason for that

ymg

  • Guest
Re: Hatching islands between two polylines
« Reply #31 on: March 13, 2016, 12:04:54 PM »
moteez,

I don't have 2015 so I cannot check.

But the most likely reason would be that either the hatch command
or the boundary command have changed the requested input since 2012.

Notes that I do get the message for 2d point but the command completes
normally.

Try changing the hatch line to this:

Code: [Select]
(vl-cmdf "._-HATCH" "_CO" hcol "_P" "SOLID" "_S" bnd "" "")


ymg
« Last Edit: March 13, 2016, 12:18:29 PM by ymg »

motee-z

  • Newt
  • Posts: 40
Re: Hatching islands between two polylines
« Reply #32 on: March 13, 2016, 12:37:40 PM »
perfect gob
Thank you ymg for your efforts

Sudipta2020

  • Mosquito
  • Posts: 16
Re: Hatching islands between two polylines
« Reply #33 on: July 30, 2020, 02:53:10 AM »
you done great work. when this lisp file use in autocad 2018 or higher it create problem of True color.

Anis

  • Mosquito
  • Posts: 2
Re: Hatching islands between two polylines
« Reply #34 on: December 23, 2020, 05:11:59 AM »
hello all;
nice job. it would be more general if the code can select all green lines at ones and then the red lines. mean that, if there be 100 road cross sections for example; the code can select all cross sections and report a cut and fill file separately for each section (the same as AreaLabelV1-9.lsp of Mr.Lee Mac does)
I'm using this code, but i need to click on almost 2000 road cross sections one by one, indeed that is time consuming.
appreciate if anyone can help me
tnx
« Last Edit: December 23, 2020, 05:19:23 AM by Anis »