<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add enclosed polyline below profile and auto hatch based on conditional slop in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095710#M82933</link>
    <description>&lt;P&gt;&amp;nbsp; That's perfect! You are a Rockstar! I will pay it forward your kindness. Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2019 20:49:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-18T20:49:44Z</dc:date>
    <item>
      <title>Add enclosed polyline below profile and auto hatch based on conditional slope</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9090374#M82909</link>
      <description>&lt;P&gt;So I have a profile and I have slope labels assigned to the profile. Depending on the slope, we use a different consistency material. We want to show that difference by adding hatch (similar to the highlighter below) that changes hatch consistency (or layer) based on conditional slope grades.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what im trying to do is create a lisp where I can click on the profile and it will automatically add the hatch and change the layer/hatch based off the conditional slope grade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graph.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/688284i3B28CF37BE99E029/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph.jpg" alt="graph.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:38:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9090374#M82909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-16T16:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9092315#M82910</link>
      <description>&lt;P&gt;Let start with something since there is no answers yet. Until we get more informations here is a simple code.&lt;BR /&gt;It creates hatch area under section of the slope. It fills are with solid hatch. If you want more automation I would nead to know name of the layers ....&lt;BR /&gt;This could be automatized if all segments are streight lines. At the moment code asks you to pick two points of slope segment and it creates hatched area beneth that section of a height you state at first iteration.&lt;BR /&gt;So, create your layers depending on slope grade, and after you finish just change layer acordingly.&lt;BR /&gt;Hope you like the concept. For more automation I would need names of layers and slope grade limits to make filtering.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq dy nil)
(defun c:hh ()
(defun *error* ()
(setvar "osmode" old)

)

(setq old (getvar "OSMODE"))
(setvar "osmode" 1)
(setvar "cmdecho" 0)
(if (not dy) (setq dy (getreal "\n Vertical offset for hatch area &amp;gt;")))
(setq 
	p1 (getpoint "\nSelect first point of section segment &amp;gt;")
	p2 (getpoint "\nSelect second point of section segment &amp;gt;")
	p3 (mapcar '- p2 (list 0 dy))
	p4 (mapcar '- p1 (list 0 dy))
)
(entmakex
  (apply 'append
	(cons
	  (list
		'(0 . "LWPOLYLINE")
		'(100 . "AcDbEntity")
		'(100 . "AcDbPolyline")
		(cons 90 4)
		'(67 . 0)
		'(70 . 1)
	  )
	  (mapcar 'list (mapcar '(lambda ( a ) (cons 10 a)) (list p1 p2 p3 p4)))
	)
 )
)
(command "_.hatch" "solid" (entlast) "" )
(setvar "osmode" old)
(setvar "cmdecho" 0)
(princ)
)&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Oct 2019 13:23:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9092315#M82910</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-10-17T13:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9093357#M82911</link>
      <description>&lt;P&gt;Here is a version that creates hatch elements through whole polyline length, for all segments. To finish it I need info how to group them regarding slope grades and names of layers. Also what height of hatching below polyline&amp;nbsp; would you like. I hope you make drawing in unit-less mode without initial scaling.&lt;/P&gt;&lt;P&gt;To run it type hh2 in command console.&lt;/P&gt;&lt;P&gt;If you like this you may set it ass final solution and I'll do all further adjustments and final polishing.&lt;/P&gt;&lt;PRE&gt;(setq dy nil)
(defun c:hh2 ( / equalPoints lwpolypoints *error* old pts p1 p2 p3 p4 )
(defun equalPoints ( pt1 pt2 ) (apply 'and (mapcar '= pt1 pt2)))
(defun lwpolypoints ( e / ent elev ptlist closed pt pt1 )
        (setq
            ent    (entget e)
            elev   (cdr (assoc 38 ent))
            closed (cdr (assoc 70 ent))
            pt1    (cdr (assoc  10 ent))
        )
        (while (setq ent (member (assoc 10 ent) ent) pt (car ent) ent (cdr ent))
               (setq p (list (cadr pt) (caddr pt) elev))
               (if (atom ptlist) (setq ptlist (cons p ptlist)))
               (if (and (listp ptlist) (not (equalPoints (car ptlist) p))) (setq ptlist (cons p ptlist)))
        )
        (if (and (= 1 (logand closed 1)) (not (equalPoints (car ptlist) pt1))) (setq ptlist (cons pt1 ptlist)))
        (reverse ptlist)
    )
(defun *error* ()(setvar "osmode" old) (setq "chmode" oldch))
(setq old (getvar "OSMODE"))
(setq oldch (getvar "CNDECHO"))
(setvar "osmode" 1)
(setvar "cmdecho" 0)
(if (not dy) (setq dy (getreal "\n Vertical offset for hatch area &amp;gt;")))
(setq pts (lwpolypoints (car (entsel "Select slope lwpolyline &amp;gt;"))))
(repeat (- (length pts) 1)
(setq p1 (car pts) p2 (cadr pts) pts (cdr pts)
p3 (mapcar '- p2 (list 0 dy))
p4 (mapcar '- p1 (list 0 dy))
)
(entmakex
  (apply 'append
	(cons
	  (list
		'(0 . "LWPOLYLINE")
		'(100 . "AcDbEntity")
		'(100 . "AcDbPolyline")
		(cons 90 4)
		'(67 . 0)
		'(70 . 1)
	  )
	  (mapcar 'list (mapcar '(lambda ( a ) (cons 10 a)) (list p1 p2 p3 p4)))
	)
 )
)
(command "hatch" "p" "s" "s" (entlast) "" "")
)
(setvar "osmode" old)
(setvar "cmdecho" oldch)
(princ)
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 20:06:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9093357#M82911</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-10-17T20:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9093828#M82912</link>
      <description>&lt;P&gt;Just need add horizontal, vertical scale so grade can be calculated correct, then range of layers/colour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a short co-ords maybe useful.&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;(if plent (setq co-ord (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget (car plent))))))&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 02:10:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9093828#M82912</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-10-18T02:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9093925#M82913</link>
      <description>&lt;P&gt;Yes, that's all that has to be added, plus correction of hatch width depending on slope to have it constant through whole profile length. And maybe some minor corrections. But lets wait for @Anonymous responce.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 05:17:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9093925#M82913</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-10-18T05:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9094615#M82914</link>
      <description>&lt;P&gt;And here is version tha takes into account horizontal and vertical scaling, calculates and creates slope text in the middle of each segment. You have to test it if it gives good results. After that if all goes well we have to filter hatches regarding the slope. If you want to use some particular pattertn ("gravel" ot what ever) that changes depending on slope grade, update it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq dy nil )
(defun c:hh2 ( / equalPoints lwpolypoints *error* old pts p1 p2 p3 p4 bound oldch dd dh dv gr  grstr slope )
	(defun equalPoints ( pt1 pt2 ) (apply 'and (mapcar '= pt1 pt2)))
	(defun lwpolypoints ( e / ent elev ptlist closed pt pt1 )
			(setq
				ent    (entget e)
				elev   (cdr (assoc 38 ent))
				closed (cdr (assoc 70 ent))
				pt1    (cdr (assoc  10 ent))
			)
			(while (setq ent (member (assoc 10 ent) ent) pt (car ent) ent (cdr ent))
				   (setq p (list (cadr pt) (caddr pt) elev))
				   (if (atom ptlist) (setq ptlist (cons p ptlist)))
				   (if (and (listp ptlist) (not (equalPoints (car ptlist) p))) (setq ptlist (cons p ptlist)))
			)
			(if (and (= 1 (logand closed 1)) (not (equalPoints (car ptlist) pt1))) (setq ptlist (cons pt1 ptlist)))
			(reverse ptlist)
		)
	(defun *error* ()(setq "chmode" oldch) (princ))
	(setq oldch (getvar "cmdecho"))
	(setvar "cmdecho" 0)
	(if (not dy) (setq dy (getreal "\n Vertical offset for hatch area &amp;gt;")))
	(setq pts (lwpolypoints (car (entsel "\nSelect slope lwpolyline &amp;gt;"))))
	(repeat (- (length pts) 1)
		(setq 
			p1 (car pts) 
			p2 (cadr pts)
			pts (cdr pts)
			p3 (mapcar '- p2 (list 0 dy))
			p4 (mapcar '- p1 (list 0 dy))
			dd (mapcar '- p2 p1)
			dv (* 0.01 (cadr dd))
			dh (* 0.1 (car dd))
			gr (* 100.0 (/ dv dh))
			grstr (strcat (rtos gr 2 2) "%")
			ang (angle p1 p2)
			bound
			(entmakex
				(apply 'append
					(cons
						(list
							'(0 . "LWPOLYLINE")
							'(100 . "AcDbEntity")
							'(100 . "AcDbPolyline")
							(cons 90 4)
							'(67 . 0)
							'(70 . 1)
						)
						(mapcar 'list (mapcar '(lambda ( a ) (cons 10 a)) (list p1 p2 p3 p4)))
					)
				)
			)
			slope
			(entmakex (list
							'(0 . "TEXT")
							(cons 10 (mapcar '* (mapcar '+ p1 p2) (list 0.5 0.5)))
							'(40 . 15)
							(cons 50 ang)
							(cons 1 grstr)
						)
			)
		)
		(command "_.hatch" "p" "s" "s" (entlast) "")
		(command "_.draworder" (entlast) "" "b")
		(entdel bound)
	)
	(setvar "cmdecho" oldch)
	(princ)
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 12:22:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9094615#M82914</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-10-18T12:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9094668#M82915</link>
      <description>&lt;P&gt;Corrected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq dy nil )
(defun c:hh2 ( / equalPoints lwpolypoints *error* old pts p1 p2 p3 p4 bound oldch dd dh dv gr  grstr slope )
	(defun equalPoints ( pt1 pt2 ) (apply 'and (mapcar '= pt1 pt2)))
	(defun lwpolypoints ( e / ent elev ptlist closed pt pt1 )
			(setq
				ent    (entget e)
				elev   (cdr (assoc 38 ent))
				closed (cdr (assoc 70 ent))
				pt1    (cdr (assoc  10 ent))
			)
			(while (setq ent (member (assoc 10 ent) ent) pt (car ent) ent (cdr ent))
				   (setq p (list (cadr pt) (caddr pt) elev))
				   (if (atom ptlist) (setq ptlist (cons p ptlist)))
				   (if (and (listp ptlist) (not (equalPoints (car ptlist) p))) (setq ptlist (cons p ptlist)))
			)
			(if (and (= 1 (logand closed 1)) (not (equalPoints (car ptlist) pt1))) (setq ptlist (cons pt1 ptlist)))
			(reverse ptlist)
		)
	(defun *error* ()(setq "chmode" oldch) (princ))
	(setq oldch (getvar "cmdecho"))
	(setvar "cmdecho" 0)
	(if (not dy) (setq dy (getreal "\n Vertical offset for hatch area &amp;gt;")))
	(setq pts (lwpolypoints (car (entsel "\nSelect slope lwpolyline &amp;gt;"))))
	(repeat (- (length pts) 1)
		(setq 
			p1 (car pts) 
			p2 (cadr pts)
			pts (cdr pts)
			p3 (mapcar '- p2 (list 0 dy))
			p4 (mapcar '- p1 (list 0 dy))
			dd (mapcar '- p2 p1)
			dv (* 0.01 (cadr dd))
			dh (* 0.1 (car dd))
			gr (* 100.0 (/ dv dh))
			grstr (strcat (rtos gr 2 2) "%")
			ang (angle p1 p2)
			bound
			(entmakex
				(apply 'append
					(cons
						(list
							'(0 . "LWPOLYLINE")
							'(100 . "AcDbEntity")
							'(100 . "AcDbPolyline")
							(cons 90 4)
							'(67 . 0)
							'(70 . 1)
						)
						(mapcar 'list (mapcar '(lambda ( a ) (cons 10 a)) (list p1 p2 p3 p4)))
					)
				)
			)
		)
			
		(command "_.hatch" "p" "s" "s" (entlast) "")
		(command "_.draworder" (entlast) "" "b")
		(entmakex (list
							'(0 . "TEXT")
							(cons 10 (mapcar '* (mapcar '+ p1 p2) (list 0.5 0.5)))
							'(40 . 15)
							(cons 50 ang)
							(cons 1 grstr)
						)
			)
		
		(entdel bound)
	)
	(setvar "cmdecho" oldch)
	(princ)
)&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Oct 2019 12:37:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9094668#M82915</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-10-18T12:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9094773#M82916</link>
      <description>&lt;P&gt;I think this can be a lot simpler.&amp;nbsp; There's no need to draw Polyline outlines of the under-slope shading and then fill them with Solid Hatch patterns.&amp;nbsp; Just use SOLIDs.&amp;nbsp; Try this:&lt;/P&gt;
&lt;PRE&gt;(vl-load-com)
(defun C:&lt;FONT color="#000000"&gt;&lt;STRONG&gt;SUS&lt;/STRONG&gt;&lt;/FONT&gt; ; = &lt;FONT color="#000000"&gt;&lt;STRONG&gt;S&lt;/STRONG&gt;&lt;/FONT&gt;olids &lt;FONT color="#000000"&gt;&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;/FONT&gt;nder &lt;FONT color="#000000"&gt;&lt;STRONG&gt;S&lt;/STRONG&gt;&lt;/FONT&gt;lope
  (/ pline n p1 p2 slope)
  (setq
    pline (car (entsel "\nSelect slope profile Polyline: "))
    depth (getdist "\nVertical depth of under-shading: ")
    n 0
  ); setq
  (repeat (1- (cdr (assoc 90 (entget pline))))
    (command "_.solid"
      "_none" (setq p1 (vlax-curve-getPointAtParam pline n))
      "_none" (polar p1 (* pi 1.5) depth)
      "_none" (setq p2 (vlax-curve-getPointAtParam pline (setq n (1+ n))))
      "_none" (polar p2 (* pi 1.5) depth)
      ""
    ); command
    (setq slope (/ (abs (- (cadr p1) (cadr p2))) (abs (- (car p1) (car p2)))))
    (command "_.chprop" "_last" "" "_layer"
      (cond &lt;EM&gt;&lt;FONT color="#FF00FF"&gt;;; EDIT numerical cut-off values and Layer names, and/or add categories&lt;/FONT&gt;&lt;/EM&gt;
        ((&amp;lt;= slope &lt;FONT color="#FFCC00"&gt;0.25&lt;/FONT&gt;) "&lt;FONT color="#FFCC00"&gt;LowSlopeLayer&lt;/FONT&gt;")
        ((&amp;lt;= slope &lt;FONT color="#FF0000"&gt;0.5&lt;/FONT&gt;) "&lt;FONT color="#FF0000"&gt;MediumSlopeLayer&lt;/FONT&gt;")
        ("&lt;FONT color="#00CCFF"&gt;SteepSlopeLayer&lt;/FONT&gt;")
      ); cond
      ""
    ); command
  ); repeat
  (princ)
); defun&lt;/PRE&gt;
&lt;P&gt;It assumes the Layers already exist, and that the Polyline will be of line segments and will not be closed, and with no &lt;EM&gt;vertical&lt;/EM&gt;&amp;nbsp; segments [which cause a divide-by-zero error].&amp;nbsp; It could easily be made to assign override colors, rather than put the Solids on Layers, if preferred.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to determine the slope percentages that fit the categories of steepness that you need to divide things into.&amp;nbsp; You can add more categories as desired.&amp;nbsp; I get this from setting up a similar situation:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sus.PNG" style="width: 303px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/689002iA1EF25F6963856D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sus.PNG" alt="sus.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If it does what you want, it can be enhanced in various ways [error handling, undo begin-end wrapping, command-echo suppression, etc.], and could remember your depth and offer it as default on subsequent use [or the depth could be hard-coded in, if appropriate to your process].&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 13:47:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9094773#M82916</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-10-18T13:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9094949#M82917</link>
      <description>&lt;P&gt;1) @Anonymous&amp;nbsp; - "to show that difference by adding hatch (similar to the highlighter below) that changes hatch consistency (or layer)"&lt;/P&gt;&lt;P&gt;I guess she wants to use hatch pattern with different scale factor ("gravel"). Then using solid doesn't work&lt;/P&gt;&lt;P&gt;2) Horizontal and vertical scale are different&lt;/P&gt;&lt;P&gt;3) One may use hatch with different color, instead of layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;You may finish this, I'm done with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 14:42:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9094949#M82917</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-10-18T14:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095248#M82918</link>
      <description>&lt;P&gt;&amp;nbsp;Thank you so much for helping, I tried your lisp and I keep getting an error message after it asks for my second point "vertical depth of under-shading; specify second point; error bad argument type ; number nil"&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 16:52:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095248#M82918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-18T16:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095261#M82919</link>
      <description>&lt;P&gt;Thank you for your help, I really appreciate it. Sorry I didn't respond sooner, Ive been super sick.&amp;nbsp; So I tried running your lisp and it doesn't seem to loading when I type hh2 in command. I tried reviewing the code to see if there was a missing parenthesis but couldn't find any error.&amp;nbsp; But what you are doing and direction going is exactly what I am needing.&amp;nbsp;I would like the hatch to run full length of the profile line and I would like it to autohatch based on slope degree and have the hatch be based&amp;nbsp;off the&amp;nbsp;indicated layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is it possible to have a prompt to manually choose each slope grade per hatch? Regardless, I really really appreciate what you have done so far and I really hope you help a smidge more? Thank you really&amp;nbsp;so much. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 16:57:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095261#M82919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-18T16:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095292#M82920</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... I keep getting an error message after it asks for my second point "vertical depth of under-shading; specify second point; error bad argument type ; number nil"&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that's really "&lt;FONT color="#000000"&gt;number&lt;STRONG&gt;p&lt;/STRONG&gt; nil&lt;/FONT&gt;", but in any case....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The thing that looks for a number that could be getting nil instead is probably the number of repeats, that is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1- (cdr (assoc 90 (entget pline))))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's pulling the number of vertices in a "lightweight" Polyline, and subtracting 1 for the number of segments for one that is not closed.&amp;nbsp; It requires that a LWPolyline is selected.&amp;nbsp; If you are picking on a "heavy" Polyline, or just a Line, there won't be an entry like that to get a number of repeats from.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The routine could be made to verify that you picked the right kind of thing, or even to work with those other entity types, if necessary.&amp;nbsp; But first try it with a real LWPolyline, and see whether it works for you.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 17:14:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095292#M82920</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-10-18T17:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095367#M82921</link>
      <description>&lt;P&gt;The error was in&lt;/P&gt;&lt;PRE&gt;(setq "chmode" oldch)&lt;/PRE&gt;&lt;P&gt;It should be chmode without "". In my program based on acad it doesn't lift an error. In acad2014 it has prompted me a syntax error.&lt;/P&gt;&lt;P&gt;Try the code and then take some time an try to write down what and how you really want to have it implemented.&lt;/P&gt;&lt;P&gt;I'm doing this kind of job for 20 years (geotechnical engineer) and I may guess what you looking for but be more precise.&lt;/P&gt;&lt;P&gt;a) Name of the layers and slope grouping (&amp;lt; 5%, 5 - 15 .....).&lt;/P&gt;&lt;P&gt;b) How do you want to have it hatched, pattern names and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I usually do this in following way.&lt;/P&gt;&lt;P&gt;Somewhere aside I have hatched tiles with appropriate hatch pattern, in scale color and destination layer.&lt;/P&gt;&lt;P&gt;After creating dummy hatch I use matchprop tool&amp;nbsp; and thats it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My last code that must work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq dy nil )
(defun c:hh2 ( / equalPoints lwpolypoints *error* old pts p1 p2 p3 p4 bound oldch dd dh dv gr  grstr slope )
	(defun equalPoints ( pt1 pt2 ) (apply 'and (mapcar '= pt1 pt2)))
	(defun lwpolypoints ( e / ent elev ptlist closed pt pt1 )
			(setq
				ent    (entget e)
				elev   (cdr (assoc 38 ent))
				closed (cdr (assoc 70 ent))
				pt1    (cdr (assoc  10 ent))
			)
			(while (setq ent (member (assoc 10 ent) ent) pt (car ent) ent (cdr ent))
				   (setq p (list (cadr pt) (caddr pt) elev))
				   (if (atom ptlist) (setq ptlist (cons p ptlist)))
				   (if (and (listp ptlist) (not (equalPoints (car ptlist) p))) (setq ptlist (cons p ptlist)))
			)
			(if (and (= 1 (logand closed 1)) (not (equalPoints (car ptlist) pt1))) (setq ptlist (cons pt1 ptlist)))
			(reverse ptlist)
		)
	(defun *error* ()(setq chmode oldch) (princ))
	(setq oldch (getvar "cmdecho"))
	(setvar "cmdecho" 0)
	(if (not dy) (setq dy (getreal "\n Vertical offset for hatch area &amp;gt;")))
	(setq pts (lwpolypoints (car (entsel "\nSelect slope lwpolyline &amp;gt;"))))
	(repeat (- (length pts) 1)
		(setq 
			p1 (car pts) 
			p2 (cadr pts)
			pts (cdr pts)
			p3 (mapcar '- p2 (list 0 dy))
			p4 (mapcar '- p1 (list 0 dy))
			dd (mapcar '- p2 p1)
			dv (* 0.01 (cadr dd))
			dh (* 0.1 (car dd))
			gr (* 100.0 (/ dv dh))
			grstr (strcat (rtos gr 2 2) "%")
			ang (angle p1 p2)
			bound
			(entmakex
				(apply 'append
					(cons
						(list
							'(0 . "LWPOLYLINE")
							'(100 . "AcDbEntity")
							'(100 . "AcDbPolyline")
							(cons 90 4)
							'(67 . 0)
							'(70 . 1)
						)
						(mapcar 'list (mapcar '(lambda ( a ) (cons 10 a)) (list p1 p2 p3 p4)))
					)
				)
			)
		)
			
		(command "_.hatch" "p" "s" "s" (entlast) "")
		(command "_.draworder" (entlast) "" "b")
		(entmakex (list
							'(0 . "TEXT")
							(cons 10 (mapcar '* (mapcar '+ p1 p2) (list 0.5 0.5)))
							'(40 . 15)
							(cons 50 ang)
							(cons 1 grstr)
						)
			)
		
		(entdel bound)
	)
	(setvar "cmdecho" oldch)
	(princ)
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 17:46:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095367#M82921</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-10-18T17:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095394#M82922</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;1) @Anonymous&amp;nbsp; - "to show that difference by adding hatch (similar to the highlighter below) that changes hatch consistency (or layer)"&lt;/P&gt;
&lt;P&gt;I guess she wants to use hatch pattern with different scale factor ("gravel"). Then using solid doesn't work&lt;/P&gt;
&lt;P&gt;2) Horizontal and vertical scale are different&lt;/P&gt;
&lt;P&gt;3) One may use hatch with different color, instead of layers.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp; As much a fault in yours as mine, using the Solid Hatch pattern.&amp;nbsp; [Also, the (command) that does the Hatching is done differently in your different routines, and in some returns an unknown-pattern-name message for me in Acad2019 -- the proper sequence varies with version, as also differs if a hyphen is used before the command name.]&amp;nbsp; So&amp;nbsp;@Anonymous&amp;nbsp;, is something like your image acceptable, with solid colors, or does it need to be a non-Solid Hatch pattern at different scales, or maybe different Hatch patterns?&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp; Yes, but there &lt;EM&gt;are&lt;/EM&gt;&amp;nbsp; determinable slopes of exaggerated-vertical line segments that represent the break points between low and medium and steep slopes in reality -- it's just a matter of determining what the result of the division is for each break point, accounting for the exaggeration, and putting those as instructed in place of my arbitrary 0.25 and 0.5 [and more if they have more than 3 slope categories].&amp;nbsp; Those would need to be different for different vertical exaggerations, so if they use different ones, they would need to have different routines for each, or a prompt for the vertical exaggeration could be added, and the breakdown calculated from that.&amp;nbsp; In any case, the range of slope within each category is needed to really finalize something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;&lt;/FONT&gt; it really needs to be a Hatch pattern at different scales, here's a way to do that, taking advantage of the fact that Hatch can let you &lt;EM&gt;draw the boundary directly&lt;/EM&gt;, rather than have a pre-drawn object to pick.&amp;nbsp; This one also puts the pattern at different &lt;EM&gt;rotation angles&lt;/EM&gt;&amp;nbsp; along with the different densities, to help differentiate, and that's one reason I chose not to use a pattern such as Gravel, where the rotation difference wouldn't be apparent.&amp;nbsp; Again, it requires selection of a LWPolyline, and doesn't [yet] verify that.&lt;/P&gt;
&lt;PRE&gt;(vl-load-com)
(defun C:&lt;FONT color="#000000"&gt;&lt;STRONG&gt;HUS&lt;/STRONG&gt;&lt;/FONT&gt; ; = &lt;FONT color="#000000"&gt;&lt;STRONG&gt;H&lt;/STRONG&gt;&lt;/FONT&gt;atches &lt;FONT color="#000000"&gt;&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;/FONT&gt;nder &lt;FONT color="#000000"&gt;&lt;STRONG&gt;S&lt;/STRONG&gt;&lt;/FONT&gt;lope
  (/ pline n p1 p2 slope)
  (setq
    pline (car (entsel "\nSelect slope profile Polyline: "))
    depth (getdist "\nVertical depth of under-Hatching: ")
    n 0
  ); setq
  (repeat (1- (cdr (assoc 90 (entget pline))))
    (setq
      p1 (vlax-curve-getPointAtParam pline n)
      p2 (vlax-curve-getPointAtParam pline (setq n (1+ n)))
      slope (/ (abs (- (cadr p1) (cadr p2))) (abs (- (car p1) (car p2))))
    ); setq
    (command  "_.hatch" "_user")
    (cond &lt;EM&gt;&lt;FONT color="#FF00FF"&gt;;;; EDIT &lt;FONT color="#FF0000"&gt;slope cut-off values&lt;/FONT&gt; and &lt;FONT color="#3366FF"&gt;angles&lt;/FONT&gt;/&lt;FONT color="#008000"&gt;spacings&lt;/FONT&gt;, add categories&lt;/FONT&gt;&lt;/EM&gt;
      ((&amp;lt;= slope &lt;FONT color="#FF0000"&gt;0.25&lt;/FONT&gt;) (command "&lt;FONT color="#3366FF"&gt;30&lt;/FONT&gt;" &lt;FONT color="#008000"&gt;20&lt;/FONT&gt;)); [low density for shallow slope]
      ((&amp;lt;= slope &lt;FONT color="#FF0000"&gt;0.5&lt;/FONT&gt;) (command "&lt;FONT color="#3366FF"&gt;45&lt;/FONT&gt;" &lt;FONT color="#008000"&gt;15&lt;/FONT&gt;)); [medium density for medium slope]
      ((command "&lt;FONT color="#3366FF"&gt;60&lt;/FONT&gt;" &lt;FONT color="#008000"&gt;10&lt;/FONT&gt;)); [high density for steep slope]
    ); cond
    (command "_yes" "" "_no"
        ;; to double-hatch, direct-draw boundary, don't keep it
      "_none" p1
      "_none" p2
      "_none" (polar p2 (* pi 1.5) depth)
      "_none" (polar p1 (* pi 1.5) depth)
      "_close"
      "" ; Accept
    ); command
  ); repeat
  (princ)
); defun&lt;/PRE&gt;
&lt;P&gt;The same similar situation I set up before yields this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hus.PNG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/689103iBE08149F3956B923/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hus.PNG" alt="hus.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can change the spacing numbers and/or rotations to make the differences more obvious, and of course appropriate spacing numbers will depend on your typical drawing scale and drawing unit.&amp;nbsp; [If you want a specific pattern, don't just change the pattern name, because the answers to prompts here are specific to the User-defined pattern.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also use a &lt;EM&gt;different pattern for each slope category&lt;/EM&gt;.&amp;nbsp; You would need to put the pattern name into the &lt;FONT color="#000000"&gt;(command)&lt;/FONT&gt; functions inside each slope &lt;FONT color="#000000"&gt;(cond)&lt;/FONT&gt;ition, rather than in the one &lt;EM&gt;before&lt;/EM&gt;&amp;nbsp; the &lt;FONT color="#000000"&gt;(cond)&lt;/FONT&gt;itions, and of course answer other prompts appropriately.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:23:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095394#M82922</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-10-18T18:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095439#M82923</link>
      <description>&lt;P&gt;I think your solution is ok, and it needs some final touches.&lt;/P&gt;&lt;P&gt;She uses different horizontal and vertical scale and that has to be considered.&lt;/P&gt;&lt;P&gt;I took hatch command as a compromise because creating hatch and changing its properties programmatically&amp;nbsp; may sometime create unwanted results. Unfortunately, command hatch has different parameters in different versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I stated before, you may finish this topic since I know you' ll create best solution for @Anonymous&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;P&gt;I would try to achieve equal width of all hatch segments perpendicular to poly segment, and create joining to next segment as an arch. In high slopes hatch area doesn't look natural. But if to complicated, this is also ok.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:20:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095439#M82923</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-10-18T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095482#M82924</link>
      <description>&lt;P&gt;&amp;nbsp; Yes! This is essentially what I need, Im sorry for the misleading highlighter solid colors. I did/do need different hatch for the slopes. We usually use sand hatch and make it more or less dense depending on slope grade (heavy, medium, light).&lt;/P&gt;&lt;P&gt;&amp;nbsp;So in this lisp, to change the slope condition, I just need to adjust your arbitrary .25, .5?&lt;/P&gt;&lt;P&gt;And forgive me, Im new to lisps, to change the pattern you created to the sand hatch with different density, where did would I put that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Again, I really appreciate the help and the super fast response time.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:33:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095482#M82924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-18T18:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095497#M82925</link>
      <description>&lt;P&gt;Thank you for taking the time to help, I appreciate it. Your lisp is almost perfect other than for some reason it displays the slope grade in super large letters after it lays out the hatch.&lt;/P&gt;&lt;P&gt;And yes, like you said, I would need different hatch per grade, and as much as I love matchprop command, we have over 20,000ft of hatching to add to these profiles and then again on a different project. So it would take awhile to go through and matchprop each grade degree change.&lt;/P&gt;&lt;P&gt;Kent seems to be on track with adding different hatch, I wish I was better at lisps and could help more. What you both have done has been awesome and so helpful. Hopefully Kent (or you if you felt compelled) can help me tweak it just a bit to get the pattern adjusted. But either way, I really appreciate all the help. Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:47:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095497#M82925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-18T18:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095519#M82926</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/689120iEB973B50EF08A4F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So here is an example of what I kind of want. The slope variation cut off is sort; 0-4.99% = light (sand), 5-9.99% = medium (smaller scale gravel), 10% or greater = large (larger scale gravel)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 19:05:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095519#M82926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-18T19:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095528#M82927</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;So here is an example of what I kind of want. The slope variation cut off is sort; 0-4.99% = light (sand), 5-9.99% = medium (smaller scale gravel), 10% or greater = large (larger scale gravel)&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And what is the vertical exaggeration in the profiles?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 19:10:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095528#M82927</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-10-18T19:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add enclosed polyline below profile and auto hatch based on conditional slop</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095539#M82928</link>
      <description>&lt;P&gt;The vertical exaggeration is 10&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 19:22:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/add-enclosed-polyline-below-profile-and-auto-hatch-based-on/m-p/9095539#M82928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-18T19:22:36Z</dc:date>
    </item>
  </channel>
</rss>

