CADlog

CADlog

Win32 and 64, English

LexmanCAD
Archive, analyze, modify, or create drawing entities in a CSV environment using tools like Excel, Calc, or Notepad!

General Usage Instructions

CADlog is a bridge between Autodesk® AutoCAD® and other software that can make use of CSV files.

- CADlog allows users to harness the power of computational software to describe objects and automate their importation into AutoCAD.

- Exporting objects such as centerline geometry to CSV files can be used to archive information in a lightweight format.

- Survey data can be brought into AutoCAD via CSV (for the great majority of recent survey instruments that allow custom formatting options this process can be fully automated).

- Points or coordinates can be batch inserted/modified with minimal Excel skills.

FORMATTING CSV FILES

The easiest way to make sure a file is properly formatted is to export a simple object like a point or 3D polyline and then modify that file. If starting from scratch, here is the format observed by CADlog (case sensitive):

The first line of the file is intended to be a header and can contain anything, it will not be processed. Following lines depend on the desired entity and are...

Points:

"POINT:"

"VERTEX:" , <x coordinate> , <y coordinate> , <z coordinate>

Lines:

"LINE:"

"VERTEX:" , <start x> , <start y> , <start z>

"VERTEX:" , <end x> , <end y> , <end z>

Polylines

"2DPOLYLINE:" OR "LWPOLYLINE" OR "3DPOLYLINE"

"VERTEX:" , <vertex1 x> , <vertex1 y> , <vertex1 z>

"VERTEX:" , <vertex2 x> , <vertex2 y> , <vertex2 z>

...

"VERTEX:" , <vertex1233 x> , <vertex1233 y> , <vertex1233 z>

"END"

 

To set a layer/color/linetype immediately following an entity header, in a single line, use the entry "Properties:" followed by "Layer:, <LayerName>" "Color:,<ColorNumber>" "LineType:,<LineType>". The order of the properties does not matter and if not specified defaults are Layer: "0" Color: "byLayer" LineType: "byLayer".

NOTE about open and closed POLYLINES (including 3DPOLYLINES). If a POLYLINE is to be closed upon import, the word "closed" must appear within the object header, otherwise, the line will be open by default. For example "2DPOLYLINE (closed)" denotes a closed 2DPOLYLINE while "2DPOLYLINE" and "2DPOLYLINE(open)" both denote an open 2DPOLYLINE.

Commands

Ribbon/Toolbar Icon Command Command Description

LCAD_Import

-Launch the import command by clicking the ribbon icon or typing "LCAD_Import" at the command line. -A dialog prompting the user to specify which CSV file to import will be displayed. -Double clicking the desired file or selecting it and clicking 'open' will import it.

LCAD_Export

-Launch the export command by clicking the ribbon icon or typing "LCAD_Export" at the command line.-User will be prompted to select the entities to be exported, at this time, typing "all" and hitting enter at the command line will select all entities in the current drawing.-A dialog box allowing the user to specify a file path and name will come up.-Click save to complete the export process.

Installation/Uninstallation

The installer that ran when you downloaded this plug-in from Autodesk App Store has already installed the plug-in. You may need to restart the Autodesk product to activate the plug-in. To uninstall this plug-in, click Control Panel > Programs > Programs and Features (Windows 7/8/8.1/10) or Control Panel > Add or Remove Programs (Windows XP), and uninstall as you would any other application from your system.

Additional Information

Known Issues

The current release of CADlog records whether an object is closed or open, the coordinates of the vertices that define that object, and some properties of the object. This means that when exporting/importing objects defined by complex vertices - for example, a 2DPOLYLINE with spline-fit vertices or arc vertices - these vertices will be replaced by less complicated straight line segments.

The next update, however, will add support for complex vertices by introducing multiple VERTEX tags (for example, VERTEX/VERTEX(spline)/VERTEX(curve-fit)/etc.

Contact

Company Name: LexmanCAD
Support Contact: devnull240@gmail.com

Author/Company Information

LexmanCAD

Support Information

Version History

Version Number Version Description

2.0

added 2018 support.

1.0

Initial Release:

- Runs on AutoCAD® 2015, 2014, 2013

- Supports: Light/Heavy polylines, 3Dpolylines, lines, points

Go top