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. 

Friday, November 25, 2022

Property Set Units

It appears one has to add a "Property Data Format" to the drawing in Style Manager. Once you do that, use the Format column on the Property Set Definition tab to select the desired format and then the unit drop-down will then become available with the set units available for the unit type specified in the Property Data Formats. I changed Standard to Area and then the area options was then available.




Sunday, October 16, 2022

Image Transient Graphics

 I uploaded an attempt to draw an image using transient graphics to github.
https://github.com/C3DReminders/DFWBIUG_C3D_Data_Shortcuts_2020

It doesn't work well, but it's a start.

LinkWithin

Blog Widget by LinkWithin

Ad