<?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 Can't get 'AddTinVolumeSurface method to work. in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4390643#M18341</link>
    <description>&lt;P&gt;I am at my wits end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to create a Tin Volume Surface using Vlisp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Surfaces collection has a method called AddTinVolumeSurface (1). The (1) meaning the method takes one arguement, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;&lt;STRONG&gt;(setq surfs (vlax-get-property c3ddoc 'Surfaces)) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt; &lt;/FONT&gt;;sets the Surfaces collection as surfs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt; ;(setq surfname (vlax-make-safearray vlax-vbstring '(0 . 0)))&amp;nbsp;&lt;/FONT&gt;&amp;nbsp; This was an attempt to use a safearray of a single dimension&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;;(vlax-safearray-fill surfname (list "tempsurface"))&lt;/FONT&gt;&amp;nbsp;&amp;nbsp; and fill it in with a list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color="#ff6600"&gt; ;(setq surfname (vlax-make-safearray vlax-vbstring))&lt;/FONT&gt; &amp;nbsp; Tried it without the dimensions of the array&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;;(vlax-safearray-fill surfname "TEST"))&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tried filling the array with a string instead of a string in a list.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;&amp;nbsp; ;(setq surfname "TEST")&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tried with the surfname set to a string, not a safearray.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#ff6600"&gt; (setq surfname (vlax-make-variant "TEST" vlax-vbstring))&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and the most recent try, using a variant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#ff6600"&gt;(setq surf3 (vlax-invoke-method surfs 'AddTinVolumeSurface surfname))&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp; But when I use this code to create the surface, I get various errors, depending on the option I used creating surfname.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is expected&amp;nbsp;from AddTinVolumeSurface (1). I am putting the surface name in as an arguement, but I can't get it to work. I have tried integers like 0 and 1, I have tried T and F. I really wish there was documentation somewhere that would tell me what is expected here .&lt;/P&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2013 07:38:44 GMT</pubDate>
    <dc:creator>tcorey</dc:creator>
    <dc:date>2013-09-02T07:38:44Z</dc:date>
    <item>
      <title>Can't get 'AddTinVolumeSurface method to work.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4390643#M18341</link>
      <description>&lt;P&gt;I am at my wits end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to create a Tin Volume Surface using Vlisp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Surfaces collection has a method called AddTinVolumeSurface (1). The (1) meaning the method takes one arguement, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;&lt;STRONG&gt;(setq surfs (vlax-get-property c3ddoc 'Surfaces)) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt; &lt;/FONT&gt;;sets the Surfaces collection as surfs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt; ;(setq surfname (vlax-make-safearray vlax-vbstring '(0 . 0)))&amp;nbsp;&lt;/FONT&gt;&amp;nbsp; This was an attempt to use a safearray of a single dimension&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;;(vlax-safearray-fill surfname (list "tempsurface"))&lt;/FONT&gt;&amp;nbsp;&amp;nbsp; and fill it in with a list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color="#ff6600"&gt; ;(setq surfname (vlax-make-safearray vlax-vbstring))&lt;/FONT&gt; &amp;nbsp; Tried it without the dimensions of the array&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;;(vlax-safearray-fill surfname "TEST"))&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tried filling the array with a string instead of a string in a list.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;&amp;nbsp; ;(setq surfname "TEST")&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tried with the surfname set to a string, not a safearray.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#ff6600"&gt; (setq surfname (vlax-make-variant "TEST" vlax-vbstring))&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and the most recent try, using a variant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#ff6600"&gt;(setq surf3 (vlax-invoke-method surfs 'AddTinVolumeSurface surfname))&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp; But when I use this code to create the surface, I get various errors, depending on the option I used creating surfname.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is expected&amp;nbsp;from AddTinVolumeSurface (1). I am putting the surface name in as an arguement, but I can't get it to work. I have tried integers like 0 and 1, I have tried T and F. I really wish there was documentation somewhere that would tell me what is expected here .&lt;/P&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2013 07:38:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4390643#M18341</guid>
      <dc:creator>tcorey</dc:creator>
      <dc:date>2013-09-02T07:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get 'AddTinVolumeSurface method to work.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4391509#M18342</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/47135"&gt;@tcorey&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I am at my wits end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is expected&amp;nbsp;from AddTinVolumeSurface (1). I am putting the surface name in as an arguement, but I can't get it to work. I have tried integers like 0 and 1, I have tried T and F. I really wish there was documentation somewhere that would tell me what is expected here .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN style="font-size: 12.87px; line-height: 17.55px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You have to use the COM documentation, Tim. From &lt;A title="Help for TinVolumeSurface" href="http://docs.autodesk.com/CIV3D/2012/ENU/API_Reference_Guide/com/AeccXLandLib__IAeccSurfaces__AddTinVolumeSurface@[in]_IAeccTinVolumeCreationData__@[out,retval]_IAeccTinVolumeSurface___.htm" target="_blank"&gt;THIS&lt;/A&gt;&amp;nbsp;page you will find you need to pass a TinVolumeCreationData object. Here's some sample code I was playing with a few years ago for a TinSurface. You will need to make appropriate modifications for the TinVolumeSurface and newer versions of C3D. The difference in the TINVolumeCreationData being you also need to set the 2 comparison surfaces.&lt;/P&gt;
&lt;PRE&gt;(vl-load-com)
(setq prod (vlax-product-key))
(setq verstr (cond ((vl-string-search "\\R18.0\\" prod)
		    "7.0"
		   )
		   ;;2010
		   ((vl-string-search "\\R18.1\\" prod)
		    "8.0"
		   )
		   ;;2011
		   ((vl-string-search "\\R18.2\\" prod)
		    "9.0"
		   )
		   ;;2012
	     )
)
(setq prodStr (strcat "AeccXUiLand.AeccApplication." verstr))
(setq datastr (strcat "AeccXLand.AeccTinCreationData." verstr))

(if (and (setq *acad* (vlax-get-acad-object))
	 (setq C3D (vla-getinterfaceobject *acad* prodStr))
	 (setq C3Ddoc (vla-get-activedocument C3D))
	 (setq surfs (vlax-get C3Ddoc 'surfaces))
	 (setq tincreationdata (vla-getinterfaceobject *acad* datastr))
    )
  (progn
    (vlax-put tincreationdata 'baselayer "0")
    (vlax-put tincreationdata 'layer "0")
    (vlax-put tincreationdata 'description "Surface from Lisp")
    (vlax-put tincreationdata 'name "Lisp EG")
    (vlax-put tincreationdata 'style "Border Only")
    ;;style must exist!
    (setq
      surf (vlax-invoke-method surfs 'addtinsurface tincreationdata)
    )
    ;; do whatever else is needed
    (vlax-release-object tincreationdata)
    (vlax-release-object surf)
    (vlax-release-object surfs)
    (vlax-release-object c3ddoc)
  )
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;And here's the &lt;A title="COM Help" href="http://docs.autodesk.com/CIV3D/2012/ENU/API_Reference_Guide/com/getting_started.html" target="_blank"&gt;LINK&lt;/A&gt; for the general COM help.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2013 13:01:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4391509#M18342</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2013-09-02T13:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get 'AddTinVolumeSurface method to work.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4394801#M18343</link>
      <description>&lt;P&gt;Aha. COM documentation. That's gonna be the ticket. I''ve been flying blind and you just removed the blindfold.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, Jeff. Next time I see you I owe you a keg of beer for all your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2013 16:33:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4394801#M18343</guid>
      <dc:creator>tcorey</dc:creator>
      <dc:date>2013-09-03T16:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get 'AddTinVolumeSurface method to work.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4400949#M18344</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create a TinVolumeSurface and the put-property method is not working for the base surface name;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This line works, fills the baselayer property correctly&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;(vlax-put-property tincreationdata 'BaseLayer "TEMPORARY-FOR-VOLUME-CALCS")&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This line gives me a type mismatch&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vlax-put-property tincreationdata 'BaseSurface "Surf1") &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried using a string as above, tried pointing to the actual surface object:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color="#ff6600"&gt;(vlax-put-property tincreationdata 'BaseSurface surf1)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tried pointing to the surface Object id&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color="#ff6600"&gt;(setq surfobjid (vlax-get-property surf1 'ObjectID))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;(vlax-put-property tincreationdata 'BaseSurface surfobjid)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;As you can see, the tincreationdata object is being created and the BaseLayer property is accepting the put:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;(vlax-dump-object tincreationdata)&lt;BR /&gt;; IAeccTinVolumeCreationData&amp;amp;colon; AeccTinVolumeCreationData interface&lt;BR /&gt;; Property values:&lt;BR /&gt;;&amp;nbsp;&amp;nbsp; BaseLayer = "TEMPORARY-FOR-VOLUME-CALCS"&lt;BR /&gt;;&amp;nbsp;&amp;nbsp; BaseSurface = nil&lt;BR /&gt;;&amp;nbsp;&amp;nbsp; ComparisonSurface = nil&lt;BR /&gt;;&amp;nbsp;&amp;nbsp; Description = ""&lt;BR /&gt;;&amp;nbsp;&amp;nbsp; Layer = ""&lt;BR /&gt;;&amp;nbsp;&amp;nbsp; Name = ""&lt;BR /&gt;;&amp;nbsp;&amp;nbsp; Style = ""&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can put the description, layer, name and style, too, just not the basesurface and comparison surface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any input...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&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;P&gt;&amp;nbsp;&lt;/P&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2013 15:05:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4400949#M18344</guid>
      <dc:creator>tcorey</dc:creator>
      <dc:date>2013-09-05T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get 'AddTinVolumeSurface method to work.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4401247#M18345</link>
      <description>&lt;P&gt;Gah! I knew I should've checked before posting. Sorry Tim, this looks like one of those things that lisp just won't do. It can be done in VBA &amp;amp; .NET, but lisp doesn't pass the correct object type to the tinvolumecreationdata surface properties.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the same issue when you try to do this:&lt;/P&gt;
&lt;P&gt;(setq surf1 (vlax-invoke-method surfs 'item "Surface1"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will error with "type mismatch" so you need to loop through the collection to get the surface you want:&lt;/P&gt;
&lt;PRE&gt;(vlax-for surf surfs
      (if (= (vlax-get-property surf 'name) "Surface1")
	(setq surf1 surf)
	(if (= (vlax-get-property surf 'name) "Surface2")
	  (setq surf2 surf)
	  )
	)
      )&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I don't see a backdoor method of passing the correct object type. So it looks like I led you astray on this one, Tim. Sorry about that!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2013 16:23:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4401247#M18345</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2013-09-05T16:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get 'AddTinVolumeSurface method to work.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4401423#M18346</link>
      <description>&lt;P&gt;There's no reason to apologize, Jeff. You have helped so many community members. You're entitled a small mistake once in a while. I only spent an hour or so on it, so no biggie.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like I'm just gonna have to knuckle under and learn c#. Peter Funk has stated it here, emphatically, several times, that .net is the way to go. I guess I should listen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mostly, I'm gonna miss being able to debug on the command line. ;-(&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day and thanks for all you do, Jeff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&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;</description>
      <pubDate>Thu, 05 Sep 2013 17:26:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4401423#M18346</guid>
      <dc:creator>tcorey</dc:creator>
      <dc:date>2013-09-05T17:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get 'AddTinVolumeSurface method to work.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4402369#M18347</link>
      <description>&lt;P&gt;Hi Tim &amp;amp; Jeff,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry to be late on this issue....&lt;/P&gt;
&lt;P&gt;Few releases ago I had looked into this and my approach was this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;;(vlax-put-property oTinData 'BaseSurface oSurface1)&lt;/P&gt;
&lt;P&gt;;(vlax-put-property oTinData 'ComparisonSurface oSurface2)&lt;/P&gt;
&lt;P&gt;(setq oVolTinNew (vlax-invoke-method oSurfaces 'AddTinVolumeSurface oTinData))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I think we had an issue here in using Civil 3D COM / ActiveX API in LISP call. And I had seen some other areas too where it doesn't work&amp;nbsp;and hence I would suggest to move on to use Civil 3D .NET API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Partha&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2013 06:33:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4402369#M18347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-06T06:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get 'AddTinVolumeSurface method to work.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4404387#M18348</link>
      <description>&lt;P&gt;Thanks, Partha. It seems that's the way I'll have to go....&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2013 13:42:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/can-t-get-addtinvolumesurface-method-to-work/m-p/4404387#M18348</guid>
      <dc:creator>tcorey</dc:creator>
      <dc:date>2013-09-06T13:42:01Z</dc:date>
    </item>
  </channel>
</rss>

