Palette, Javascript and SQLite table ?

Palette, Javascript and SQLite table ?

Le_Bear
Collaborator Collaborator
204 Views
0 Replies
Message 1 of 1

Palette, Javascript and SQLite table ?

Le_Bear
Collaborator
Collaborator

This is more a conceptualisation question than directly a question about specific code.
It is my understanding (but please tell me if I am wrong) that Javascript cannot directly connect to a local SQLite database. But Python can. So it looks like, if I want to have CRUD operations on a database table from a palette, I would need to have the plugin doing the work and send data to the palette, for display. Obviously buttons on the palette would trigger plugin/python events.
I believe I should be able to do this, BUT I would like to hide the plugin, so that it would looks like everything is done through the palette. Is that possible ? Any other/better idea ?
If there is anything inaccurate in my assumptions above, please let me know !

Thank you, and best regards,

Bernard

Bernard Grosperrin

Autodesk Certified Instructor

FaceBook Group | Forum | YouTube

Group Network Leader
 
0 Likes
205 Views
0 Replies
Replies (0)