Robert Broussard
Usenet Archive
- Joined
- Dec 31, 2003
- Messages
- 1
- Reaction score
- 0
I cannot use dbconnect with MYSQL because I get an error.
So would like to call the Map 6 command "MAPATTACHDB" and pass it my UDL file from AutoLISP thus attaching the database to the current drawing.
I've tried: (command "MAPATTACHDB" "my_UDL_file.udl")
but this simply pops of the "Attach Data Source" window killing all automation.
I'd also like to generate links using AutoLISP by maybe writing a function that takes in an entity name and some identifier for a database record. I'm using MYSQL and ADOLISP (www.fleming-group.com) for database access.
Any suggestions are greatly appreciated,
Robert
So would like to call the Map 6 command "MAPATTACHDB" and pass it my UDL file from AutoLISP thus attaching the database to the current drawing.
I've tried: (command "MAPATTACHDB" "my_UDL_file.udl")
but this simply pops of the "Attach Data Source" window killing all automation.
I'd also like to generate links using AutoLISP by maybe writing a function that takes in an entity name and some identifier for a database record. I'm using MYSQL and ADOLISP (www.fleming-group.com) for database access.
Any suggestions are greatly appreciated,
Robert