Announcement

Collapse
No announcement yet.

Get source file and source path via python.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Get source file and source path via python.

    I am trying to get an assets 'Source File' property and the source path from static meshes. i.e. right click on asset 'Open Source Location '
    The best I can do is the get_tag_values and that is the original fbx and not latest and therefore does not match what is in the 'Souce File ' if more then one FBX has been used.

    #2
    If you're trying to get the Source File of an AnimSequence:

    Code:
    fbx_path = anim_sequence.get_editor_property("asset_import_data").get_first_filename()

    Comment

    Working...
    X