Lane Super Elevation AOR - PKT

Lane Super Elevation AOR - PKT

greg888GP
Contributor Contributor
1,214 Views
3 Replies
Message 1 of 4

Lane Super Elevation AOR - PKT

greg888GP
Contributor
Contributor

If I undertstand corrrectly, there is currently no way to open the "Lane Super Elevation AOR" stock subassembly in the subassembly composer.  

 

I would like to be able to make some code adjustments to this subassembly. Instead of CROWN at the inside lane I want the inside point code to be CENTER or something different. Does anyone have a work-around for this? 

 

Is anyone willing to share a .pkt with a similar subassembly so that I can edit it the SAC? 

0 Likes
1,215 Views
3 Replies
Replies (3)
Message 2 of 4

hippe013
Advisor
Advisor

The  Civil 3D Stock Subassemblies are written in VB.NET. The source code and solution can be found under this path: 

 

C:\Program Files\Autodesk\AutoCAD 2024\C3D\Sample\Civil 3D API\C3DStockSubassemblies

Or similar path based on the year of your install. 

 

Using Visual Studio you can modify the subassemblies and recompile the DLL. You may also need to modify the .ATC file accordingly. You will then need to re-package (zip) them into a .PKT file. 

0 Likes
Message 3 of 4

ssakuttan
Contributor
Contributor

Could you please share a video tutorial or help file on how to convert a VB file to a PKT file?

0 Likes
Message 4 of 4

hippe013
Advisor
Advisor

I don't know of any available videos or help files regarding PKT files. A PKT file is just a renamed ZIP file, but the required contents of the PKT file has seemed to have changed over the years (comparing the stock subassemblies to those created with Subassembly Composer). If you are creating your own subassembly using .NET you can take a look at what is required for the Civil 3D Stock Subassemblies PKT files. Which, if my memory serves me right, is the compiled DLL, the ATC file, and any image files desired / specified. Copy one of those files to a separate location and rename the extension from PKT to ZIP and then just simply extract its contents. But I am not aware of any documentation, help files, or videos.

 

0 Likes