How do you get from a shape to a graph segment?

775
1
08-13-2012 02:26 PM
RobertHexter
New Contributor III
How do you get from a shape to a graph segment when working with roads in python?

It would appear that you can only get to graphSegments from layers? is this correct...

the reason I ask is because the seemingly obvious does not appear to work for me I select a streetShape and :

segment = ce.getObjectsFrom(ce.selection(), ce.isGraphSegment)

and I get an empty list back?
Tags (3)
0 Kudos
1 Reply
MatthiasBuehler1
Frequent Contributor
hi !

I'd also try to go over the UUID. just strip off the :x at the end.

did not try this though.

what I've seen is that in the Navigator, the Information tab is missing for graph segments, that's a bug. I've forwarded it.
0 Kudos