Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Get the parts name of a splitted 3D object

Hi everyone,

When we split a 3D object we get the same name with a number at the end of each splitted part. 
I would like to know if it's possible to get the original parts name of a splitted 3D object? This would be useful for me in order to be able to manipulate the parts with the API.


Attached Files Thumbnail(s)
Hi Yohan,

It is not possible to get the original file path from an object component, but you can get the parent item in the tree using something like this:
part_parent = part.Parent()
if part_parent == object:
   print("The part parent is the object")

Users browsing this thread:
1 Guest(s)