Showing posts with label Civil 3D 2017. Show all posts
Showing posts with label Civil 3D 2017. Show all posts

Friday, 2 June 2017

Leica Infrastructure Link - Civil 3D export corridor : failure - Autocad JIT error message "This operation on featureline-based baseline is invalid"

One of the top rated in the wish list about Civil 3D was the option to create a corridor using feature line baseline type. Civil 3D 2017 was the first version to support it.

Leica X-Change no longer exists since this C3D version.
Its successor Leica Infrastructure Link freeware must be used instead.

Running this addon pressing the "Read Civil Objects" button user sees the following message.
The program stucks at this point.



OR

After reading civil objects when trying to save "Export HeXML" user sees the following message

Well at least it is multithreaded. So in either cases user can press Continue and then the OK button and end this addon. But no export takes place.
Same thing happens even if baselines feature line based are unchecked when rebuilding the corridor.
Only solution is to revert to the previous baseline type method of alignment/profile.


Well. It is obvious that Leica developers did not examine the changes between v2016 and v2107.
In v2017 baselines types can differ. Developer should examine if it is "IsFeaturelineBased" or else the above exception is thrown. At least there should exist a user notification.

Leica developers should have seen this link
https://knowledge.autodesk.com/support/autocad-civil-3d/learn-explore/caas/CloudHelp/cloudhelp/2017/ENU/Civil3D-DevGuide/files/GUID-6D41D043-4958-40B7-9C7E-45A6D780955B-htm.html

Thursday, 27 April 2017

Civil 3D 2017 : corridor endless out of date status finally missing after saving drawing

https://forums.autodesk.com/t5/autocad-civil-3d-forum/corridor-out-of-date/td-p/2923316

"

My problem was even worse not just Rebuild status always on.
 
Immediatelly after saving dwg...
 
...an alignment, some feature lines and the corridor that is built on them were lost. Just not existing anymore in prospector and screen !
Undoing resurrected them !
 
OR
...the above mentioned alignment was visible but not existing in the prospector ! I could right click on it and handle it although it was a...ghost ! Corridor reported it as its baseline !
If my next action was...
...moving it siteless the object became visible to prospector and everything became normal !
...saving dwg again, alignment became invisible and corridor reported that had no baselines ! Totally lost. Single undo does nothing. Second undo ressurects corridor object and the graph but not the alignment object to the prospector.
 
Had to find a solution since saving and loosing them was not an option and ofcourse keeping it open until a solution was found in the future is impossimble (on the way to madness and what could i say to my supervisors expecting from me to finish just a simple job)
 
I was lucky enough to find out that setting the alignment to whatever site, new or existing with whatever name is the caution to loose it and the corridor that is attached to it and also the feature lines.
 
Moving to site none (siteless) , rebuilt status clears after rebuilding and saving works fine !
 
I attach the dwg. First import in an empty dwg the also zipped subassemblies and then open the dwg.
The objects i mentioned above are...
alignment named...EDL002B240_TKV
corridor named...EDL002B240_TKV
feature lines...both siteless
Try move them to existing site or a new one and then rebuild. Rebuild status remains on whatever i do.
Finally try saving dwg twice.

"

Monday, 3 April 2017

Visual studio 2017, autoCAD 2017, edit & continue

I am so happy !
Just realised that installing Service Pack 1 to autoCAD or Civil 3D 2017, it is possible to use full Edit & Continue with MS Visual studio 2017 community edition !!!

FULL Edit & Continue !!! By its exact meaning !!!
No workarounds, no Visual Studio extra settings.
Not just view variables.
Allowed to hit new breakpoints while running.
Allowed to change code.
Autocad loading and running absolutely fine.
Must be dreaming !!!

https://forums.autodesk.com/t5/net/edit-and-continue/td-p/6910483

http://adndevblog.typepad.com/autocad/2016/07/autocad-2017-sp1-and-net-debugging.html

Thursday, 16 March 2017

Civil 3D 2017 custom programme, Section views Elevation Minimum set on the fly

Elevation minimum of selected section views can be changed on the fly with this custom programme-plug in, for Civil 3D 2017.

First download the plug in...
https://www.dropbox.com/s/bhpgymcp4herkdq/C3D2017_SectionViewElevMin.dll?dl=0
and save it anywhere you want

Then when in autocad at command line enter NETLOAD and select C3D2017_SectionViewElevMin.dll

At the command line enter setHRZ
enter the new horizon (minimum elevation)
select the desired section views

Finally right click on a section view line and select Update Section View Layout

 

Wednesday, 11 January 2017

Civil 3D 2017 paths...

Custom subassemblies using NET
"C:\Program Files\Autodesk\AutoCAD 2017\C3D\Sample\Civil 3D API\C3DStockSubassemblies"

Project reference path for COM programming
"C:\Program Files\Common Files\Autodesk Shared\Civil Engineering 110"

Basic project reference files for autocad NET programming
acdbmgd.dll, acmgd.dll, AecBaseMgd.dll, AeccDbMgd.dll, accoremgd.dll
also files
Autodesk.AutoCAD.Interop, Autodesk.AutoCAD.Interop.Common
all of them found at
"C:\Program Files\Autodesk\AutoCAD 2017"

Basic project reference files for Civil 3D NET programming
Autodesk.AEC.Interop.Base, Autodesk.AEC.Interop.UIBase
found at
"C:\Program Files\Autodesk\AutoCAD 2017\ACA"
also files
Autodesk.AEC.Interop.Land, Autodesk.AEC.Interop.UiLand
Autodesk.AEC.Interop.Roadway, Autodesk.AEC.Interop.UiRoadway
and others
found at
"C:\Program Files\Autodesk\AutoCAD 2017\C3D"

Imported custom subassemblies
"C:\ProgramData\Autodesk\C3D 2017\enu\Imported Tools"

Custom Assemblies dragged to palettes
"C:\ProgramData\Autodesk\C3D 2017\enu\Assemblies"

Original autodesk templates
"C:\Users\LS-W7\AppData\Local\Autodesk\C3D 2017\enu\Template"

Original autodesk ToolPalettes
"C:\Users\LS-W7\AppData\Roaming\Autodesk\C3D 2017\enu\Support\ToolPalette\Palettes"

Friday, 7 October 2016

Leica vs Trimble software support

Trimble has published its Civil 3D 2017 export/import set of applications since the first days autodesk announced it.
September ends and Leica has not published its X-Change sets of applications although there are already Infrastructure and Building Links for 2017 editions months ago.