Hey all, we're planning to migrate servers around Monday, so there will be a bit of downtime :) I can be contacted at dion@thinkmoult.com for anything urgent.

Topologic for Dynamo question

Hello, everyone!
I wonder how to get edges from wire inside python script in dynamo.
I have tried such variants already in my function, which don't work.

Thank you!

Comments

  • I have this sort of thing:

    myedges = []
    mywire.Edges(None, myedges)
    
    DmytroZ21
  • @brunopostle said:
    I have this sort of thing:

    myedges = []
    mywire.Edges(None, myedges)
    

    Thank you.
    Unfortunately it didn't help me. I have same error: 'list' object is not callable. Not sure why, because my wire is single object and not list of wires.

  • There is a discord channel where you can ask Topologic questions, but I dont know how to link to it. @topologic ?

    DmytroZ21
  • @brunopostle Yes, I have tried to find a link, but they all were old. @topologic Could you, please, create a new link?

  • Hi. The link to the Discord channel is: https://discord.gg/BWp6GdAf
    Looking above it seems the object is a list not a wire. I know you said it is a wire but how about you confirm that? Print it out or return it at the moment before it is giving you trouble.

    DmytroZ21
  • @topologic
    Thank you!
    I have checked that it wasn't a list, but I decided to move my python script to designscript(code blocks) and everything works as it should.

    topologic
Sign In or Register to comment.