papsphilip 9 Posted September 20, 2021 i am using python to create a file SOP assign a path and import a bgeo file. After that i am creating some more nodes in my graph and i need a primitive name attribute from that bgeo. From primitive 0 prim = filenode.prim(0) #get first primitive of node filenode name = prim.attribValue("name") #get primitive attribute name This throws an error ----> AttributeError: 'SopNode' object has no attribute 'prim' Is it possible to read the attribute? Share this post Link to post Share on other sites
papsphilip 9 Posted September 27, 2021 the answer was this after i create my file sop and read from disk prim = filenode.geometry().prim(0) name = prim.attribValue('name') Share this post Link to post Share on other sites