Xsect 2 Surf

Xsect 2 Surf

garrett_wynne
Enthusiast Enthusiast
9,421 Views
35 Replies
Message 1 of 36

Xsect 2 Surf

garrett_wynne
Enthusiast
Enthusiast

Hello all,

 

I have a new desktop that I am now using with Civil 3d, but I am lacking the Xsect2Surf tool, and the link from the fellas that created is bad.  Does anybody have the original *.exe file to install on my desktop?

 

Thanks,

Garrett

0 Likes
Accepted solutions (2)
9,422 Views
35 Replies
Replies (35)
Message 2 of 36

neilyj666
Mentor
Mentor
Accepted solution

This should do it - rename to a .zip

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 3 of 36

garrett_wynne
Enthusiast
Enthusiast

Thank you for sending.

 

I am getting an error that will not allow Civil 3d to load it.  Basically, I am installing per the Readme, but I am getting errors as below:

 

Command: NETLOAD
Cannot load assembly. Error details: System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Program Files\Autodesk\Autodesk AutoCAD Civil 3D 2014\Xsect2Surf2014.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///C:\Program Files\Autodesk\Autodesk AutoCAD Civil 3D 2014\Xsect2Surf2014.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
   at loadmgd()

0 Likes
Message 4 of 36

Jeff_M
Consultant
Consultant
Accepted solution
tHE FILE IS BLOCKED. Oops. Delete the files you extracted from the zip, then find the zip file, right-click, choose Properties. On the General tab, near the bottom, will be a button labeled Unblock, click it then exit properties. Now extract the files as you previously did.
Jeff_M, also a frequent Swamper
EESignature
Message 5 of 36

garrett_wynne
Enthusiast
Enthusiast

Bingo...Thank you very much....Kudos to you both!

0 Likes
Message 6 of 36

Anonymous
Not applicable

I Jeff,

 

It's been a while since you posted it, but is there a version of that XSECT2SURF planned for 2016 ?

 

0 Likes
Message 7 of 36

neilyj666
Mentor
Mentor

Hopefully I've got the right @wes_newman so assuming I have is there any chance of updating the code so it runs in 2016?

 

Attached is the error that appears when attempting to run the 2015 dll after NETLOADing.

 

2015-08-26 21_43_16-Autodesk AutoCAD Civil 3D 2016 - [Drawing1.dwg].jpg

 

Many thanks

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes
Message 8 of 36

wes_newman
Autodesk
Autodesk

I just got a new machine and need to install Visual Studio.

I'll get an updated version posted this week.

 

Wes

 

0 Likes
Message 9 of 36

neilyj666
Mentor
Mentor
Excellent - many thanks

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes
Message 10 of 36

wes_newman
Autodesk
Autodesk

Here is a version compiled on 2016.

Looks like there was a change in 2015 SP2 to the ResolveEventHandler which is causing the load issue.
The attached dll has resolved the serilazation problem.

 

-Wes

Message 11 of 36

neilyj666
Mentor
Mentor
Thanks again - I can certainly get the correct dialog appearing in 2016 but not got anything to test on at present

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes
Message 12 of 36

jensdragonfly
Contributor
Contributor

Does anyone have a 2015 Version?  I cannot seem to find one that works. 

0 Likes
Message 13 of 36

wes_newman
Autodesk
Autodesk

Jennifer,

The 2015 version no longer works due to a change in the API in one of the Service Packs.

I've made the needed adjustments and recompiled on 2016, which is the one posted earlier in the thread.

Apologies as I don't have 2015 installed to update that version of the tool.

 

-Wes

0 Likes
Message 14 of 36

jensdragonfly
Contributor
Contributor

Thank you for getting back with me.  

0 Likes
Message 15 of 36

dlopes
Participant
Participant

Just downloaded and extracted the 2016 version, I did a NETLOAD of the extension, but when I type in the command xsect2surf, nothing shows up

I'm on 2016 SP2 what could be causing the issue for it not to load?

0 Likes
Message 16 of 36

dlopes
Participant
Participant

Figured out the issue, it was due to the blocking in the propeties.

Any news on the 2017 version of this?

0 Likes
Message 17 of 36

guidobonin
Contributor
Contributor

Hey Autodesk,

 

come on: why don't you put it on the product (power tools?)?

Sometime we have to do incredible things because of the missing model, and this kind of tools are really handy

 

Come on

Message 18 of 36

Anonymous
Not applicable

Hi! 

I'm so sorry to piggyback on this question, but do you have the original installer for this tool? I've tried to get it, but the link has been taken down from the original site. This tool looks so incredibly helpful!

Thanks so much!!!

0 Likes
Message 19 of 36

Anonymous
Not applicable

Do you know if this will work on 2017? I'm getting an Unknown Command message after i load the dll

0 Likes
Message 20 of 36

Anonymous
Not applicable

Hi

 

I have C3D 2018.How can i use this tool on C3D 2018?

 

Thank you