<?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: List manipulations in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11950037#M3683</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2936266"&gt;@johnd&lt;/a&gt;&amp;nbsp;I have only updated the main function and the AsBuiltLineF function and added the getplinecoords function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By using the new function it eliminates the need to check for a 3dpline and convert it. I won't comment on the rest of the code other than to say it could be cleaned up quite a bit...I think you already know that based on your comment about forgiving the gibberish code&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(defun AsbuiltLineF ()
  (setq ss (ssget "_f" plist '((0 . "AECC_COGO_POINT"))))
  (setq countcheck (sslength ss))
  (repeat countcheck			;(setq scnt (sslength ss))
    (setq pnt (ssname ss membercnt))
    
    (setq obj (vlax-ename-&amp;gt;vla-object pnt))
    (setq easting (vlax-get obj 'easting))
    (setq northing (vlax-get obj 'northing))
    (setq clist (list easting northing))
    (setq cogolist (cons clist cogolist))
    (setq desc (vlax-get obj 'rawdescription))
    (setq desc (substr desc 1 5))
    (if					;(and (or (= desc "WLD_C")
					;(= desc "LOOSE")
					;(= desc "BEND ")
					;(= desc "FLG E")
					;(= desc "VALVE")
					;(= desc "VENT ")
					;(= desc "RISER")
					;(= desc "TEST_") 
					;)
      (member clist plist)
					;)
       (progn
	 (setq lstnumbers
		(append lstnumbers (list (vlax-get Obj 'Number)))
	 )
	 (setq rptcnt (+ rptcnt 1))
       )
    )

    (setq membercnt (+ membercnt 1))
  )					;end repeat
)

;;new function
(defun getpline2dcoords (pline / idx coords c pt)
  (setq idx (vlax-curve-getstartparam pline)
	coords nil)
  (while (&amp;lt; idx (vlax-curve-getendparam pline))
    (setq pt (vlax-curve-getpointatparam pline idx)
	  c (list (car pt) (cadr pt))
	  coords (cons c coords)
	  idx (1+ idx)
	  )
    )
  coords
  )

;;and the portion of main function that I edited					;************************************************************************************  
					;**************************This is where the first list is made**********************
					;************************************************************************************ 

  (setq cogolist nil)
  (setq pipeline (entsel "\nPick Pline to extract from..."))
  (setq pipeline (car pipeline))	
  (setq	plist (getpline2dcoords pipeline))
  (setq	ptype
	 (strcase
	   (getstring
	     "\nEnter [P] for Prelimary Pline or [A] for Asbuilt Pipeline..."
	   )
	 )
  )
  (setq	smode
	 (strcase
	   (getstring
	     "\nEnter [F] for points only on Pline or [CP] for points inside polygon..."
	   )
	 )
  )
  (cond
    ((and (= ptype "P") (= smode "F")) (FENCE))
    ((and (= ptype "P") (= smode "CP")) (CORRIDOR))
    ((and (= ptype "A") (= smode "F")) (ASBUILTLINEF))
    ((and (= ptype "A") (= smode "CP")) (ASBUILTLINECP))
    (T
     (PRINt "\nOne of the selections you made is incorrect...")
    )
  )
  (AddPnt2Grp)
  (foreach p plist
    (if (not (member p cogolist))
      (progn
	;;;create the circle for no point at vertice here
	)
      )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 21:16:38 GMT</pubDate>
    <dc:creator>Jeff_M</dc:creator>
    <dc:date>2023-05-08T21:16:38Z</dc:date>
    <item>
      <title>List manipulations</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11944627#M3677</link>
      <description>&lt;P&gt;I'm stuck trying to create a list for comparison.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code (which is part of the AddPointstoagroup routine I found on the web):&lt;/P&gt;&lt;P&gt;(setq pipeline (entsel"\nPick Pline to extract from..."))&lt;/P&gt;&lt;P&gt;(setq pipeline (car pipeline))&lt;/P&gt;&lt;P&gt;(setq plist (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget pipeline))))&lt;/P&gt;&lt;P&gt;creates a list like this:&lt;/P&gt;&lt;P&gt;((840184.0 6.80043e+06) (840185.0 6.80043e+06))&lt;/P&gt;&lt;P&gt;[I'm only vaguely familiar with what is happening above, but I kinda get gist of it]&lt;/P&gt;&lt;P&gt;Later in the code, it does this:&lt;/P&gt;&lt;P&gt;(setq ss (ssget "_f" plist '((0 . "AECC_COGO_POINT"))))&lt;/P&gt;&lt;P&gt;This makes a set of all the Cogo Points that reside on the polyline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to check which vertex in the Plist does not have a cogo point listed in SS&lt;/P&gt;&lt;P&gt;I'm trying to create a list to compare the&amp;nbsp; xy values in the list of the first call by picking apart the set made from the second call, but when I make the list and append the xy values I get this:&lt;/P&gt;&lt;P&gt;(840184.0 6.80043e+06&amp;nbsp;840184.0 6.80043e+06)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the difference between these two lists and how do I achieve the first example?&lt;/P&gt;&lt;P&gt;And while I'm at it, how&amp;nbsp; do I compare what is NOT a member of the list opposed to what is?&lt;/P&gt;&lt;P&gt;Is there a "Not a member" command?&lt;/P&gt;&lt;P&gt;I hope I provided enough info.&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 16:49:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11944627#M3677</guid>
      <dc:creator>johnd</dc:creator>
      <dc:date>2023-05-05T16:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: List manipulations</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11944956#M3678</link>
      <description>&lt;P&gt;Please post your full code, right now we can only guess what your code is doing that could be changed to do what you want.&lt;/P&gt;
&lt;P&gt;For "not member": (if (not (member xy list))&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 19:41:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11944956#M3678</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2023-05-05T19:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: List manipulations</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11945001#M3679</link>
      <description>&lt;P&gt;Here's the sub and main.&lt;/P&gt;&lt;P&gt;What is happening is the first selection in the main grabs the polyline to make a set of all the points that make up&lt;/P&gt;&lt;P&gt;that line. It is a 3Dpolyline so I copy and convert it to 2D and use "_f" to get the cogo points off it.&lt;/P&gt;&lt;P&gt;If the line selected to form Plist, has no cogo point at the vertex I want to circle the vertex so that it can be spotted.&lt;/P&gt;&lt;P&gt;It all works, I just can't find away to make a list to compare together.&lt;/P&gt;&lt;P&gt;I can make it draw a circle at each vertex that has a cogo point, but that is opposite of what I need.&lt;/P&gt;&lt;P&gt;Please forgive the gibberish code, I'm learning as I go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;********************************************************************************************&lt;BR /&gt;;*****************This is where I want to make the comparing list***********************&lt;BR /&gt;;********************************************************************************************&lt;BR /&gt;(defun AsbuiltLineF ()&lt;BR /&gt;(setq ss (ssget "_f" plist '((0 . "AECC_COGO_POINT")))) ;&lt;STRONG&gt;I want to make an xy list of this set.&lt;/STRONG&gt;&lt;BR /&gt;(setq countcheck (sslength ss))&lt;BR /&gt;(repeat countcheck ;(setq scnt (sslength ss))&lt;BR /&gt;(setq pnt (ssname ss membercnt))!&lt;BR /&gt;(setq obj (vlax-ename-&amp;gt;vla-object pnt))&lt;BR /&gt;(setq easting (vlax-get obj 'easting))&lt;BR /&gt;(setq northing (vlax-get obj 'northing))&lt;BR /&gt;(setq clist (list easting northing))&lt;BR /&gt;(setq desc (vlax-get obj 'rawdescription))&lt;BR /&gt;(setq desc (substr desc 1 5))&lt;BR /&gt;(member clist pipelinelist)&lt;BR /&gt;(if ;(and (or (= desc "WLD_C")&lt;BR /&gt;;(= desc "LOOSE")&lt;BR /&gt;;(= desc "BEND ")&lt;BR /&gt;;(= desc "FLG E")&lt;BR /&gt;;(= desc "VALVE")&lt;BR /&gt;;(= desc "VENT ")&lt;BR /&gt;;(= desc "RISER")&lt;BR /&gt;;(= desc "TEST_")&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;(member clist pipelinelist)&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;(progn&lt;BR /&gt;(setq lstnumbers (append lstnumbers (list (vlax-get Obj 'Number))))&lt;BR /&gt;(setq rptcnt (+ rptcnt 1))&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(setq membercnt (+ membercnt 1))&lt;BR /&gt;);end repeat&lt;BR /&gt;(clear2dpline)&lt;BR /&gt;(Alert "Converted 2D Selection Pline deleted....")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:Pnts2Grp ()&lt;BR /&gt;(setvar "CMDECHO" 0)&lt;BR /&gt;(OP:c3ddoc)&lt;BR /&gt;(MakeCodeList)&lt;BR /&gt;(setq membercnt 0)&lt;BR /&gt;(setq strName (getstring "\nEnter new point group name..."))&lt;BR /&gt;(MakeAGroup)&lt;BR /&gt;(QueryBuild)&lt;BR /&gt;(setq lstnumbers nil)&lt;BR /&gt;(setq assoc0 nil)&lt;BR /&gt;(setq assoc70 nil)&lt;BR /&gt;(setq num 0)&lt;BR /&gt;(setq rptcnt 0)&lt;BR /&gt;(setq newgroup nil)&lt;BR /&gt;(setq ptype nil)&lt;BR /&gt;(setq smode nil)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;;************************************************************************************&lt;BR /&gt;;**************************This is where the first list is made**********************&lt;BR /&gt;;************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(setq pipeline (entsel"\nPick Pline to extract from..."))&lt;BR /&gt;(3Dplinetest)&lt;BR /&gt;(setq pipeline (car pipeline));return from 3Dplinetest&lt;BR /&gt;(setq pipelinelist (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget pipeline))))&lt;BR /&gt;(setq plist (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget pipeline))))&lt;BR /&gt;(setq ptype (strcase(getstring "\nEnter [P] for Prelimary Pline or [A] for Asbuilt Pipeline...")))&lt;BR /&gt;(setq smode (strcase(getstring "\nEnter [F] for points only on Pline or [CP] for points inside polygon...")))&lt;BR /&gt;(cond&lt;BR /&gt;((and (= ptype "P")(= smode "F")) (FENCE))&lt;BR /&gt;((and (= ptype "P")(= smode "CP")) (CORRIDOR))&lt;BR /&gt;((and (= ptype "A")(= smode "F")) (ASBUILTLINEF))&lt;BR /&gt;((and (= ptype "A")(= smode "CP")) (ASBUILTLINECP))&lt;BR /&gt;(T (PRINt "\nOne of the selections you made is incorrect..."))&lt;BR /&gt;)&lt;BR /&gt;(AddPnt2Grp)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;);end Pnts2Grp&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 20:16:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11945001#M3679</guid>
      <dc:creator>johnd</dc:creator>
      <dc:date>2023-05-05T20:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: List manipulations</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11945639#M3680</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2936266"&gt;@johnd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you attached example drawing AND full code&amp;nbsp; AS SAID &lt;SPAN class=""&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/32637" target="_self"&gt;&lt;SPAN class=""&gt;Jeff_M&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;_$ 
; error: no function definition: MAKECODELIST
_1$ 

"S" 
_1$ 
_$ 
; error: no function definition: QUERYBUILD
_1$ &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;;********************************************************************************************
;*****************This is where I want to make the comparing list***********************
;********************************************************************************************
(defun AsbuiltLineF ()
(setq ss (ssget "_f" plist '((0 . "AECC_COGO_POINT")))) ;I want to make an xy list of this set.
(setq countcheck (sslength ss))
(repeat countcheck ;(setq scnt (sslength ss))
(setq pnt (ssname ss membercnt))!
(setq obj (vlax-ename-&amp;gt;vla-object pnt))
(setq easting (vlax-get obj 'easting))
(setq northing (vlax-get obj 'northing))
(setq clist (list easting northing))
(setq desc (vlax-get obj 'rawdescription))
(setq desc (substr desc 1 5))
(member clist pipelinelist)
(if ;(and (or (= desc "WLD_C")
;(= desc "LOOSE")
;(= desc "BEND ")
;(= desc "FLG E")
;(= desc "VALVE")
;(= desc "VENT ")
;(= desc "RISER")
;(= desc "TEST_")
;‌‌
(member clist pipelinelist)
‌‌
(progn
(setq lstnumbers (append lstnumbers (list (vlax-get Obj 'Number))))
(setq rptcnt (+ rptcnt 1))
)
)

(setq membercnt (+ membercnt 1))
);end repeat
(clear2dpline)
(Alert "Converted 2D Selection Pline deleted....")
)

 

(defun c:Pnts2Grp ()
(setvar "CMDECHO" 0)
(OP:c3ddoc)
(MakeCodeList)
(setq membercnt 0)
(setq strName (getstring "\nEnter new point group name..."))
(MakeAGroup)
(QueryBuild)
(setq lstnumbers nil)
(setq assoc0 nil)
(setq assoc70 nil)
(setq num 0)
(setq rptcnt 0)
(setq newgroup nil)
(setq ptype nil)
(setq smode nil)


;************************************************************************************
;**************************This is where the first list is made**********************
;************************************************************************************


(setq pipeline (entsel"\nPick Pline to extract from..."))
(3Dplinetest)
(setq pipeline (car pipeline));return from 3Dplinetest
(setq pipelinelist (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget pipeline))))
(setq plist (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget pipeline))))
(setq ptype (strcase(getstring "\nEnter [P] for Prelimary Pline or [A] for Asbuilt Pipeline...")))
(setq smode (strcase(getstring "\nEnter [F] for points only on Pline or [CP] for points inside polygon...")))
(cond
((and (= ptype "P")(= smode "F")) (FENCE))
((and (= ptype "P")(= smode "CP")) (CORRIDOR))
((and (= ptype "A")(= smode "F")) (ASBUILTLINEF))
((and (= ptype "A")(= smode "CP")) (ASBUILTLINECP))
(T (PRINt "\nOne of the selections you made is incorrect..."))
)
(AddPnt2Grp)


);end Pnts2Grp

&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 07:52:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11945639#M3680</guid>
      <dc:creator>hosneyalaa</dc:creator>
      <dc:date>2023-05-06T07:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: List manipulations</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11945932#M3681</link>
      <description>&lt;P&gt;As requested here is the full code and example dwg.&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 13:07:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11945932#M3681</guid>
      <dc:creator>johnd</dc:creator>
      <dc:date>2023-05-06T13:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: List manipulations</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11946037#M3682</link>
      <description>&lt;P&gt;Oh, I forgot mention, when you run the routine the only options used for this are:&lt;/P&gt;&lt;P&gt;Choose A for Asbuilt&lt;/P&gt;&lt;P&gt;Choose F for Fence&lt;/P&gt;&lt;P&gt;that is the section I have been concentrating on.&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 14:53:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11946037#M3682</guid>
      <dc:creator>johnd</dc:creator>
      <dc:date>2023-05-06T14:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: List manipulations</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11950037#M3683</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2936266"&gt;@johnd&lt;/a&gt;&amp;nbsp;I have only updated the main function and the AsBuiltLineF function and added the getplinecoords function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By using the new function it eliminates the need to check for a 3dpline and convert it. I won't comment on the rest of the code other than to say it could be cleaned up quite a bit...I think you already know that based on your comment about forgiving the gibberish code&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(defun AsbuiltLineF ()
  (setq ss (ssget "_f" plist '((0 . "AECC_COGO_POINT"))))
  (setq countcheck (sslength ss))
  (repeat countcheck			;(setq scnt (sslength ss))
    (setq pnt (ssname ss membercnt))
    
    (setq obj (vlax-ename-&amp;gt;vla-object pnt))
    (setq easting (vlax-get obj 'easting))
    (setq northing (vlax-get obj 'northing))
    (setq clist (list easting northing))
    (setq cogolist (cons clist cogolist))
    (setq desc (vlax-get obj 'rawdescription))
    (setq desc (substr desc 1 5))
    (if					;(and (or (= desc "WLD_C")
					;(= desc "LOOSE")
					;(= desc "BEND ")
					;(= desc "FLG E")
					;(= desc "VALVE")
					;(= desc "VENT ")
					;(= desc "RISER")
					;(= desc "TEST_") 
					;)
      (member clist plist)
					;)
       (progn
	 (setq lstnumbers
		(append lstnumbers (list (vlax-get Obj 'Number)))
	 )
	 (setq rptcnt (+ rptcnt 1))
       )
    )

    (setq membercnt (+ membercnt 1))
  )					;end repeat
)

;;new function
(defun getpline2dcoords (pline / idx coords c pt)
  (setq idx (vlax-curve-getstartparam pline)
	coords nil)
  (while (&amp;lt; idx (vlax-curve-getendparam pline))
    (setq pt (vlax-curve-getpointatparam pline idx)
	  c (list (car pt) (cadr pt))
	  coords (cons c coords)
	  idx (1+ idx)
	  )
    )
  coords
  )

;;and the portion of main function that I edited					;************************************************************************************  
					;**************************This is where the first list is made**********************
					;************************************************************************************ 

  (setq cogolist nil)
  (setq pipeline (entsel "\nPick Pline to extract from..."))
  (setq pipeline (car pipeline))	
  (setq	plist (getpline2dcoords pipeline))
  (setq	ptype
	 (strcase
	   (getstring
	     "\nEnter [P] for Prelimary Pline or [A] for Asbuilt Pipeline..."
	   )
	 )
  )
  (setq	smode
	 (strcase
	   (getstring
	     "\nEnter [F] for points only on Pline or [CP] for points inside polygon..."
	   )
	 )
  )
  (cond
    ((and (= ptype "P") (= smode "F")) (FENCE))
    ((and (= ptype "P") (= smode "CP")) (CORRIDOR))
    ((and (= ptype "A") (= smode "F")) (ASBUILTLINEF))
    ((and (= ptype "A") (= smode "CP")) (ASBUILTLINECP))
    (T
     (PRINt "\nOne of the selections you made is incorrect...")
    )
  )
  (AddPnt2Grp)
  (foreach p plist
    (if (not (member p cogolist))
      (progn
	;;;create the circle for no point at vertice here
	)
      )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 21:16:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11950037#M3683</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2023-05-08T21:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: List manipulations</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11950088#M3684</link>
      <description>&lt;P&gt;thank you sir, that will get me going.&lt;/P&gt;&lt;P&gt;Learn a little more every day.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 21:38:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/list-manipulations/m-p/11950088#M3684</guid>
      <dc:creator>johnd</dc:creator>
      <dc:date>2023-05-08T21:38:00Z</dc:date>
    </item>
  </channel>
</rss>

