Block references to/ from Excel® worksheet packageWin64, English
General Usage Instructions
A. The procedures of block creation, in brief, can be divided into 4-7 steps:
- Define a block (with or without attributes) then run this App;
- Pre-selected data range (rows & columns) in Excel worksheet. Press "Activate Excel" to find out which instance is linked (usually the last open worksheet);
- Select a block name or an Excel column that contains multi-block names;
- Select macro mode (A) and match block refs. positioning parameters with Excel columns (B);
- (Optional) Match attributes with Excel columns (C);
- (Optional) Match dynamic properties with Excel columns (D);
- Click "Insert block references" to see the results.
- (Optional) Clone field attributes from source block references to other block references
B. The procedures of block references properties extraction:
- Start by opening an Excel worksheet, (Active drawing processing option only: remember to reserve 1 blank column at the active cell (values will be written downward)).
- Press Alt+Tab to return to Autodesk® AutoCAD® or its vertical products, and invoke the NTCL_BlockToExcel command. The user form will appear.
- For the Active drawing processing option, on the user form, open a drawing.
- For the Multi files processing option, load the drawing list from folder/ from files/ from Excel files .... to the table. Check the option: Single worksheet if the user wants all exporting results from different drawings combined in one worksheet.
- Select macro mode: 1 (Cad Block info => Excel worksheet) or 2 (Excel info => Cad Block update). Select additional options (block name, where to get block refs from, which information to export, and import). Mode 1 should run before Mode 2 unless you saved and re-use the results of Mode 1 before.
- If you select mode 1, the block information will be exported to Excel. For the first export action, blank columns will be automatically added to the right side of the active cell
- If you select mode 2, the block information will be imported from Excel. For the Active drawing processing option: Be sure to pre-select the data range in Excel first. The selected range must include a header row & a handle column. For the Multi files processing option: Be sure you have to write permission for drawings in List.
- If you have multiple Excel instances already open, this App may tie to the last activated Excel instance but sometimes it does not. In such a case, please close all opening Excel instances; close (end task) any invisible Excel.exe process by Task manager, and re-open only one Excel instance.
C. Batch inquiry Station, Offset / Northing, Easting values from alignment
- Start by opening an Excel worksheet, fill in then pre-select a range of 2 input columns of (Station + Offset) or (Northing, Easting) values.
- Press Alt+Tab to return to Autodesk® Civil 3D®, and invoke the NTCL_SONE command. A user form will appear.
- On the user form, select your existing alignment then Select macro mode: 1 (Station, offset to Northing, Easting) or 2 (Station, offset to Northing, Easting). Click the button SO=>NE or NE=>SO based on your desire. The results will be written in the next 2 columns in Excel.
|Ribbon/Toolbar Icon||Command||Command Description|
Batch creates new AutoCAD block references from Excel worksheet data.
Info of block references can be batch exported to/re-imported from the Excel worksheet. Info including position (X, Y, Z, rotation), attributes, and dynamic properties. Multi-file processing is supported.
(Command is available only in Civil 3D) Batch inquiry & export Civil 3D alignment Station, Offset/ Northing, Easting to Excel worksheet, based on pre-selected cells value.
Reverse direction of a selected polyline (2D, 3D, and Lightweight polyline types are supported).
The installer that ran when you downloaded this app/plug-in from Autodesk App Store will start installing the app/plug-in. OR, simply double-click the downloaded installer to install the app/plugin. You may need to restart the Autodesk product to activate the app/plug-in. To uninstall this plug-in, exit the Autodesk product if you are currently running it, simply rerun the installer, and select the "Uninstall" button. OR, click Control Panel > Programs > Programs and Features (Windows 7/8.1/10/11) and uninstall as you would any other application from your system.
- If no Excel worksheet is opened before, this app will try to open a blank worksheet. Your input must be copied to this blank worksheet. In case you want to use input values from an existing worksheet, just close the app and the blank worksheet, and pre-open the existing worksheet before running this app.
- This app only works with desktop versions of Excel. In case multiple Excel versions are installed, this app may work with the default version.
- Users can terminate the app during the Excel interaction process by pressing the ESC key within the App dialog. ESC key cannot terminate the app if the key-pressed action occurs in the Excel interface.
- The single App version can still work with Paid package App. Please manually uninstall a single App version if necessary.
- App launched from a virtual machine will limit some features. Users will get a message if this App is launched from a virtual machine.
In some cases, this app cannot connect Excel® in Microsoft® 365 (Office® 365). The NTCL Error message: "Cannot open Microsoft® Excel®" appears right after the app is called.
This error can be fixed by running "Quick repair" on Microsoft® 365 (Office® 365). For more information, please refer to: https://www.NTCLSoft.com/home/troubleshooting
For questions/comments/suggestions/bug reports etc please send an email to NTCLApp1@gmail.com
For more information about the license, please visit: https://www.ntclsoft.com/home/license-registration-guide
|Version Number||Version Description|
|Bugs fixed: (a) Batch export/import block info to/from worksheet sub-App: - Fix a bug where Multiline attribute text is incorrectly exported/ imported; - Fix a bug when a block has both multi visibility state & Lookup table, new visibility state value may not be applied; - Fix a bug when block instances of different drawing have same Handle and same name, new dynamic properties' values may be wrongly set from second block instance; - Dynamic Block instances that have constraint geometry may display incorrectly after importing new values from Excel *** Improvements: (a) Batch export/import block info to/from worksheet sub-App: - Drawing table column widths, check box status, block source are saved on exit and restored on the next App open - Export mode: Add an option to hide attributes of which "Invisible" property is set to False. This option does not apply to multi-visibility-state dynamic block. - Export mode: Add an option to hide dynamic block's custom (dynamic) properties of which "Show" property is set to No. This option does not apply to multi-visibility-state dynamic block. - Export mode: Dynamic property with a list of allowed values will show its list in the column header cell's comment; - Import mode: Support Block properties table (optional) - Import mode: Support Lookup table (optional)|
|Bugs fixed: (a) Batch export/import block info to/from worksheet sub-App: - Multi-file processing option cannot export data to Excel if Excel is in edit mode - Unexpected exporting result in single sheet mode if 3 or more different blocks with different field (attribute, dynamic property) names are exported - Unexpected exporting result when the first block has more fields than the second block - App won't work if Excel is closed after App is opened - Wrong number of Block refs. processed when importing - "Load Active Workbook" button discards unsaved content of the opening workbook which was saved to disk before - Esc key cannot terminate export/ import action, user click yes then the action still continues - When imported from Excel, dynamic block references of the second drawing onwards are reset or got wrong dynamic properties - Reload last state button does not work properly - Single file processing mode does not filter block references properly - Attribute values are sometimes changed accidentally because of Excel auto-format. - Confused license status report when signing-in to parent application & running App without an offline license file. Improvements: (a) Batch export/import block info to/from worksheet sub-App: - Add an option "Uni Header": Combine all fields of all blocks from all drawings into a unique header row (nearly the same as the Data Extraction command result) - Allow user to export data from multi-block per one drawing - Better support Multi visibility state dynamic block: invisible attributes in a specific state won't be exported or imported. - Mtext attribute now export value without format code - Add 2 commands: Load and Save configuration to the context menu which appears when right click inside tables - Allow user to set value for some selected cells in Block name or Source column (Ctrl+Click to select cells, Right click in the last selected cell) - App starts with Multi file processing mode (b) Batch attribute block ref. creation from worksheet sub-App - Mode 2 Batch creating block references at coordinates: Z coordinate can be retrieved from the Excel column|
|Bugs fixed: (a) Batch export/import block info to/from worksheet sub-App: - Parent application crashes when run in Multi-file processing mode without an opening drawing. - Attributes do not move/ rotate properly together with block references; - Dynamic properties do not export in some cases; (b) Batch attribute block ref. creation from worksheet sub-App - Fix the bugs when merged cells appear in the Excel selection range, only the upper left cell of the merged area has value; Improvements: (a) Batch export/import block info to/from worksheet sub-App: - Add an option "Single worksheet" for Multi-file processing mode to combine all drawing files and export results in one worksheet. Best fit for single sheet drawings title block; (b) Batch attribute block ref. creation from worksheet sub-App - Add an option for creating Dynamic block references with up to 12 Dynamic properties read from Excel columns; - Add an option for cloning fields from an existing field attribute block reference to other block references; - Users can now create different block types in one click. Block names are also retrieved from an Excel Column; - Add a button to delete block references, filtered by block name; - Add an option to create multi-block references by X, and Y coordinates, through all Layouts (except Model space); - Add an option to declare a universal block scale before creation; - Add an option to show External reference in the block name drop-down list;|
|The initial App package combines the latest single Apps with enhanced features enabled. Bugs fixed: - Extremely slow processing speed if the user selects the entire column(s) in Excel as input data. Improvements: - Users can now terminate the app during the Excel interaction process by pressing the ESC key. - Users no longer need to check the first active AutoCAD/ AutoCAD verticals instance of any versions.|