How to add your knowledge

Installing the New Subassembly

    Table of contents
    No headers

    The Autodesk Tool Catalog files (.atc files, found in [DataLocation]\Autodesk\C3D 2011\enu\Tool Catalogs\Road Catalog) need to be modified in order to list your new subassembly in the Civil 3D Subassembly Catalog.

    Note

    DataLocation in the path above depends on the operating system:

    • On Windows XP it is C:\Documents and Settings\All Users\Application Data\
    • On Windows Vista and Windows 7, it is C:\ProgramData\Autodesk\

    The .atc file format for .NET subassemblies is largely the same as for VBA subassemblies except that two new tags are used:

    <GeometryGenerateMode>UseDotNet</GeometryGenerateMode><DotNetClass Assembly="%AECCCONTENT_DIR%\C3DStockSubassemblies.dll">Subassembly.NewCurb</DotNetClass>

    <GeometryGenerateMode> tells Civil 3D that you are using a .NET subassembly. It is placed within the <Tool> tag.

    <DotNetClass> is used instead of <Macro> tag when using .NET subassemblies