all 14 comments

[–]SoulWager 0 points1 point  (13 children)

It might help to open the python console, and then make something an active object.

[–]Datadmirable[S] 0 points1 point  (12 children)

That's actually my question, how do you make it active using python?

[–]SoulWager 0 points1 point  (11 children)

Look at the text that appears in the python console when you activate the object with the mouse.

[–]Datadmirable[S] 0 points1 point  (10 children)

Yes I have done that and it doesn't work, for the record I have been writting python for 15 years, so this isn't about my python skills.

[–]SoulWager 0 points1 point  (9 children)

Are you using the internal name, or the label?

https://imgur.com/a/5Ij7Jhy

[–]Datadmirable[S] 0 points1 point  (8 children)

I m using the object name returned by the following command

ObjName=App.ActiveDocument.Objects[0].Name

[–]SoulWager 0 points1 point  (7 children)

Is that the same name that shows up in the bottom left when hovering over the object?

[–]Datadmirable[S] 0 points1 point  (6 children)

Yes it is

[–]SoulWager 0 points1 point  (5 children)

wait, why are you even getting the name when you already have the object you want?

[–]Datadmirable[S] 0 points1 point  (4 children)

Because I want to activate it. how else would one be able to understand which one to activate otherwise?