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"

AeccContent_Dir, C3DStockSubassemblyScripts.codes and custom coding

When developing custom subassemblies for Civil 3D using MS.NET there might be a need for custom coding.
There are three ways to do it.

1. Rely on module "CodesSpecific.vb" provided from autodesk.
Developer may add custom codes. But none of it will be avalaible unless the file named "C3DStockSubassemblyScripts.codes" is informed with latest codes.
This file is in the directory which variable AeccContent_Dir points to.
This variable is readonly and its initial value is set when installing Civil 3D. If user does not change its location proposed by autodesk then it points to...
C:\ProgramData\Autodesk\C3D 2017\enu\C3DStockSubassemblyScripts.codes

2. A variation of the above approach is to alter the path and/or the name of the file it points to.
Path is get from the variable "AeccContent_Dir" and file "C3DStockSubassemblyScripts.codes" is set into the constCodesFile. Even alter the whole apporoach of getting the codes.

3. Totally ignore the autodesk coding approach and set codes directly which i think is the best approach.




 

Trimble TGO GPS site calibrations tips (2)

Beware of the rotation units GON vs Degrees.

On site calibrations can be saved to TGO Coordinate System Manager as Sites and get used to other jobs.

Adjustments is only for Trimble. A site calibration can be reproduced as Datum with TGO GPS calibration as 7 parameter. Original on site job required.

Monday, 5 December 2016

Trimble TGO GPS site calibrations tips (1)

In order to manipulate Trimble GPS calibrations using TGO it is absolutely critical to keep original controller's JOB containing the on site GPS measurements for calibrations.
Or else only a point to point (*.csv, *.txt) transformation is possible.

TGO does not import a job other from controller. So copying a job to another media is useless!
eg It is not possible to import it from a desktop backup! But this backup should exist so that it can be copied back to controller and import it from there!

Civil 3D custom subassemblies created with previous versions of SAC may not work as expected when imported to later C3D versions

Custom subassemblies created with previous versions of SAC may not work as expected when imported to new c3d versions (although if already in a drawing of a previous c3d version will work fine when opened with later version!).
I met such a case. All previous version subassemblies worked fine except one! Worked fine when opening a previous version dwg file already containing it. But did not work if imported from scratch to a later C3D version!

Friday, 7 October 2016

Civil 3D corridor export feature lines tip : Baseline Profile layer locked

I have used Corridor feature lines export to Polylines, Alignments with profiles and Profiles lots of times.
But this time nothing worked right. All elevations were not absolute but relative to baseline profile not matter what trick i tried.
Finally i found out that if profile baseline layer is locked then all elevations exported, no matter what method used, are relative to this profile, not absolute!

Not as single mention in C3D help. Not a single relative result in Google Search. Am i the first one to fall into this situation ? I do not think so.
Should autodesk warn users about this behaviour ?

Thanks God, i found that just one step before losing my mind and only after several hours stall!
So the damage is done. Other partners, that do not know anything about C3D, think that i am too slow and that simple projects are difficult for me. Yeah...if you say so...

&*&^%%$%#@$!*@&^

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.