What does DATALINK do?
DATALINK opens the Data Link Manager, where you can create and manage links between a GstarCAD drawing and external Excel spreadsheet data. A data link can then be used when inserting a TABLE, allowing spreadsheet information to appear as a structured CAD table instead of being copied manually into individual cells.
How to use the command
- Type
DATALINKor its shortcut DL, then press Enter. - In the Data Link Manager, choose Create a New Excel Data Link.
- Enter a descriptive name for the new link.
- Browse to the required Excel workbook.
- Select the required worksheet and define whether the complete sheet or a specific cell range should be linked.
- Confirm the settings to create the data link.
- Run
TABLEand choose the data-link insertion option to place the linked spreadsheet data in the drawing.
Command: DL ↵
Data Link Manager: Create a New Excel Data Link
Data link name: DOOR_SCHEDULE
Excel file: DoorSchedule.xlsx
Worksheet or range: select required data
Action: OK
Key DATALINK functions
Practical example: link an Excel door schedule
Suppose project information is maintained in DoorSchedule.xlsx. Start DATALINK, create a link named DOOR_SCHEDULE and select the worksheet containing the required door data. Define the required cell range and save the link. Next, run TABLE and insert a table from the new data link. If the spreadsheet changes later, use DATALINKUPDATE to update the linked drawing data.
Tip
DATALINK creates and manages the connection; it does not by itself place the spreadsheet as a table. Use TABLE to insert the linked data and DATALINKUPDATE to synchronise later changes.