Login  Register

Use of the object list

Posted by jportemer on Mar 21, 2013; 6:47pm
URL: https://forum.librecad.org/Use-of-the-object-list-tp5707754.html

Hi everybody !
I am currently developing a tool on LibreCAD using objects which are already drawn.
To do that, I need to specify the ID of the object I need to work with (which is given by tool "list entities").
I have several maters about it, from easiest to hardest...

-Is it possible to select an object using its ID on the command prompt ?
-With what function/method can I pick up the ID of an object or ask for an object by its ID ?
-Is it possible to give a name to an object ? (building a kind of database which would make a link ID <-> name)

Thanks for your help.