How to add URI to select the path of the file in python API?

Forum Forums Visual Components 4.1 General Product Questions How to add URI to select the path of the file in python API?

Tagged: ,

This topic contains 0 replies, has 1 voice, and was last updated by Jerry Jerry 4 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #14464
    Jerry
    Jerry
    Participant

    Hi,

    I want to select the file and get the path of this file. So I add the URI in my add-on,  as follow picture.

    But this VC_URI type can’t select the file. This kind of VC type only can select the document. The following is my python code.

    After that, I found that there are only ten kinds of type in python API. I’m curious about these are all of the types? or it still have the other type that I have not find. Can someone teach me how to select the file and my curious? Thank you!!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.