Author Topic: Display object's ID or name  (Read 2778 times)

March 06, 2018, 07:29:38 AM
Read 2778 times

hayabusa

  • Sr. Newbie

  • Offline
  • **

  • 4
Hi everybody,

I'm looking for a solution to easily display, directly on my document, the ID's, or the name, or another property, of all the objects to be able to recognise them easily.

Is there a simple way to do this?

Thanks a lot
  • 0.92
  • Windows 10

March 06, 2018, 04:51:12 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
No. But you can open the 'objects' dialog (Object > Objects) to see a list of the objects in your drawing, and to select them there, too. And when you select any object, you can find a description of it in the status bar at the bottom.

March 07, 2018, 01:02:16 PM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

It sounds like something that could be done with an extension, if you know about writing the right code, which I think is Python.

Meanwhile, I would agree about using the Objects dialog.  That should work for you....unless you need to open the image with a different program.  Like for example, you saved as PDF and opened with PDF reader, you wouldn't know which object is which there.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

March 09, 2018, 02:39:08 AM
Reply #3

hayabusa

  • Sr. Newbie

  • Offline
  • **

  • 4
Hi,

Thanks for your answers !
Unfortunatly i don't know Python ;-/
I would create an scaled implantation description for an exposition, with a lot of exposant. And be able to see the names directly on the plan to identify them easily.
I know that inkscape is not the best tool to do that, but i cannot find a free and easy to use one :-(

I will find another solution, thanks for your answer ...
  • 0.92
  • Windows 10

March 09, 2018, 05:39:29 PM
Reply #4

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Mmh. Are we talking about labels being added during editing, to make editing easier - or are you maybe looking for an option to label items in your drawing that can be displayed in the exposition?

March 10, 2018, 11:18:11 AM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
There's always the option to create specific labels, just using Text Tool, and perhaps an ellipse or rectangle - something like that.  But it sounds like you need something approaching automatic, to create them.

Again, an extension....or it wouldn't have to be an extension.  The only reason for making an extension would be so that other users can benefit.  But just for personal use, a script might work.  Or else Inkscape has commandline ability.  It seems like I've heard of using the commandline for something like this.

Although I'm a little lost with "implantation", "exposition", and "exposant".  So I might be going down the wrong road.  (well, I could give a definition for all 3 words, but not sure about a situation of using them all together) ("science" is as close as I can get, haha)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

March 10, 2018, 04:11:47 PM
Reply #6

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
I have a feeling that the user's native language is French. But I could be wrong. hayabusa, can you help us a bit?

March 10, 2018, 05:13:37 PM
Reply #7

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
(Yes, I was thinking perhaps a translation is slightly off with those words.  But the rest of the English seems perfect!  So I was leaning towards just some professional lingo.  We'll see :)  Perhaps Inkscape can be the solution, after all?)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

March 20, 2018, 04:48:38 AM
Reply #8

hayabusa

  • Sr. Newbie

  • Offline
  • **

  • 4
Hi,

Thank you to try to help me :-)
Indeed im a native french speaker.

The correct sentence should have been
"I would create an scaled site map for an exhibition, with a lot of exhibitors. And be able to see the names directly on the plan to identify them easily."

I never created a inkscape extension, and i'm afraid not to have the time now -(
  • 0.92
  • Windows 10

March 20, 2018, 07:35:11 AM
Reply #9

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Bonjour :)

The easiest way to do this would be to just type the text, then group that with the booths.
The second easiest way would be to use the booth boxes as flowed text frames.

Is there a reason why you cannot do it like this, by entering the names manually?

https://framadrive.org/s/Kp9J8WAbioH8jwt

March 20, 2018, 07:38:54 AM
Reply #10

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Hint: the 'magic' to access objects in a group is double-click on the group. To leave it, double-click on empty space.

March 20, 2018, 07:40:02 AM
Reply #11

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
(if you can make a drawing of the 'ideal' look, we'll be able to help more)

March 20, 2018, 09:00:14 AM
Reply #12

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Ooohh!  Now I understand much better, so now I don't think there's any need for a new extension.  I was  in a whole other world before, haha.

Now it sounds like you just need the Text tool, such as in Moini's examples.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

March 23, 2018, 03:03:38 AM
Reply #13

hayabusa

  • Sr. Newbie

  • Offline
  • **

  • 4
eh eh indeed it is a good simple solution ...

The problem with this solution is the size of the text : is has to be fitted to the size of the frame.
But all the frames on the map or really small compared to A4 or A3 format (and at the end it should be readable on a printed version^^ )

But I know than Inkscape is not the best tool to do that.

Last year I got a nice result (see below) but I cannot use that software anymore (licence problems)... and it was a boring software

Thank you for all your advices :D
  • 0.92
  • Windows 10

March 23, 2018, 07:14:51 AM
Reply #14

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
I feel a bit silly for asking this, sorry: have you found the settings for font size? You can adjust the sizes freely, and place your text wherever you want. What do I overlook?

Looks like a gardening fair to me - I'd love to visit :)

(goes and plants onions...)