Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
TinyPortal
IC Gallery
IC Tutorials
Search
Calendar
Contact
Articles
Login
Register
Inkscape Community
»
Forum
»
Help Using Inkscape
»
Beyond the Basics
»
How i can get list of all objects in document in python extension?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How i can get list of all objects in document in python extension? (Read 350 times)
July 10, 2019, 09:27:13 PM
Read 350 times
ksv82
Sr. Newbie
Offline
2
How i can get list of all objects in document in python extension?
I want to find all the objects that the line crosses. But I do not want to select all the objects on the page. Maybe there is some way to get a list of objects without selecting?
«
Last Edit: July 11, 2019, 12:30:42 AM by ksv82
»
Logged
0.92
win7
July 11, 2019, 09:39:47 AM
Reply #1
Moini
IC Mentor
Offline
1,568
Re: How i can get list of all objects in document in python extension?
Object > Objects
Or use Alt+Left Mouse Drag to touch select objects. (i.e. hold the mouse button and the Alt key down and draw a line to select every object that line touches).
Logged
July 12, 2019, 12:40:01 AM
Reply #2
brynn
Administrator
Offline
3,941
Gender
Female
Re: How i can get list of all objects in document in python extension?
If the objects have anything in common, besides touching a particular path, you could use Edit menu > Select Same, or Edit menu > Find.
If you'd like to share the file, it might help us find a solution.
I think there's an extension that will write all the objects in the file, in some kind of text file. But not one that can identify all the objects which touch a particular path or object. At least not that I know of.
Edit
This isn't the one I was thinking of, but possibly could help?
https://github.com/larscwallin/ExtractElements
This is the one I was thinking of:
https://github.com/tbekolay/csv_output
or
http://www.bekolay.org/
Logged
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
July 15, 2019, 01:29:37 AM
Reply #3
ksv82
Sr. Newbie
Offline
2
Re: How i can get list of all objects in document in python extension?
brynn, thank you very match!!
This extention is exactly what I need!
It contains a walk through the layers, through the objects, getting the points of the paths. All I need to solve the problem.
Quote from: brynn on July 12, 2019, 12:40:01 AM
https://github.com/tbekolay/csv_output
«
Last Edit: July 15, 2019, 04:45:18 AM by ksv82
»
Logged
0.92
win7
July 15, 2019, 06:26:10 PM
Reply #4
brynn
Administrator
Offline
3,941
Gender
Female
Re: How i can get list of all objects in document in python extension?
I'm glad we could find what you needed!
You're welcome
Logged
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
Print
Pages: [
1
]
Go Up
« previous
next »
Inkscape Community
»
Forum
»
Help Using Inkscape
»
Beyond the Basics
»
How i can get list of all objects in document in python extension?