Ad

Tuesday, December 20, 2022

Open Databases By Core Console

I've added code to the https://github.com/C3DReminders/DFWBIUG_C3D_Data_Shortcuts_2020 repository to demonstrate how to open drawings without using the UI and extracting information from them using the AutoCAD core console. This method allows for the opening of drawings via multithreading. This sample code creates a simple text file, but the concepts could be expanded. 

The name of the command is "OpenDbsByCoreConsole" and it is located in the OpenDatabasesCoreConsoleCommand class. 

Note that some of the code was retrieved from the "Autodesk Batch Save Utility (Standalone)" by looking at the decompiled dll code. 

Monday, December 19, 2022

Open Databases By Side Loading

I've added code to the https://github.com/C3DReminders/DFWBIUG_C3D_Data_Shortcuts_2020 repository to demonstrate how to open drawings without using the UI and extracting information from them. This sample code creates a simple text file, but the concepts could be expanded. 

The name of the command is "OpenDbsBySideLoading" and it is located in the OpenDatabasesCommand class. 


Sunday, December 18, 2022

Corridor Surface Point Codes

 I've added some code to the https://github.com/C3DReminders/DFWBIUG_C3D_Data_Shortcuts_2020 repository that demonstrates how to get which point codes are being used by a corridor surface. 

This is useful when you want to assign property set information to a corridor feature line when it is extracted from a corridor for use in another program. 

In the code sample, the name of the command is "CorrSurfPointCodes" and it is in the "CorridorFeatureLinesCommand" class. 

LinkWithin

Blog Widget by LinkWithin

Ad